[pam_shield/f15/master] fixed an issue in the %build section

Carl Thompson redragon at fedoraproject.org
Thu Apr 7 23:12:51 UTC 2011


commit 4d645e3f76054f7d29960efd96ebec5ba561f9e6
Author: Carl Thompson <fedora at red-dragon.com>
Date:   Thu Apr 7 18:12:30 2011 -0500

    fixed an issue in the %build section

 pam_shield.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pam_shield.spec b/pam_shield.spec
index 5a23e0c..dbeef69 100644
--- a/pam_shield.spec
+++ b/pam_shield.spec
@@ -1,6 +1,6 @@
 Name:		pam_shield
 Version:	0.9.5
-Release:	2%{?dist}
+Release:	4%{?dist}
 Summary:	Pam Shield - A pam module to counter brute force attacks
 
 Group:		System Environment/Libraries
@@ -34,7 +34,8 @@ sed -i -e 's/retention 1w/retention 1h/' shield.conf
 sed -i -e 's/shield\-trigger/shield-trigger-iptables/' shield.conf
 
 %build
-make %{?_smp_mflags}
+export CFLAGS="%{optflags}"
+make
 
 %check
 
@@ -87,6 +88,10 @@ rm -rf %{buildroot}
 %{_sbindir}/shield-trigger-iptables
 
 %changelog
+* Thu Apr 7 2011 Carl Thompson <fedora at red-dragon.com> 0.9.5-4
+- fixed a typo in previous release in %build section
+* Thu Apr 7 2011 Carl Thompson <fedora at red-dragon.com> 0.9.5-3
+- updated %build section with %{optflags}
 * Mon Mar 28 2011 Carl Thompson <fedora at red-dragon.com> 0.9.5-2
 - included shield-trigger-iptables
 - changed default blocking method from route to iptables


More information about the scm-commits mailing list