diff --git a/libteam-1.11.tar.gz b/libteam-1.11.tar.gz new file mode 100644 index 0000000..c47eae2 --- /dev/null +++ b/libteam-1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b89e81258f8a8f4abd718ec1c91f85cb66d4d29e4d50095a3d2a4ffd8ce4bf7a +size 497560 diff --git a/libteam-1.5.tar.xz b/libteam-1.5.tar.xz deleted file mode 100644 index daa3cb0..0000000 --- a/libteam-1.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acc2b2fed47a6ac1456f440cf91a9480c5be22c44b5729c45a0526cb52acbf92 -size 314764 diff --git a/libteam.changes b/libteam.changes index 0f5a8e2..f8443e0 100644 --- a/libteam.changes +++ b/libteam.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jul 21 11:43:26 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.11 +* add support for TIPC link watcher +* teamd quits when the device is removed +* teamd: add support for checking multiple ports IFLA_PHYS_PORT_ID + ------------------------------------------------------------------- Thu Aug 8 14:02:30 UTC 2013 - jengelh@inai.de diff --git a/libteam.spec b/libteam.spec index 7835cb7..4dcdf8d 100644 --- a/libteam.spec +++ b/libteam.spec @@ -1,7 +1,7 @@ # # spec file for package libteam # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -20,28 +20,27 @@ Name: libteam Summary: Utilities for controlling 802.1AX team network device License: LGPL-2.1+ Group: System/Kernel -Version: 1.5 +Version: 1.11 Release: 0 Url: http://libteam.org/ #Git-Web: https://github.com/jpirko/libteam #Git-Clone: git://github.com/jpirko/libteam -Source: %name-%version.tar.xz +Source: http://libteam.org/files/%name-%version.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig BuildRequires: python-devel BuildRequires: swig -BuildRequires: xz BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libdaemon) BuildRequires: pkgconfig(libnl-3.0) >= 3.2.0 BuildRequires: pkgconfig(libnl-cli-3.0) >= 3.2.0 BuildRequires: pkgconfig(libnl-genl-3.0) >= 3.2.0 -BuildRequires: pkgconfig(libnl-route-3.0) >= 3.2.19 +BuildRequires: pkgconfig(libnl-route-3.0) >= 3.2.0 %if 0%{?suse_version} >= 1220 -BuildRequires: systemd +BuildRequires: systemd-rpm-macros %endif %description @@ -52,11 +51,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 libteam1 +%package -n libteam5 Summary: Library for controlling 802.1AX team network device Group: System/Libraries -%description -n libteam1 +%description -n libteam5 A library which is the user-space counterpart for the team network driver, and provides an API to control them. @@ -76,7 +75,7 @@ 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: libteam1 = %version +Requires: libteam5 = %version Requires: libteamdctl0 = %version %description devel @@ -137,14 +136,34 @@ install -pm0644 teamd/redhat/systemd/*.service "$b/%_unitdir/"; %check make check -%post -n libteam1 -p /sbin/ldconfig -%postun -n libteam1 -p /sbin/ldconfig +%pre tools +%if 0%{?_unitdir:1} +%service_add_pre teamd@.service +%endif + +%post tools +%if 0%{?_unitdir:1} +%service_add_post teamd@.service +%endif + +%preun tools +%if 0%{?_unitdir:1} +%service_del_preun teamd@.service +%endif + +%postun tools +%if 0%{?_unitdir:1} +%service_del_postun teamd@.service +%endif + +%post -n libteam5 -p /sbin/ldconfig +%postun -n libteam5 -p /sbin/ldconfig %post -n libteamdctl0 -p /sbin/ldconfig %postun -n libteamdctl0 -p /sbin/ldconfig -%files -n libteam1 +%files -n libteam5 %defattr(-,root,root) -%_libdir/libteam.so.1* +%_libdir/libteam.so.5* %files -n libteamdctl0 %defattr(-,root,root)