Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.9
rubygem-git-cop
rubygem-git-cop.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-git-cop.spec of Package rubygem-git-cop
# Generated from git-cop-2.3.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name git-cop Name: rubygem-%{gem_name} Version: 1.7.1 Release: 1%{?dist} Summary: Enforces consistent Git commits License: Apache-2.0 URL: https://github.com/bkuhlmann/git-cop Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.5 BuildRequires: ruby < 3 # BuildRequires: (rubygem(bundler-audit) >= 0.6 with rubygem(bundler-audit) < 1) # BuildRequires: rubygem(climate_control) = 0.2 # BuildRequires: (rubygem(codeclimate-test-reporter) >= 1.0 with rubygem(codeclimate-test-reporter) < 2) # BuildRequires: (rubygem(gemsmith) >= 10.4 with rubygem(gemsmith) < 11) # BuildRequires: (rubygem(guard-rspec) >= 4.7 with rubygem(guard-rspec) < 5) # BuildRequires: (rubygem(pry) >= 0.10 with rubygem(pry) < 1) # BuildRequires: (rubygem(pry-byebug) >= 3.5 with rubygem(pry-byebug) < 4) # BuildRequires: (rubygem(rake) >= 12.3 with rubygem(rake) < 13) # BuildRequires: (rubygem(reek) >= 4.7 with rubygem(reek) < 5) # BuildRequires: (rubygem(rspec) >= 3.7 with rubygem(rspec) < 4) # BuildRequires: (rubygem(rubocop) >= 0.51 with rubygem(rubocop) < 1) BuildArch: noarch %description Enforces consistent Git commits. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.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 -pa .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %{_bindir}/git-cop %license %{gem_instdir}/LICENSE.md %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor