[gnuplot] fixed invalid rpm conditionals

pschiffe pschiffe at fedoraproject.org
Wed Jan 18 16:11:22 UTC 2012


commit d3e8e148ec928689171095a27e715c7ffd76b944
Author: Peter Schiffer <pschiffe at redhat.com>
Date:   Wed Jan 18 17:10:44 2012 +0100

    fixed invalid rpm conditionals

 gnuplot.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnuplot.spec b/gnuplot.spec
index 0f95419..2d8fafd 100644
--- a/gnuplot.spec
+++ b/gnuplot.spec
@@ -23,7 +23,7 @@ BuildRequires: libpng-devel, tex(latex), zlib-devel, libX11-devel, emacs
 BuildRequires: texinfo, readline-devel, libXt-devel, gd-devel, latex2html
 BuildRequires: librsvg2, giflib-devel, libotf, m17n-lib-flt, lua-devel
 BuildRequires: pango-devel, cairo-devel, texlive-texmf-latex
-%if %{!?rhel:1}
+%if !0%{?rhel:1}
 BuildRequires: wxGTK-devel
 %endif
 Requires: %{name}-common = %{version}-%{release}
@@ -144,7 +144,7 @@ mv src/gnuplot src/gnuplot-minimal
 # clean all settings
 make clean
 # create full version of gnuplot
-%if %{!?rhel:1}
+%if !0%{?rhel:1}
 # Fedora
 %configure --with-readline=gnu --with-png --without-linux-vga \
  --enable-history-file


More information about the scm-commits mailing list