[canl-c] Simplify macros (for fedpkg build).

František Dvořák valtri at fedoraproject.org
Tue Jan 22 15:56:42 UTC 2013


commit 264db4b0d4e31e811571bef4ea58fa413daa3cca
Author: František Dvořák <valtri at civ.zcu.cz>
Date:   Tue Jan 22 16:56:35 2013 +0100

    Simplify macros (for fedpkg build).

 canl-c.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/canl-c.spec b/canl-c.spec
index 3c99058..e0fd9d0 100644
--- a/canl-c.spec
+++ b/canl-c.spec
@@ -14,12 +14,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} >= 18
+%if 0%{?fedora} >= 18
 BuildRequires:  tex(comment.sty)
 BuildRequires:  tex(lastpage.sty)
 BuildRequires:  tex(multirow.sty)
@@ -94,5 +94,5 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \;
 
 
 %changelog
-* Wed Jan 16 2013 František Dvořák <valtri at civ.zcu.cz> - 2.0.3-1
+* Wed Jan 22 2013 František Dvořák <valtri at civ.zcu.cz> - 2.0.3-1
 - Initial package


More information about the scm-commits mailing list