From: František Dvořák Date: Tue, 22 Jan 2013 16:24:46 +0000 (+0000) Subject: Fix spec macros, build canl-c documentation on Fedora 18. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cb288e6d6481989a0d2e9323079e6e9fda46a081;p=jra1mw.git Fix spec macros, build canl-c documentation on Fedora 18. --- 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