[tcpcopy/el6: 1/2] Enable more options.

Christopher Meng cicku at fedoraproject.org
Fri Feb 14 03:24:44 UTC 2014


commit 2b94fabb279f5e1cc5c179182c0d455fb80f09f7
Author: Christopher Meng <i at cicku.me>
Date:   Fri Feb 14 11:20:59 2014 +0800

    Enable more options.

 tcpcopy.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/tcpcopy.spec b/tcpcopy.spec
index 3a61709..f0f2d9d 100644
--- a/tcpcopy.spec
+++ b/tcpcopy.spec
@@ -1,6 +1,6 @@
 Name:           tcpcopy
 Version:        0.9.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An online request replication tool
 License:        BSD
 URL:            https://github.com/wangbin579/tcpcopy
@@ -8,6 +8,7 @@ Source0:        https://github.com/wangbin579/tcpcopy/archive/%{version}.tar.gz#
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libnetfilter_queue-devel
+BuildRequires:  libpcap-devel
 BuildRequires:  libtool
 Requires:       iptables
 
@@ -25,7 +26,10 @@ at all except cost a little network bandwidth and CPU load.
 %build
 autoreconf -fiv
 export CPPFLAGS="%{optflags}"
-%configure --enable-nfqueue
+%configure --enable-advanced \
+           --enable-debug \
+           --enable-millions \
+           --enable-nfqueue
 make %{?_smp_mflags}
 
 %install
@@ -36,6 +40,9 @@ make install DESTDIR=%{buildroot}
 %{_bindir}/*
 
 %changelog
+* Fri Feb 14 2014 Christopher Meng <rpm at cicku.me> - 0.9.7-2
+- Rebuild with more features(pcap)
+
 * Fri Feb 14 2014 Christopher Meng <rpm at cicku.me> - 0.9.7-1
 - Update to 0.9.7
 


More information about the scm-commits mailing list