[libguess] Add conditionals for EL builds (#1036386).
Michael Schwendt
mschwendt at fedoraproject.org
Mon Dec 2 02:52:31 UTC 2013
commit ea618e59ac9dbb4faac1de603f90a9cdff84ad31
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Mon Dec 2 03:52:24 2013 +0100
Add conditionals for EL builds (#1036386).
libguess.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/libguess.spec b/libguess.spec
index 99dd3cf..558b4c6 100644
--- a/libguess.spec
+++ b/libguess.spec
@@ -1,6 +1,6 @@
Name: libguess
Version: 1.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: High-speed character set detection library
Group: System Environment/Libraries
@@ -14,7 +14,9 @@ Patch0: libguess-1.1-m4-dir.patch
BuildRequires: pkgconfig
BuildRequires: libmowgli-devel >= 0.9.50
+%if 0%{?fedora} || 0%{?rhel} > 6
BuildRequires: autoconf libtool
+%endif
%description
libguess employs discrete-finite automata to deduce the character set of
@@ -39,9 +41,11 @@ software that uses %{name}.
%prep
%setup -q
+%if 0%{?fedora} || 0%{?rhel} > 6
%patch0 -p1 -b .no-m4-dir
# https://bugzilla.redhat.com/925758
autoreconf -f
+%endif
sed -i '\,^.SILENT:,d' buildsys.mk.in
@@ -78,6 +82,9 @@ LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir} make
%changelog
+* Mon Dec 2 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 1.1-7
+- Add conditionals for EL builds (#1036386).
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list