conditionalize patch for bleeding edge autoconf

This commit is contained in:
Tom Callaway 2013-11-05 13:05:27 -05:00
parent f83a788829
commit c706075c2f

View File

@ -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