From c706075c2f966c20dfbf8a9285969f0afaf78a16 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 5 Nov 2013 13:05:27 -0500 Subject: [PATCH] conditionalize patch for bleeding edge autoconf --- check.spec | 5 +++++ 1 file changed, 5 insertions(+) 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