]> git.pld-linux.org Git - packages/libpcap.git/blobdiff - libpcap.spec
- make sanitized pcap-int.h available to other packages (e.g. kismet)
[packages/libpcap.git] / libpcap.spec
index fcfacd82ccbacbccc6eec3123a3768352a3913df..b97b26f6d2f91e199a84e9ced4e90c49b1c45efe 100644 (file)
@@ -6,7 +6,7 @@ Summary(ru):    
 Summary(uk):   îÁÄÁ¤ ÄÏÓÔÕРÄÏ ÍÅÒÅÖÅ×ÉÈ ¦ÎÔÅÒÆÅÊӦננpromiscuous-ÒÅÖÉͦ
 Name:          libpcap
 Version:       0.8.1
-Release:       1
+Release:       2
 Epoch:         2
 License:       BSD
 Group:         Libraries
@@ -164,6 +164,10 @@ fi
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# some packages want it... but sanitize somehow
+# (don't depend on HAVE_{STRLCPY,SNPRINTF,VSNPRINTF} defines)
+sed -e '233,239d;242,251d' pcap-int.h > $RPM_BUILD_ROOT%{_includedir}/pcap-int.h
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.035064 seconds and 4 git commands to generate.