SOURCES: macros.ruby - add %ruby_ver_requires_eq and ruby_ver_mod_...

twittner twittner at pld-linux.org
Thu Dec 29 17:37:38 CET 2005


Author: twittner                     Date: Thu Dec 29 16:37:38 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add %ruby_ver_requires_eq and ruby_ver_mod_requires_eq macros

---- Files affected:
SOURCES:
   macros.ruby (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/macros.ruby
diff -u SOURCES/macros.ruby:1.3 SOURCES/macros.ruby:1.4
--- SOURCES/macros.ruby:1.3	Sun Feb 27 08:38:42 2005
+++ SOURCES/macros.ruby	Thu Dec 29 17:37:33 2005
@@ -4,3 +4,5 @@
 %define ruby_version	%(ruby -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
 %define rdoc	rdoc --inline-source --op rdoc --title '%{name}-%{version}'
 %define build_ri 		rdoc --ri --op ri
+%define ruby_ver_requires_eq   Requires:   ruby(ver) = %{ruby_ver}
+%define ruby_mod_ver_requires_eq   Requires:   ruby-modules(ver) = %{ruby_ver}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/macros.ruby?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list