rpms/tcpdump/devel tcpdump.spec,1.69,1.70

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Mon Jun 2 12:10:03 UTC 2008


Author: mlichvar

Update of /cvs/pkgs/rpms/tcpdump/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28052

Modified Files:
	tcpdump.spec 
Log Message:
- update config.{guess,sub} when building tcpslice
- remove -D_GNU_SOURCE from CFLAGS



Index: tcpdump.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcpdump/devel/tcpdump.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- tcpdump.spec	13 Feb 2008 18:42:17 -0000	1.69
+++ tcpdump.spec	2 Jun 2008 12:09:22 -0000	1.70
@@ -2,12 +2,13 @@
 Name: tcpdump
 Epoch: 14
 Version: 3.9.8
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD with advertising
 URL: http://www.tcpdump.org
 Group: Applications/Internet
 Requires(pre): shadow-utils 
 BuildRequires: openssl-devel libpcap-devel
+BuildRequires: automake
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Source0: http://www.tcpdump.org/release/tcpdump-%{version}.tar.gz
@@ -47,9 +48,11 @@
 find . -name '*.c' -o -name '*.h' | xargs chmod 644
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE"
+export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)"
 
 pushd %{tcpslice_dir}
+# update config.{guess,sub}
+automake -a -f 2> /dev/null || :
 %configure
 make %{?_smp_mflags}
 popd
@@ -93,6 +96,10 @@
 %{_mandir}/man8/tcpdump.8*
 
 %changelog
+* Mon Jun 02 2008 Miroslav Lichvar <mlichvar at redhat.com> - 14:3.9.8-5
+- update config.{guess,sub} when building tcpslice
+- remove -D_GNU_SOURCE from CFLAGS
+
 * Wed Feb 13 2008 Miroslav Lichvar <mlichvar at redhat.com> - 14:3.9.8-4
 - fix building with new glibc headers
 




More information about the fedora-extras-commits mailing list