]> git.pld-linux.org Git - packages/swig.git/commitdiff
- replace R: ruby-modules with %%ruby_mod_ver_requires_eq macro
authortwittner <twittner@pld-linux.org>
Thu, 29 Dec 2005 16:59:48 +0000 (16:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  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:
    swig.spec -> 1.70

swig.spec

index ffc211750eaa3f43ee49299e74ffedad7c3a6642..af31094907657594ba8f3bf45f9acf92875f627a 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -33,7 +33,11 @@ BuildRequires:       libtool
 %{?with_php:BuildRequires:     php-devel >= 4.1.0}
 %{?with_php:BuildRequires:     php-cli}
 BuildRequires: python-devel >= 1:2.3.2
-%{?with_ruby:BuildRequires:    ruby-devel >= 1:1.6.3}
+%if %{with ruby}
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: ruby-devel >= 1:1.6.3
+%ruby_mod_ver_requires_eq
+%endif
 %{?with_tcl:BuildRequires:     tcl-devel >= 8.3.3}
 Obsoletes:     swig-ocaml
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This page took 0.085691 seconds and 4 git commands to generate.