forked from pool/libteam
Accepting request 162231 from devel:libraries:c_c++
- Update to new upstream release 1.0 - (no changes summary provided; this is the first tarball release) OBS-URL: https://build.opensuse.org/request/show/162231 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libteam?expand=0&rev=5
This commit is contained in:
parent
a378863525
commit
9ea57b9231
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0dbec0c2710115bbb25bf115c90d0729f62fbb8ba36a5f1056fc42588bf2a544
|
|
||||||
size 287100
|
|
3
libteam-1.0.tar.xz
Normal file
3
libteam-1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c8d647ded994b569012e908403ed8429243490bbdf1bc082cf45d7a2c365fe8b
|
||||||
|
size 284796
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 28 23:14:35 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.0 -
|
||||||
|
(no changes summary provided; this is the first tarball release)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 14 23:47:08 UTC 2012 - jengelh@inai.de
|
Wed Nov 14 23:47:08 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
24
libteam.spec
24
libteam.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libteam
|
# spec file for package libteam
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,23 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libteam
|
Name: libteam
|
||||||
%define lname libteam-0p0
|
%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: 0.0+git368
|
Version: 1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://fedorahosted.org/libteam/
|
Url: http://libteam.org/
|
||||||
|
|
||||||
#Git-Web: https://github.com/jpirko/libteam
|
#Git-Web: https://github.com/jpirko/libteam
|
||||||
#Git-Clone: git://github.com/jpirko/libteam
|
#Git-Clone: git://github.com/jpirko/libteam
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Patch1: soversion.diff
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
@ -44,6 +40,7 @@ BuildRequires: pkgconfig(libdaemon)
|
|||||||
BuildRequires: pkgconfig(libnl-3.0) >= 3.2.0
|
BuildRequires: pkgconfig(libnl-3.0) >= 3.2.0
|
||||||
BuildRequires: pkgconfig(libnl-cli-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-genl-3.0) >= 3.2.0
|
||||||
|
BuildRequires: pkgconfig(libnl-route-3.0) >= 3.2.19
|
||||||
%if 0%{?suse_version} >= 1220
|
%if 0%{?suse_version} >= 1220
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%endif
|
%endif
|
||||||
@ -104,13 +101,9 @@ programs that will manipulate team network devices.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %name
|
%setup -q
|
||||||
%patch -P 1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
|
||||||
autoreconf -fi
|
|
||||||
fi
|
|
||||||
%configure --includedir="%_includedir/%name-%version" --bindir="%_sbindir" \
|
%configure --includedir="%_includedir/%name-%version" --bindir="%_sbindir" \
|
||||||
--disable-static
|
--disable-static
|
||||||
# Use CFLAGS= to kill -Werror
|
# Use CFLAGS= to kill -Werror
|
||||||
@ -136,13 +129,12 @@ install -pm0644 teamd/redhat/systemd/*.service "$b/%_unitdir/";
|
|||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libteam-0p.so.0*
|
%_libdir/libteam.so.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
Date: 2012-05-12 02:07:15.879119810 +0200
|
|
||||||
Upstream: no
|
|
||||||
|
|
||||||
build: use unique SO version that won't clash
|
|
||||||
|
|
||||||
The current ABI/API might not stay the same until the first official
|
|
||||||
libteam release, so we should not use libteam.so.0 to avoid such
|
|
||||||
future collision. Suffix it with 0p (preview).
|
|
||||||
|
|
||||||
---
|
|
||||||
lib/Makefile.am | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: libteam/lib/Makefile.am
|
|
||||||
===================================================================
|
|
||||||
--- libteam.orig/lib/Makefile.am
|
|
||||||
+++ libteam/lib/Makefile.am
|
|
||||||
@@ -6,7 +6,7 @@ lib_LTLIBRARIES = libteam.la
|
|
||||||
libteam_la_SOURCES = libteam.c ports.c options.c ifinfo.c stringify.c
|
|
||||||
libteam_la_CFLAGS= $(LIBNL_CFLAGS) -I${top_srcdir}/include -D_GNU_SOURCE
|
|
||||||
libteam_la_LIBADD= $(LIBNL_LIBS)
|
|
||||||
-libteam_la_LDFLAGS = -version-info @LIBTEAM_CURRENT@:@LIBTEAM_REVISION@:@LIBTEAM_AGE@
|
|
||||||
+libteam_la_LDFLAGS = -version-info @LIBTEAM_CURRENT@:@LIBTEAM_REVISION@:@LIBTEAM_AGE@ -release 0p
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = libteam.pc
|
|
Loading…
Reference in New Issue
Block a user