[ettercap] Fixed rpmflags.
Jon Ciesla
limb at fedoraproject.org
Mon Jan 30 16:21:07 UTC 2012
commit 07a7bcfa7f3b6ed0b0db1950e3815d25cc5d7523
Author: Jon Ciesla <limburgher at gmail.com>
Date: Mon Jan 30 10:20:47 2012 -0600
Fixed rpmflags.
ettercap.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ettercap.spec b/ettercap.spec
index 49f7a9b..daafa87 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+
@@ -121,12 +121,13 @@ This package contains the GTK version.
%build
autoconf
%configure --enable-gtk
-make %{?_smp_mflags}
+#make %{?_smp_mflags}
+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}
@@ -217,6 +218,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
+- RPM_OPT_FLAGS fix, BZ 785562.
+
* 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