From 756fb0507e6f294c74ab20e2b36acd8b36dbb416952fc1f8e8a524f44563075b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 13 Aug 2013 08:24:43 +0000 Subject: [PATCH] Accepting request 186432 from devel:libraries:c_c++ - Update to new upstream release 1.5 OBS-URL: https://build.opensuse.org/request/show/186432 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libteam?expand=0&rev=6 --- libteam-1.0.tar.xz | 3 --- libteam-1.5.tar.xz | 3 +++ libteam.changes | 15 +++++++++++++++ libteam.spec | 45 +++++++++++++++++++++++++++++++-------------- 4 files changed, 49 insertions(+), 17 deletions(-) delete mode 100644 libteam-1.0.tar.xz create mode 100644 libteam-1.5.tar.xz diff --git a/libteam-1.0.tar.xz b/libteam-1.0.tar.xz deleted file mode 100644 index 2dc4f01..0000000 --- a/libteam-1.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8d647ded994b569012e908403ed8429243490bbdf1bc082cf45d7a2c365fe8b -size 284796 diff --git a/libteam-1.5.tar.xz b/libteam-1.5.tar.xz new file mode 100644 index 0000000..daa3cb0 --- /dev/null +++ b/libteam-1.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acc2b2fed47a6ac1456f440cf91a9480c5be22c44b5729c45a0526cb52acbf92 +size 314764 diff --git a/libteam.changes b/libteam.changes index 64e52d9..0f5a8e2 100644 --- a/libteam.changes +++ b/libteam.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Aug 8 14:02:30 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.5 +* lacp: introduce multiple aggregator selection policies +* lacp: allow to have multiple functions to find out which port + is better +* lacp: introduce agg select policy based on per-port config + options +* teamd: introduce simple SR-IOV support +* lacp: do not set state disable if driver does not report speed + and duplex +* teamd: add support for multicast group rejoin sending +* utils: add bond2team conversion tool + ------------------------------------------------------------------- Thu Feb 28 23:14:35 UTC 2013 - jengelh@inai.de diff --git a/libteam.spec b/libteam.spec index d6bcd8f..7835cb7 100644 --- a/libteam.spec +++ b/libteam.spec @@ -17,11 +17,10 @@ Name: libteam -%define lname libteam1 Summary: Utilities for controlling 802.1AX team network device License: LGPL-2.1+ Group: System/Kernel -Version: 1.0 +Version: 1.5 Release: 0 Url: http://libteam.org/ @@ -53,11 +52,11 @@ Linux kernel 3.3 and above offer a so-called "team" network driver - a lightweight mechanism for bonding multiple interfaces together. It is a userspace-driven alternative to the existing bonding driver. -%package -n %lname +%package -n libteam1 Summary: Library for controlling 802.1AX team network device Group: System/Libraries -%description -n %lname +%description -n libteam1 A library which is the user-space counterpart for the team network driver, and provides an API to control them. @@ -65,17 +64,27 @@ Linux kernel 3.3 and above offer a so-called "team" network driver - a lightweight mechanism for bonding multiple interfaces together. It is a userspace-driven alternative to the existing bonding driver. +%package -n libteamdctl0 +Summary: Library for controlling the team network device daemon +Group: System/Libraries + +%description -n libteamdctl0 +Linux kernel 3.3 and above offer a so-called "team" network driver - +a lightweight mechanism for bonding multiple interfaces together. +It is a userspace-driven alternative to the existing bonding driver. + %package devel Summary: Development files for libteam Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: libteam1 = %version +Requires: libteamdctl0 = %version %description devel A library which is the user-space counterpart for the team network driver, and provides an API to control them. -This package contains the development headers for the library found -in %lname. +This package contains the development headers for the libteam and +libteamdctl libraries. %package tools Summary: Utilities for controlling team network devices @@ -99,12 +108,11 @@ Group: Development/Languages/Python This package should be installed if you want to develop Python programs that will manipulate team network devices. - %prep %setup -q %build -%configure --includedir="%_includedir/%name-%version" --bindir="%_sbindir" \ +%configure --includedir="%_includedir/pkg/%name" --bindir="%_sbindir" \ --disable-static # Use CFLAGS= to kill -Werror make %{?_smp_mflags} CFLAGS="%optflags" @@ -129,22 +137,31 @@ install -pm0644 teamd/redhat/systemd/*.service "$b/%_unitdir/"; %check make check -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%post -n libteam1 -p /sbin/ldconfig +%postun -n libteam1 -p /sbin/ldconfig +%post -n libteamdctl0 -p /sbin/ldconfig +%postun -n libteamdctl0 -p /sbin/ldconfig -%files -n %lname +%files -n libteam1 %defattr(-,root,root) %_libdir/libteam.so.1* +%files -n libteamdctl0 +%defattr(-,root,root) +%_libdir/libteamdctl.so.0* + %files devel %defattr(-,root,root) -%_includedir/%name-%version +%_includedir/pkg/ %_libdir/libteam.so -%_libdir/pkgconfig/libteam.pc +%_libdir/libteamdctl.so +%_libdir/pkgconfig/libteam*.pc %files tools %defattr(-,root,root) +%_sbindir/bond2team %_sbindir/team* +%_mandir/man1/* %_mandir/man5/* %_mandir/man8/* %if 0%{?_unitdir:1}