rpms/sectool/devel sectool-0.9.2-optflags.patch, NONE, 1.1 sectool.spec, 1.27, 1.28

Ville Skyttä scop at fedoraproject.org
Wed May 20 21:40:17 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/sectool/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31542

Modified Files:
	sectool.spec 
Added Files:
	sectool-0.9.2-optflags.patch 
Log Message:
* Thu May 21 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.9.2-5
- Build with $RPM_OPT_FLAGS (#497231).


sectool-0.9.2-optflags.patch:

--- NEW FILE sectool-0.9.2-optflags.patch ---
diff -up sectool-0.9.2/src/Makefile~ sectool-0.9.2/src/Makefile
--- sectool-0.9.2/src/Makefile~	2008-11-13 11:08:40.000000000 +0200
+++ sectool-0.9.2/src/Makefile	2009-04-23 00:19:30.000000000 +0300
@@ -1,7 +1,7 @@
 include ../sectool.mk
 
 CC= gcc
-CFLAGS= -Wall -O2 -ffast-math -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm
+CFLAGS= -Wall -O2 -ffast-math $(RPM_OPT_FLAGS) -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm
 LDFLAGS= -lrpm -lselinux
 
 SRCS_sectool=sectool.c


Index: sectool.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sectool/devel/sectool.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- sectool.spec	20 May 2009 21:29:35 -0000	1.27
+++ sectool.spec	20 May 2009 21:39:47 -0000	1.28
@@ -1,7 +1,7 @@
 Summary: A security audit system and intrusion detection system
 Name: sectool
 Version: 0.9.2
-Release: 4%{?dist}
+Release: 5%{?dist}
 URL: https://hosted.fedoraproject.org/sectool/wiki/WikiStart
 Source0: %{name}-%{version}.tar.bz2
 Source1: sectool.log
@@ -11,6 +11,7 @@ Patch2: sectool-0.9.2-fixing.patch
 #Patch3: sectool-0.9.1-getValueFromH.patch
 #Patch4: sectool-0.9.1-selinux.patch
 #Patch5: sectool-0.9.1-zsh.patch
+Patch6: sectool-0.9.2-optflags.patch
 License: GPLv2+
 Group: Applications/System
 Requires: gettext coreutils libselinux
@@ -45,6 +46,7 @@ sectool-gui provides a GTK-based graphic
 #%patch3 -p1 -b .getValueFromH
 #%patch4 -p1 -b .selinux
 #%patch5 -p1 -b .zsh
+%patch6 -p1 -b .optflags
 
 %build
 make %{?_smp_mflags}
@@ -113,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu May 21 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.9.2-5
+- Build with $RPM_OPT_FLAGS (#497231).
+
 * Mon Jan 26 2009 Daniel Kopecek <dkopecek at redhat.com> - 0.9.2-4
 - removed showvars.dsc
 




More information about the fedora-extras-commits mailing list