conditionalize patch for bleeding edge autoconf
This commit is contained in:
parent
f83a788829
commit
c706075c2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user