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
This commit is contained in:
parent
9ea57b9231
commit
756fb0507e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c8d647ded994b569012e908403ed8429243490bbdf1bc082cf45d7a2c365fe8b
|
|
||||||
size 284796
|
|
3
libteam-1.5.tar.xz
Normal file
3
libteam-1.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:acc2b2fed47a6ac1456f440cf91a9480c5be22c44b5729c45a0526cb52acbf92
|
||||||
|
size 314764
|
@ -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
|
Thu Feb 28 23:14:35 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
45
libteam.spec
45
libteam.spec
@ -17,11 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libteam
|
Name: libteam
|
||||||
%define lname libteam1
|
|
||||||
Summary: Utilities for controlling 802.1AX team network device
|
Summary: Utilities for controlling 802.1AX team network device
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Version: 1.0
|
Version: 1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://libteam.org/
|
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.
|
a lightweight mechanism for bonding multiple interfaces together.
|
||||||
It is a userspace-driven alternative to the existing bonding driver.
|
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
|
Summary: Library for controlling 802.1AX team network device
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %lname
|
%description -n libteam1
|
||||||
A library which is the user-space counterpart for the team network
|
A library which is the user-space counterpart for the team network
|
||||||
driver, and provides an API to control them.
|
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.
|
a lightweight mechanism for bonding multiple interfaces together.
|
||||||
It is a userspace-driven alternative to the existing bonding driver.
|
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
|
%package devel
|
||||||
Summary: Development files for libteam
|
Summary: Development files for libteam
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: libteam1 = %version
|
||||||
|
Requires: libteamdctl0 = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
A library which is the user-space counterpart for the team network
|
A library which is the user-space counterpart for the team network
|
||||||
driver, and provides an API to control them.
|
driver, and provides an API to control them.
|
||||||
|
|
||||||
This package contains the development headers for the library found
|
This package contains the development headers for the libteam and
|
||||||
in %lname.
|
libteamdctl libraries.
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Summary: Utilities for controlling team network devices
|
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
|
This package should be installed if you want to develop Python
|
||||||
programs that will manipulate team network devices.
|
programs that will manipulate team network devices.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --includedir="%_includedir/%name-%version" --bindir="%_sbindir" \
|
%configure --includedir="%_includedir/pkg/%name" --bindir="%_sbindir" \
|
||||||
--disable-static
|
--disable-static
|
||||||
# Use CFLAGS= to kill -Werror
|
# Use CFLAGS= to kill -Werror
|
||||||
make %{?_smp_mflags} CFLAGS="%optflags"
|
make %{?_smp_mflags} CFLAGS="%optflags"
|
||||||
@ -129,22 +137,31 @@ install -pm0644 teamd/redhat/systemd/*.service "$b/%_unitdir/";
|
|||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n libteam1 -p /sbin/ldconfig
|
||||||
%postun -n %lname -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)
|
%defattr(-,root,root)
|
||||||
%_libdir/libteam.so.1*
|
%_libdir/libteam.so.1*
|
||||||
|
|
||||||
|
%files -n libteamdctl0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libteamdctl.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_includedir/%name-%version
|
%_includedir/pkg/
|
||||||
%_libdir/libteam.so
|
%_libdir/libteam.so
|
||||||
%_libdir/pkgconfig/libteam.pc
|
%_libdir/libteamdctl.so
|
||||||
|
%_libdir/pkgconfig/libteam*.pc
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%_sbindir/bond2team
|
||||||
%_sbindir/team*
|
%_sbindir/team*
|
||||||
|
%_mandir/man1/*
|
||||||
%_mandir/man5/*
|
%_mandir/man5/*
|
||||||
%_mandir/man8/*
|
%_mandir/man8/*
|
||||||
%if 0%{?_unitdir:1}
|
%if 0%{?_unitdir:1}
|
||||||
|
Loading…
Reference in New Issue
Block a user