Hello community,

here is the log from the commit of package libteam for openSUSE:Factory checked 
in at 2012-11-17 07:25:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libteam (Old)
 and      /work/SRC/openSUSE:Factory/.libteam.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libteam", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libteam/libteam.changes  2012-05-16 
15:03:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libteam.new/libteam.changes     2012-11-17 
07:25:46.000000000 +0100
@@ -1,0 +2,8 @@
+Wed Nov 14 23:47:08 UTC 2012 - [email protected]
+
+- Update to git snapshot 0+git368 [a62cd9309607c6d72d46ef68403a730a6367b827] -
+  no changes summary provided by upstream
+- Install systemd service file for teamd
+- Build and install python bindings
+
+-------------------------------------------------------------------

Old:
----
  libteam-0.0+git216.tar.xz

New:
----
  libteam-0.0+git368.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libteam.spec ++++++
--- /var/tmp/diff_new_pack.SXoYX7/_old  2012-11-17 07:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.SXoYX7/_new  2012-11-17 07:25:47.000000000 +0100
@@ -14,12 +14,14 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 Name:           libteam
 %define lname  libteam-0p0
 Summary:        Utilities for controlling 802.1AX team network device
 License:        LGPL-2.1+
 Group:          System/Kernel
-Version:        0.0+git216
+Version:        0.0+git368
 Release:        0
 Url:            https://fedorahosted.org/libteam/
 
@@ -29,10 +31,22 @@
 Patch1:                soversion.diff
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires: autoconf automake libtool xz
-BuildRequires: pkgconfig(libnl-3.0) pkgconfig(libnl-genl-3.0)
-BuildRequires: pkgconfig(libnl-cli-3.0) pkgconfig(libdaemon)
-BuildRequires: pkgconfig(jansson) pkgconfig(dbus-1) pkgconfig
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+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
+%if 0%{?suse_version} >= 1220
+BuildRequires:  systemd
+%endif
 
 %description
 A library which is the user-space counterpart for the team network
@@ -44,7 +58,6 @@
 
 %package -n %lname
 Summary:        Library for controlling 802.1AX team network device
-License:        LGPL-2.1+
 Group:          System/Libraries
 
 %description -n %lname
@@ -81,6 +94,15 @@
 a lightweight mechanism for bonding multiple interfaces together.
 It is a userspace-driven alternative to the existing bonding driver.
 
+%package -n python-libteam
+Summary:        Python bindings for libteam
+Group:          Development/Languages/Python
+
+%description -n python-libteam
+This package should be installed if you want to develop Python
+programs that will manipulate team network devices.
+
+
 %prep
 %setup -qn %name
 %patch -P 1 -p1
@@ -94,9 +116,22 @@
 # Use CFLAGS= to kill -Werror
 make %{?_smp_mflags} CFLAGS="%optflags"
 
+pushd binding/python/;
+python ./setup.py build;
+popd;
+
 %install
-%make_install
-rm -f %buildroot/%_libdir/*.la
+b="%buildroot";
+make install DESTDIR="$b";
+pushd binding/python/;
+python ./setup.py install --root="$b" --prefix="%_prefix";
+popd;
+
+rm -f "$b/%_libdir"/*.la
+%if 0%{?_unitdir:1}
+mkdir -p "$b/%_unitdir";
+install -pm0644 teamd/redhat/systemd/*.service "$b/%_unitdir/";
+%endif
 
 %check
 make check
@@ -113,11 +148,19 @@
 %defattr(-,root,root)
 %_includedir/%name-%version
 %_libdir/libteam.so
-%_libdir/pkgconfig/*.pc
+%_libdir/pkgconfig/libteam.pc
 
 %files tools
 %defattr(-,root,root)
 %_sbindir/team*
+%_mandir/man5/*
 %_mandir/man8/*
+%if 0%{?_unitdir:1}
+%_unitdir
+%endif
+
+%files -n python-libteam
+%defattr(-,root,root)
+%python_sitearch/*
 
 %changelog

++++++ soversion.diff ++++++
--- /var/tmp/diff_new_pack.SXoYX7/_old  2012-11-17 07:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.SXoYX7/_new  2012-11-17 07:25:47.000000000 +0100
@@ -17,7 +17,7 @@
 --- 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
+ 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@

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to