twittner [Sat, 31 Dec 2005 10:36:32 +0000 (10:36 +0000)]
- change %%ruby_mod_ver_requires_eq to %%{?ruby_mod_ver_requires_eq} -
expand this macro only if defined to avoid parse error when appropriate
BRs is not installed yet (solution provided by glen)
twittner [Thu, 29 Dec 2005 16:59:47 +0000 (16:59 +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