Accepting request 244155 from network

- Update to new upstream release 1.11

OBS-URL: https://build.opensuse.org/request/show/244155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libteam?expand=0&rev=8
This commit is contained in:
Ludwig Nussel 2014-08-13 06:48:49 +00:00 committed by Git OBS Bridge
parent 756fb0507e
commit 86b0b820d1
4 changed files with 43 additions and 16 deletions

3
libteam-1.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b89e81258f8a8f4abd718ec1c91f85cb66d4d29e4d50095a3d2a4ffd8ce4bf7a
size 497560

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acc2b2fed47a6ac1456f440cf91a9480c5be22c44b5729c45a0526cb52acbf92
size 314764

View File

@ -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

View File

@ -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)