- fix libpcap-devel inclusion of .so and its deps (#193189)
This commit is contained in:
parent
260e302c84
commit
2578529155
10
tcpdump.spec
10
tcpdump.spec
@ -2,7 +2,7 @@
|
||||
%define PCAP_UID 77
|
||||
%define PCAP_GID 77
|
||||
|
||||
%define releaseno 6
|
||||
%define releaseno 7
|
||||
%define arpwatch_release 15.%{releaseno}
|
||||
%define pcap_release %{releaseno}
|
||||
%define tcpdump_release %{releaseno}
|
||||
@ -104,6 +104,7 @@ Summary: A pcap library.
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
URL: http://www.tcpdump.org
|
||||
Requires: libpcap = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description -n libpcap-devel
|
||||
Libpcap provides a portable framework for low-level network
|
||||
@ -227,7 +228,6 @@ mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{3,8}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
||||
|
||||
pushd %libpcap_dir
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/net
|
||||
make DESTDIR=${RPM_BUILD_ROOT} includedir=%{_includedir} \
|
||||
LIBMAJOR="%{pcap_major}" \
|
||||
LIBMINOR="%{pcap_minor}" \
|
||||
@ -312,12 +312,13 @@ exit 0
|
||||
%files -n libpcap
|
||||
%defattr(-,root,root)
|
||||
%doc %libpcap_dir/LICENSE %libpcap_dir/README %libpcap_dir/CHANGES
|
||||
%{_libdir}/libpcap.so*
|
||||
%{_libdir}/libpcap.so.*
|
||||
%{_mandir}/man3/pcap.3*
|
||||
|
||||
%files -n libpcap-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libpcap.so
|
||||
%{_libdir}/libpcap.a
|
||||
|
||||
%files -n arpwatch
|
||||
@ -341,6 +342,9 @@ exit 0
|
||||
%{_vararpwatch}/massagevendor-old
|
||||
|
||||
%changelog
|
||||
* Sun Jun 4 2006 Jeremy Katz <katzj@redhat.com> - 14:3.9.4-7
|
||||
- fix libpcap-devel inclusion of .so and its deps (#193189)
|
||||
|
||||
* Thu Jun 1 2006 Martin Stransky <stransky@redhat.com> - 14:3.9.4-6
|
||||
- added release to arpwatch package name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user