mdomsch pushed to libspf2 (el5). "don't build apidocs, add missing percent sign"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 20:37:42 UTC 2015


>From 729b9b4a6e980ee8ea394666fcd6cbdbb32cd75d Mon Sep 17 00:00:00 2001
From: Matt Domsch <matt at domsch.com>
Date: Mon, 13 Apr 2015 15:37:11 -0500
Subject: don't build apidocs, add missing percent sign


diff --git a/libspf2.spec b/libspf2.spec
index 1cf1055..5d67c4a 100644
--- a/libspf2.spec
+++ b/libspf2.spec
@@ -12,7 +12,8 @@
 %global compat 0
 
 # graphviz needed to build API docs, only available from Fedora 3, RHEL 4
-%if 0%{?fedora} >= 3 || 0%{?rhel} >= 4
+# but rhel5 can't build PNGs, so don't bother there either
+%if 0%{?fedora} >= 3 || 0%{?rhel} >= 6
 %global build_apidocs 1
 %else
 %global build_apidocs 0
@@ -176,7 +177,7 @@ export ac_cv_func___ns_get16
 %endif
 
 %install
-{__rm} -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 %{__make} \
 	DESTDIR=%{buildroot} \
 	PERL_INSTALL_ROOT=$(%{__grep} DESTDIR perl/Makefile &> /dev/null && echo "" || echo %{buildroot}) \
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libspf2.git/commit/?h=el5&id=729b9b4a6e980ee8ea394666fcd6cbdbb32cd75d


More information about the scm-commits mailing list