Hello community,

here is the log from the commit of package kmod for openSUSE:Factory checked in 
at 2012-01-09 12:04:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmod (Old)
 and      /work/SRC/openSUSE:Factory/.kmod.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kmod", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/kmod/kmod.changes        2012-01-04 
07:24:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kmod.new/kmod.changes   2012-01-09 
12:04:47.000000000 +0100
@@ -1,0 +2,15 @@
+Fri Jan  6 00:48:41 UTC 2012 - jeng...@medozas.de
+
+- Update to new upstream release 3
+* new APIs in libkmod: get symbols from module, parsing the ELF
+  section, dependency symbols, insert module like modprobe
+* support for Xz-compressed modules
+* the depmod tool
+
+-------------------------------------------------------------------
+Sat Dec 24 17:23:09 UTC 2011 - crrodrig...@opensuse.org
+
+- Use --enable-zlib and buildRequire zlib 
+- run make check
+
+-------------------------------------------------------------------

Old:
----
  kmod-2.tar.xz

New:
----
  kmod-3.tar.xz

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

Other differences:
------------------
++++++ kmod.spec ++++++
--- /var/tmp/diff_new_pack.wnPVh7/_old  2012-01-09 12:04:49.000000000 +0100
+++ /var/tmp/diff_new_pack.wnPVh7/_new  2012-01-09 12:04:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kmod
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,20 +15,26 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+
 Name:           kmod
 %define lname  libkmod1
 Summary:        Utilities to load modules into the kernel
-Version:        2
+Version:        3
 Release:        0
+%define git_snapshot 0
 License:        LGPL-2.1+ and GPL-2.0+
 Group:          System/Kernel
-URL:           http://www.politreco.com/2011/12/announce-kmod-2/
+Url:            http://www.politreco.com/2011/12/announce-kmod-2/
 
 #Git-Clone:    git://git.profusion.mobi/kmod
 Source:         %name-%version.tar.xz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires: pkgconfig, xz
+%if 0%{?git_snapshot}
+BuildRequires:  autoconf automake libtool
+%endif
+BuildRequires:  pkgconfig >= 0.23 pkgconfig(liblzma) pkgconfig(zlib) xz
 
 %description
 kmod is a set of tools to handle common tasks with Linux kernel
@@ -39,6 +45,19 @@
 with kmod. The aim is to be compatible with tools, configurations and
 indexes from module-init-tools project.
 
+%package compat
+Summary:        Compat symlinks for kernel module utilities
+License:        GPL-2.0+
+Group:          System/Kernel
+Conflicts:      module-init-tools
+
+%description compat
+kmod is a set of tools to handle common tasks with Linux kernel
+modules like insert, remove, list, check properties, resolve
+dependencies and aliases.
+
+This package contains traditional name symlinks (lsmod, etc.)
+
 %package -n %lname
 Summary:        Library to interact with Linux kernel modules
 License:       LGPL-2.1+
@@ -62,14 +81,33 @@
 %setup -q
 
 %build
+%if 0%{?git_snapshot}
+if [ ! -e configure ]; then
+       autoreconf -fi;
+fi;
+%endif
 # The extra --includedir gives us the possibility to detect dependent
 # packages which fail to properly use pkgconfig.
-%configure --includedir=%_includedir/%name-%version
+%configure --with-xz --with-zlib --includedir=%_includedir/%name-%version \
+       --with-rootlibdir=/%_lib --bindir=/bin
 make %{?_smp_mflags}
 
 %install
+b="%buildroot";
 %make_install
-rm -f "%buildroot/%_libdir"/*.la
+# Remove standalone tools
+rm -f "$b/bin"/kmod-*;
+rm -f "$b/%_libdir"/*.la;
+
+# kmod-compat
+mkdir -p "$b/bin" "$b/sbin";
+ln -s kmod "$b/bin/lsmod";
+for i in depmod insmod lsmod modinfo modprobe rmmod; do
+       ln -s "/bin/kmod" "$b/sbin/$i";
+done;
+
+%check
+make check
 
 %post -n %lname -p /sbin/ldconfig
 
@@ -77,11 +115,11 @@
 
 %files
 %defattr(-,root,root)
-%_bindir/kmod-*
+/bin/kmod
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libkmod.so.1*
+/%_lib/libkmod.so.1*
 
 %files -n libkmod-devel
 %defattr(-,root,root)
@@ -89,4 +127,9 @@
 %_libdir/pkgconfig/*.pc
 %_libdir/libkmod.so
 
+%files compat
+%defattr(-,root,root)
+/bin/lsmod
+/sbin/*
+
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to