Rely on autorequires and autoprovides.

epel9
Steve Traylen 10 years ago
parent bd8ff02f04
commit 354b1c42fb

@ -22,8 +22,10 @@ Group: Development/Languages
License: MIT and (Ruby or BSD)
URL: http://rubyforge.org/projects/%{gem_name}/
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
Requires: ruby(rubygems)
Requires: ruby(release)
%endif
BuildRequires: ruby
BuildRequires: rubygems-devel
%if 0%{?enable_checks}
@ -38,7 +40,9 @@ BuildRequires: rubygem(thin)
# if it will ever be.
# BuildRequires: lighttpd-fastcgi
BuildArch: noarch
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
Provides: rubygem(%{gem_name}) = %{version}
%endif
Provides: bundled(okjson) = 20130206
%description
@ -122,6 +126,7 @@ popd
%changelog
* Thu Sep 25 2014 Steve Traylen <steve.traylen@cern.ch> - 1:1.5.2-4
- Add enable_check flag and disable check for .el7.
- Rely on autorequires and autoprovides.
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Loading…
Cancel
Save