Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2015-06-30 10:15:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and      /work/SRC/openSUSE:Factory/.libpcap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpcap"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2015-04-28 
20:42:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes     2015-06-30 
10:15:07.000000000 +0200
@@ -1,0 +2,9 @@
+Sun Jun 21 04:41:13 UTC 2015 - [email protected]
+
+- remove dependency on libusb-devel, only libusb-1.0 is used for
+  build.
+- split a -devel-static subpackage that contains the static
+  libraries and all the extra dependencies which are not needed
+  for dynamic linking.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libpcap.spec ++++++
--- /var/tmp/diff_new_pack.cpvLua/_old  2015-06-30 10:15:08.000000000 +0200
+++ /var/tmp/diff_new_pack.cpvLua/_new  2015-06-30 10:15:08.000000000 +0200
@@ -39,11 +39,9 @@
 BuildRequires:  bison
 BuildRequires:  dbus-1-devel
 BuildRequires:  flex
-BuildRequires:  libusb-devel
-BuildRequires:  pkg-config
-%if %{?suse_version} >= 1210
 BuildRequires:  libnl3-devel
-%endif
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(libusb-1.0)
 %if %{with bluetooth}
 BuildRequires:  bluez-devel
 %endif
@@ -77,12 +75,8 @@
 %package devel
 Summary:        A Library for Network Sniffers
 Group:          Development/Libraries/C and C++
-Requires:       bluez-devel
+Requires:       glibc-devel
 Requires:       libpcap1 = %{version}
-Requires:       libusb-devel
-%if %{?suse_version} >= 1210
-Requires:       libnl3-devel
-%endif
 
 %description devel
 libpcap is a library used by packet sniffer programs. It provides an
@@ -90,6 +84,20 @@
 This package is only needed if you plan to compile or write such a
 program yourself.
 
+%package devel-static
+Summary:        A Library for Network Sniffers
+Group:          Development/Libraries/C and C++ 
+Requires:       %{name}-devel = %{version}
+Requires:       dbus-1-devel
+Requires:       libnl3-devel
+Requires:       pkgconfig(libusb-1.0)
+%if %{with bluetooth}
+Requires:       bluez-devel
+%endif
+
+%description devel-static
+libpcap static libraries
+
 %prep
 %setup -q
 %patch0 -p1
@@ -128,12 +136,15 @@
 %{_libdir}/*.so.*
 %doc %{_mandir}/man7/*
 
+%files devel-static
+%defattr(-, root, root)
+%{_libdir}/*.*a
+
 %files devel
 %defattr(-, root, root)
 %doc %{_mandir}/man[1-6]/*
 %{_includedir}/*
 %{_bindir}/pcap-config
 %{_libdir}/*.so
-%{_libdir}/*.*a
 
 %changelog




Reply via email to