[ettercap/el6] Fix RPM_OPT_FLAGS.

Jon Ciesla limb at fedoraproject.org
Mon Jan 30 17:08:44 UTC 2012


commit 52e62eda14480c96ceac7cf8220dad126f90b4e4
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Mon Jan 30 11:08:26 2012 -0600

    Fix RPM_OPT_FLAGS.

 ettercap.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ettercap.spec b/ettercap.spec
index f77a453..e732f14 100644
--- a/ettercap.spec
+++ b/ettercap.spec
@@ -1,6 +1,6 @@
 Name: ettercap
 Version: 0.7.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Network traffic sniffer/analyser, NCURSES interface version
 Group: Applications/Internet
 License: GPLv2+
@@ -125,12 +125,12 @@ This package contains the GTK version.
 autoconf
 %configure --enable-gtk
 #make %{?_smp_mflags}
-make
+make CFLAGS="$RPM_OPT_FLAGS"
 cp src/ettercap src/ettercap-gtk
 make clean
 %configure --disable-gtk
 #make %{?_smp_mflags}  Broken as of 0.7.4
-make 
+make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf %{buildroot}
@@ -221,6 +221,9 @@ rm -rf %{buildroot}
 %{_datadir}/icons/hicolor/32x32/apps/ettercap.png
 
 %changelog
+* Mon Jan 30 2012 Jon Ciesla <limburgher at gmail.com> - 0.7.4-3
+- Fix RPM_OPT_FLAGS.
+
 * Thu Jan 26 2012 Jon Ciesla <limburgher at gmail.com> - 0.7.4-2
 - Patch for CVE-2010-3843.
 


More information about the scm-commits mailing list