From cb288e6d6481989a0d2e9323079e6e9fda46a081 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 22 Jan 2013 16:24:46 +0000 Subject: [PATCH] Fix spec macros, build canl-c documentation on Fedora 18. --- emi.canl.canl-c/project/canl-c.spec | 4 ++-- org.glite.lb.doc/project/glite-lb-doc.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emi.canl.canl-c/project/canl-c.spec b/emi.canl.canl-c/project/canl-c.spec index d57508f..ae1615c 100644 --- a/emi.canl.canl-c/project/canl-c.spec +++ b/emi.canl.canl-c/project/canl-c.spec @@ -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) diff --git a/org.glite.lb.doc/project/glite-lb-doc.spec b/org.glite.lb.doc/project/glite-lb-doc.spec index 6dcb5d1..cfbd12c 100644 --- a/org.glite.lb.doc/project/glite-lb-doc.spec +++ b/org.glite.lb.doc/project/glite-lb-doc.spec @@ -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 -- 1.8.2.3