[packages/ruby-rake/rake: 22/38] - replace R: ruby-modules with %%ruby_mod_ver_requires_eq macro defined as `Requires: ruby-modules

draenog draenog at pld-linux.org
Sat Apr 20 22:56:42 CEST 2013


commit 2bb0fadcb52672d4c5f23d2d60042a681682d0fb
Author: twittner <twittner at pld-linux.org>
Date:   Thu Dec 29 16:59:47 2005 +0000

    - replace R: ruby-modules with %%ruby_mod_ver_requires_eq macro
      defined as `Requires: ruby-modules(ver) = 1.8' where `1.8' is
      major ruby version taken from rbconfig
    - add BR: rpmbuild(macros) >= 1.277 with aforementioned macros
    
    Changed files:
        rake.spec -> 1.19

 rake.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rake.spec b/rake.spec
index 044f614..8abe470 100644
--- a/rake.spec
+++ b/rake.spec
@@ -9,9 +9,9 @@ Source0:	http://rubyforge.org/download.php/6357/%{name}-%{version}.tgz
 # Source0-md5:	9813cf922ef8fc08b96f880faf883e5e
 Patch0:		%{name}-libdir.patch
 URL:		http://rake.rubyforge.org/
-BuildRequires:	rpmbuild(macros) >= 1.272
+BuildRequires:	rpmbuild(macros) >= 1.277
 #BuildRequires:	ruby-modules
-Requires:	ruby-modules
+%ruby_mod_ver_requires_eq
 #BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rake.git/commitdiff/ab6d3f97518796fdd25b7079e26dbbab9d128518



More information about the pld-cvs-commit mailing list