diff --git a/rubygem-rack.spec b/rubygem-rack.spec index f6b4b91..49f1a62 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -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 - 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 - 1:1.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild