[check] conditionalize patch for bleeding edge autoconf
Tom Callaway
spot at fedoraproject.org
Tue Nov 5 18:05:25 UTC 2013
commit c706075c2f966c20dfbf8a9285969f0afaf78a16
Author: Tom Callaway <spot at fedoraproject.org>
Date: Tue Nov 5 13:05:27 2013 -0500
conditionalize patch for bleeding edge autoconf
check.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/check.spec b/check.spec
index 23457ea..d98d958 100644
--- a/check.spec
+++ b/check.spec
@@ -6,6 +6,8 @@ Source0: http://downloads.sourceforge.net/check/%{name}-%{version}.tar.gz
Group: Development/Tools
License: LGPLv2+
URL: http://check.sourceforge.net/
+# Only needed for autotools in Fedora 21+
+Patch0: check-0.9.11-info-in-builddir.patch
BuildRequires: pkgconfig, libtool, autoconf, automake
Requires(post): info
Requires(preun): info
@@ -45,6 +47,9 @@ programs suitable for use with the Check unit test framework.
%prep
%setup -q
+%if 0%{?fedora} >= 21
+%patch0 -p1 -b .info-in-builddir
+%endif
autoreconf -ivf
# Fix detection of various time-related function declarations
More information about the scm-commits
mailing list