Fix spec macros, build canl-c documentation on Fedora 18.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 22 Jan 2013 16:24:46 +0000 (16:24 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 23 Jan 2013 07:31:02 +0000 (08:31 +0100)
emi.canl.canl-c/project/canl-c.spec
org.glite.lb.doc/project/glite-lb-doc.spec

index d57508f..ae1615c 100644 (file)
@@ -17,12 +17,12 @@ BuildRequires:  krb5-devel%{?_isa}
 BuildRequires:  libtool
 BuildRequires:  openssl-devel%{?_isa}
 BuildRequires:  pkgconfig
-%if %{?fedora}%{!?fedora:0} >= 9 || %{?rhel}%{!?rhel:0} >= 6
+%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
 BuildRequires:  tex(latex)
 %else
 BuildRequires:  tetex-latex
 %endif
-%if %{?fedora}%{!?fedora:0} >= 19
+%if 0%{?fedora} >= 18
 BuildRequires:  tex(comment.sty)
 BuildRequires:  tex(lastpage.sty)
 BuildRequires:  tex(multirow.sty)
index 6dcb5d1..cfbd12c 100644 (file)
@@ -11,7 +11,7 @@ Source:         http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lb.doc
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildArch:      noarch
-%if %{?fedora}%{!?fedora:0} >= 9 || %{?rhel}%{!?rhel:0} >= 6
+%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
 BuildRequires:  tex(latex)
 %else
 BuildRequires:  tetex-latex