From: twittner Date: Thu, 29 Dec 2005 16:59:48 +0000 (+0000) Subject: - replace R: ruby-modules with %%ruby_mod_ver_requires_eq macro X-Git-Tag: auto/th/ruby-wxruby2-0_3_0-0_20051218_0_2~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fruby-wxruby2.git;a=commitdiff_plain;h=99ff36f469ae9215565b659ad4f14ed7ef5f4960 - 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: ruby-wxruby2.spec -> 1.5 --- diff --git a/ruby-wxruby2.spec b/ruby-wxruby2.spec index 409f5af..4c9231f 100644 --- a/ruby-wxruby2.spec +++ b/ruby-wxruby2.spec @@ -16,9 +16,11 @@ Source0: http://twittner.host.sk/files/wxruby2/%{_pnam}-%{version}-cvs-%{_cvs}.t Patch1: %{name}-wx-config.patch Patch2: %{name}-FLAGS.patch URL: http://wxruby.rubyforge.org/ +BuildRequires: rpmbuild(macros) >= 1.277 BuildRequires: rake BuildRequires: ruby-devel BuildRequires: wxWidgets-devel >= 2.6.2 +%ruby_mod_ver_requires_eq BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description