[tcpxtract] EPEL7 needs the same BR as Fedora

wolfy wolfy at fedoraproject.org
Tue Sep 30 21:31:35 UTC 2014


commit e251c3b125a53f15beafa9e32016f30fd2042ba5
Author: Manuel Wolfshant <wolfy at fedoraproject.org>
Date:   Wed Oct 1 00:31:42 2014 +0300

    EPEL7 needs the same BR as Fedora

 tcpxtract.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/tcpxtract.spec b/tcpxtract.spec
index d2980fa..caf30da 100644
--- a/tcpxtract.spec
+++ b/tcpxtract.spec
@@ -3,7 +3,7 @@
 
 Name:           tcpxtract
 Version:        1.0.1
-Release:        18%{?dist}
+Release:        19%{?dist}
 Summary:        Tool for extracting files from network traffic
 
 Group:      Applications/Internet
@@ -11,13 +11,14 @@ License:    GPLv2+
 URL:        http://tcpxtract.sourceforge.net/
 Source0:    http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExcludeArch: ppc ppc64
 
 %if "0%{?dist}" == "0.el4"
 BuildRequires:  libpcap
 %else
 BuildRequires:  libpcap-devel
 %endif
-%if 0%{?fedora} >= 13
+%if 0%{?fedora} >= 13 || 0%{?rhel} > 6
 BuildRequires:  flex-static
 %else
 BuildRequires:  flex
@@ -54,7 +55,8 @@ autoconf
 %endif
 
 %configure
-make %{?_smp_mflags}
+export LDFLAGS="-lfl"
+make %{?_smp_mflags} 
 
 
 %install
@@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Sep 30 2014 manuel "lonely wolf" wolfshant <wolfy[AT]fedoraproject.org> - 1.0.1-19
+- EPEL7 needs the same BR as Fedora
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list