summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-18 09:55:41 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-18 09:55:41 +0000
commit1b19a848605a08154d818afe4aa60524f5cbc19c (patch)
tree6df956bef626610a72046e37188e900914ca50c1
parent07a0152907d6483974590546e40050f7a4ccd6f1 (diff)
automatic import of rubygem-blinkbox-rubocopHEADmasterf36
-rw-r--r--.gitignore1
-rw-r--r--rubygem-blinkbox-rubocop.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d763eed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/blinkbox-rubocop-0.0.0.gem
diff --git a/rubygem-blinkbox-rubocop.spec b/rubygem-blinkbox-rubocop.spec
new file mode 100644
index 0000000..92b64a0
--- /dev/null
+++ b/rubygem-blinkbox-rubocop.spec
@@ -0,0 +1,77 @@
+# Generated from blinkbox-rubocop-0.0.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name blinkbox-rubocop
+
+Name: rubygem-%{gem_name}
+Version: 0.0.0
+Release: 1%{?dist}
+Summary: Blinkbox wrappers and guff for Rubocop
+License: MIT
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+Automagic management of Rubocop config, custom cops, and execution.
+
+
+%package doc
+Summary: Documentation for %{name}
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build ../%{gem_name}-%{version}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{_bindir}/* \
+ %{buildroot}%{_bindir}/
+
+find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
+
+%check
+pushd .%{gem_instdir}
+# Run the test suite.
+popd
+
+%files
+%dir %{gem_instdir}
+%{_bindir}/bbrubocop
+%exclude %{gem_instdir}/.gitignore
+%exclude %{gem_instdir}/.travis.yml
+%license %{gem_instdir}/LICENSE
+%{gem_instdir}/VERSION
+%{gem_instdir}/bin
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.md
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/blinkbox-rubocop.gemspec
+
+%changelog
+* Mon Apr 18 2022 mockbuilder - 0.0.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..2cb43aa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+17d4282db984e36cf2442bbe5b97a248 blinkbox-rubocop-0.0.0.gem