[firehol] Fix requires on EPEL.

Susi Lehtola jussilehtola at fedoraproject.org
Wed Apr 17 08:29:02 UTC 2013


commit c335cb41670ef1fb418808933724b3863e4037c2
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Wed Apr 17 11:28:49 2013 +0300

    Fix requires on EPEL.

 firehol.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/firehol.spec b/firehol.spec
index 7a5aa38..657e3d0 100644
--- a/firehol.spec
+++ b/firehol.spec
@@ -1,7 +1,7 @@
 Summary:	A powerful yet easy to use iptables frontend
 Name:		firehol
 Version:	1.273
-Release:	11.1%{?dist}
+Release:	12%{?dist}
 License:	GPLv2+
 Group:		Applications/Internet
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
@@ -22,13 +22,18 @@ Requires:	iproute >= 2.2.4
 Requires:	iptables >= 1.2.4
 Requires:	kernel >= 2.4
 Requires:	less
-Requires:	kmod
 Requires:	net-tools >= 1.57
 Requires:	sed >= 3.02
 Requires:	sh-utils >= 2.0
 Requires:	textutils >= 2.0.11
 Requires:	util-linux >= 2.11
 
+%if 0%{?rhel} > 0 && 0%{?rhel} < 7
+Requires:	module-init-tools
+%else
+Requires:	kmod
+%endif
+
 Requires(post):		chkconfig
 Requires(preun):	chkconfig
 Requires(preun):	initscripts
@@ -107,6 +112,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Apr 17 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 1.273-12
+- Fix functionality on EPEL5 and EPEL6 (BZ #952968).
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.273-11.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list