]> git.pld-linux.org Git - packages/swig.git/commitdiff
- change %%ruby_mod_ver_requires_eq to %%{?ruby_mod_ver_requires_eq} -
authortwittner <twittner@pld-linux.org>
Sat, 31 Dec 2005 10:36:33 +0000 (10:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  expand this macro only if defined to avoid parse error when appropriate
  BRs is not installed yet (solution provided by glen)

Changed files:
    swig.spec -> 1.71

swig.spec

index af31094907657594ba8f3bf45f9acf92875f627a..b770516c4e705dde87f89ae49830ff151f98db09 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -36,7 +36,7 @@ BuildRequires:        python-devel >= 1:2.3.2
 %if %{with ruby}
 BuildRequires: rpmbuild(macros) >= 1.277
 BuildRequires: ruby-devel >= 1:1.6.3
-%ruby_mod_ver_requires_eq
+%{?ruby_mod_ver_requires_eq}
 %endif
 %{?with_tcl:BuildRequires:     tcl-devel >= 8.3.3}
 Obsoletes:     swig-ocaml
This page took 0.030428 seconds and 4 git commands to generate.