Hello community, here is the log from the commit of package libnl-1_1 for openSUSE:Factory checked in at 2013-06-07 10:05:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnl-1_1 (Old) and /work/SRC/openSUSE:Factory/.libnl-1_1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnl-1_1" Changes: -------- --- /work/SRC/openSUSE:Factory/libnl-1_1/libnl-1_1.changes 2012-12-28 22:44:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libnl-1_1.new/libnl-1_1.changes 2013-06-07 10:05:12.000000000 +0200 @@ -1,0 +2,13 @@ +Wed Jun 5 13:33:54 UTC 2013 - [email protected] + +- Update to new upstream release 1.1.4 +* fix wrong calcultation in nla_reserve() +* nl: Increase receive buffer size to 4 pages +* Fix leak of cb if nl_socket_alloc_cb() failed to allocate socket +* Perform no operation on nl_object_free(NULL) +- Move libraries back to /usr/lib +- Remove libnl-1.1.diff (merged upstream) +- Follow shlib package naming guide and move library files from + libnl-1_1 to libnl1 package + +------------------------------------------------------------------- Old: ---- libnl-1.1.diff libnl-1.1.tar.bz2 New: ---- libnl-1.1.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnl-1_1.spec ++++++ --- /var/tmp/diff_new_pack.uCD1XV/_old 2013-06-07 10:05:13.000000000 +0200 +++ /var/tmp/diff_new_pack.uCD1XV/_new 2013-06-07 10:05:13.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libnl-1_1 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,17 @@ Name: libnl-1_1 -%define lname libnl-1_1-1 +%define lname libnl1 Summary: Convenience library for kernel netlink sockets License: LGPL-2.1 Group: Development/Libraries/Other -Version: 1.1 +Version: 1.1.4 Release: 0 -# bug437293 -%ifarch ppc64 -Obsoletes: libnl-64bit -%endif -# -Url: http://people.suug.ch/~tgr/libnl/ -Source: http://people.suug.ch/~tgr/libnl/files/libnl-%version.tar.bz2 -Source99: baselibs.conf -Patch0: libnl-1.1.diff +Url: http://www.carisma.slowglass.com/~tgr/libnl/ + +#DL-URL: http://www.carisma.slowglass.com/~tgr/libnl/files/ +Source: libnl-%version.tar.xz +Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1140 BuildRequires: linux-glibc-devel >= 2.6.23 @@ -43,9 +39,7 @@ BuildRequires: kernel-headers >= 2.6.23 %endif BuildRequires: pkgconfig >= 0.21 -# Added for 12.1 -Obsoletes: libnl < %version-%release -Provides: libnl = %version-%release +BuildRequires: xz %description This package contains a convenience library to simplify using the Linux @@ -55,6 +49,16 @@ Summary: Convenience library for working with Netlink sockets License: LGPL-2.1 Group: System/Libraries +%ifarch ppc64 +# bug437293 +Obsoletes: libnl-64bit +%endif +# Added for 12.1 +Obsoletes: libnl < %version-%release +Provides: libnl = %version-%release +# Added for 13.1 +Obsoletes: libnl-1_1 < %version-%release +Provides: libnl-1_1 = %version-%release %description -n %lname The libnl suite is a collection of libraries providing APIs to @@ -64,12 +68,12 @@ Summary: Convenience library for kernel netlink sockets License: LGPL-2.1+ Group: Development/Libraries/Other -Requires: %name = %version-%release -# bug437293 +Requires: %lname = %version-%release %ifarch ppc64 +# bug437293 Obsoletes: libnl-devel-64bit %endif -# +# Added for 12.1 Provides: libnl-devel = %release-%version %description devel @@ -77,34 +81,31 @@ kernels netlink sockets interface for network manipulation. %prep -%setup -q -n libnl-%version -%patch0 -p1 +%setup -qn libnl-%version %build -%configure \ - --prefix=%_prefix \ - --libdir=/%_lib \ - --includedir=%_includedir +%configure --disable-static +find . -type f -name "Makefile*" -exec perl -i -pe 's{\@echo}{echo}' "{}" "+" make %{?_smp_mflags} %install -make install DESTDIR="%buildroot" -mkdir -p %buildroot/%_libdir/pkgconfig -mv %buildroot/%_lib/pkgconfig/* %buildroot/%_libdir/pkgconfig +b="%buildroot" +make install DESTDIR="$b" +# --disable-static seems to have no effect +rm -f "$b/%_libdir"/*.a -%post -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%files +%files -n %lname %defattr(-,root,root) -/%_lib/libnl*.so.* +%_libdir/libnl.so.1* %doc COPYING ChangeLog %files devel -%defattr(-,root,root,0755) +%defattr(-,root,root) %_includedir/netlink/ -/%_lib/libnl*.so -%_libdir/pkgconfig/*.pc +%_libdir/libnl.so +%_libdir/pkgconfig/libnl-1.pc %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.uCD1XV/_old 2013-06-07 10:05:13.000000000 +0200 +++ /var/tmp/diff_new_pack.uCD1XV/_new 2013-06-07 10:05:13.000000000 +0200 @@ -1,2 +1,6 @@ -libnl-1_1 +libnl1 + obsoletes "libnl-1_1-<targettype> < <version>" + provides "libnl-1_1-<targettype> = <version>" libnl-1_1-devel + -requires libnl-1_1-<targettype> + requires "libnl1-<targettype> = <version>" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
