packages: libpcap/libpcap.spec - use sed that holds some waters on upgrades
glen
glen at pld-linux.org
Thu Apr 1 13:28:58 CEST 2010
Author: glen Date: Thu Apr 1 11:28:58 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use sed that holds some waters on upgrades
---- Files affected:
packages/libpcap:
libpcap.spec (1.85 -> 1.86)
---- Diffs:
================================================================
Index: packages/libpcap/libpcap.spec
diff -u packages/libpcap/libpcap.spec:1.85 packages/libpcap/libpcap.spec:1.86
--- packages/libpcap/libpcap.spec:1.85 Thu Oct 29 19:26:48 2009
+++ packages/libpcap/libpcap.spec Thu Apr 1 13:28:52 2010
@@ -180,9 +180,11 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-# some packages want it... but sanitize somehow
-# (don't depend on HAVE_{STRLCPY,SNPRINTF,VSNPRINTF} defines)
-sed -e '390,396d;399,408d' pcap-int.h > $RPM_BUILD_ROOT%{_includedir}/pcap-int.h
+# some packages want pcap-int.h (like kismet)...
+# but sanitize somehow:
+# don't depend on HAVE_{STRLCPY,SNPRINTF,VSNPRINTF} defines
+sed -e '/#ifndef HAVE_STRLCPY/,/#endif/d;/#if !defined(HAVE_SNPRINTF)/,/#endif/d;/#if !defined(HAVE_VSNPRINTF)/,/#endif/d' \
+ pcap-int.h > $RPM_BUILD_ROOT%{_includedir}/pcap-int.h
%clean
rm -rf $RPM_BUILD_ROOT
@@ -217,6 +219,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2010/04/01 11:28:52 glen
+- use sed that holds some waters on upgrades
+
Revision 1.85 2009/10/29 18:26:48 sls
- remove misadded libtoolize
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpcap/libpcap.spec?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list