Accepting request 103147 from Base:System
Previous SR did not work due to Source0 being used twice accidentally. - Update to new upstream release 5 OBS-URL: https://build.opensuse.org/request/show/103147 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmod?expand=0&rev=3
This commit is contained in:
commit
1aa54c613e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4b32439703ab2837e81ae80f527f9e964ecb5883a9e80d1cc7518cf6e8593ad9
|
|
||||||
size 285512
|
|
17
kmod-5.tar.sign
Normal file
17
kmod-5.tar.sign
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||||
|
|
||||||
|
iQIcBAABAgAGBQJPMFn6AAoJEJuipaYwy+pTs1MP/1itv8M+ucm4k/dmgWDiA5D5
|
||||||
|
LS1m3A63kuC4v4Bf38AVh6dkj/b9A2wqcOkmaHGffxf+tFSYPrzN/aXLT3kuzOWd
|
||||||
|
aDICCr41Sd38HmbphRURCuaJQAJqWKQwT4Ap8hHr7COewr0jAaWDHreQgSJtEn0x
|
||||||
|
a8con4ps2IghNQYkKtJIuAn8cAkRlAcE5LUn+/n5dMPUipirFNCUcj2CAUzbUNnm
|
||||||
|
7NCPxA3wXpebtmXo8Fu6NEvPmZd4JQNz7AHAUiFoMXjoxmSVhCA1rs9f05GuiHF5
|
||||||
|
koLziYSB1Mf76RPZr3YT2r7032qlBMzpyGOxqgXNpDPCbIvJj4wBMJltYa0sf5M5
|
||||||
|
94a6J9wkBfGqLx5qCjWVNUWQuttmLReqdvWxn8mAebVatj+/Y7AvbkOLEF580Ojd
|
||||||
|
sgR2B0MB41GU4kUlToI/M045kre83e/o+ylOomgsAgRCtBr0yHS2tGvow9h5CxiB
|
||||||
|
cibzwK5T7jF3PJ9HM7xh4eq9R9jazJKaZJ2Ebofg3KfcRWNfZTIdbbHycGFgioP+
|
||||||
|
08pewY04s4Y/R21cCNLc+pxLQOt6ZkRbXMtrx5hfhJm0yxaG9ozrkB8A2BJTnpHX
|
||||||
|
8EJ4iFzjNmtlM79o4fpBEuCrleHtFvFso+KZoDGREFP1H5TcxQ6HcAK2t5AF39O1
|
||||||
|
2VKNW0UU7WfqCZNkztIz
|
||||||
|
=dWRa
|
||||||
|
-----END PGP SIGNATURE-----
|
3
kmod-5.tar.xz
Normal file
3
kmod-5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2cb014f9f95575f1bc4b1f9babb6199a9b8c37fb1b38dc4340a2bcf230e66086
|
||||||
|
size 875556
|
38
kmod-so-version.diff
Normal file
38
kmod-so-version.diff
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
|
||||||
|
Change the kmod Makefile from using -version-info to -version-number
|
||||||
|
to make it clear that the kmod project is not trying to subvert the
|
||||||
|
libtool "interface" number concept, but in fact does not do
|
||||||
|
libtool-style counting.
|
||||||
|
|
||||||
|
References: <alpine.LNX.2.01.1202070049200.12889@frira.zrqbmnf.qr>
|
||||||
|
References: http://lists.gnu.org/archive/html/libtool/2012-02/msg00011.html
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile.am | 9 ++++-----
|
||||||
|
1 file changed, 4 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
Index: kmod-5/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- kmod-5.orig/Makefile.am
|
||||||
|
+++ kmod-5/Makefile.am
|
||||||
|
@@ -39,9 +39,8 @@ SED_PROCESS = \
|
||||||
|
%.pc: %.pc.in Makefile
|
||||||
|
$(SED_PROCESS)
|
||||||
|
|
||||||
|
-LIBKMOD_CURRENT=2
|
||||||
|
-LIBKMOD_REVISION=0
|
||||||
|
-LIBKMOD_AGE=0
|
||||||
|
+LIBKMOD_SO_MAJOR=2
|
||||||
|
+LIBKMOD_SO_MINOR=0
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libkmod/libkmod-util.la
|
||||||
|
libkmod_libkmod_util_la_SOURCES = libkmod/libkmod-hash.c \
|
||||||
|
@@ -71,7 +70,7 @@ EXTRA_DIST += libkmod/libkmod.sym
|
||||||
|
EXTRA_DIST += libkmod/COPYING libkmod/README
|
||||||
|
|
||||||
|
libkmod_libkmod_la_LDFLAGS = $(AM_LDFLAGS) \
|
||||||
|
- -version-info $(LIBKMOD_CURRENT):$(LIBKMOD_REVISION):$(LIBKMOD_AGE) \
|
||||||
|
+ -version-number ${LIBKMOD_SO_MAJOR}:${LIBKMOD_SO_MINOR} \
|
||||||
|
-Wl,--version-script=$(top_srcdir)/libkmod/libkmod.sym
|
||||||
|
libkmod_libkmod_la_DEPENDENCIES = libkmod/libkmod-util.la \
|
||||||
|
${top_srcdir}/libkmod/libkmod.sym
|
15
kmod.changes
15
kmod.changes
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 7 00:56:51 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Update to new upstream release 5
|
||||||
|
* modprobe no longer works with paths: it only accepts module names
|
||||||
|
and/or aliases now. More code is now shared by libkmod and
|
||||||
|
modprobe.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 20 18:13:50 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Update to new upstream release 4
|
||||||
|
* new APIs in libkmod: blacklists, install/remove commands,
|
||||||
|
aliases, options, softdeps and dumping indexes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 6 00:48:41 UTC 2012 - jengelh@medozas.de
|
Fri Jan 6 00:48:41 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
54
kmod.spec
54
kmod.spec
@ -16,25 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: kmod
|
Name: kmod
|
||||||
%define lname libkmod1
|
%define lname libkmod2
|
||||||
Summary: Utilities to load modules into the kernel
|
Summary: Utilities to load modules into the kernel
|
||||||
Version: 3
|
|
||||||
Release: 0
|
|
||||||
%define git_snapshot 0
|
|
||||||
License: LGPL-2.1+ and GPL-2.0+
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
|
Version: 5
|
||||||
|
Release: 0
|
||||||
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
|
#Git-Clone: git://git.profusion.mobi/kmod
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
|
Source2: %name-%version.tar.sign
|
||||||
|
Patch1: kmod-so-version.diff
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?git_snapshot}
|
BuildRequires: autoconf
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: automake
|
||||||
%endif
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig >= 0.23 pkgconfig(liblzma) pkgconfig(zlib) xz
|
BuildRequires: pkgconfig >= 0.23
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(liblzma) >= 4.99
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
kmod is a set of tools to handle common tasks with Linux kernel
|
kmod is a set of tools to handle common tasks with Linux kernel
|
||||||
@ -69,23 +72,23 @@ list modules, also checking its properties, dependencies and aliases.
|
|||||||
|
|
||||||
%package -n libkmod-devel
|
%package -n libkmod-devel
|
||||||
Summary: Development files for libkmod
|
Summary: Development files for libkmod
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description -n libkmod-devel
|
%description -n libkmod-devel
|
||||||
libkmod was created to allow programs to easily insert, remove and
|
libkmod was created to allow programs to easily insert, remove and
|
||||||
list modules, also checking its properties, dependencies and aliases.
|
list modules, also checking its properties, dependencies and aliases.
|
||||||
|
|
||||||
|
This package contains the development headers for the library found
|
||||||
|
in %lname.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?git_snapshot}
|
autoreconf -fi;
|
||||||
if [ ! -e configure ]; then
|
|
||||||
autoreconf -fi;
|
|
||||||
fi;
|
|
||||||
%endif
|
|
||||||
# The extra --includedir gives us the possibility to detect dependent
|
# The extra --includedir gives us the possibility to detect dependent
|
||||||
# packages which fail to properly use pkgconfig.
|
# packages which fail to properly use pkgconfig.
|
||||||
%configure --with-xz --with-zlib --includedir=%_includedir/%name-%version \
|
%configure --with-xz --with-zlib --includedir=%_includedir/%name-%version \
|
||||||
@ -116,20 +119,35 @@ make check
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/bin/kmod
|
/bin/kmod
|
||||||
|
%_mandir/man5/modules.dep.bin.5*
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%_lib/libkmod.so.1*
|
/%_lib/libkmod.so.2*
|
||||||
|
|
||||||
%files -n libkmod-devel
|
%files -n libkmod-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_includedir/*
|
%_includedir/*
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/libkmod.pc
|
||||||
%_libdir/libkmod.so
|
%_libdir/libkmod.so
|
||||||
|
|
||||||
%files compat
|
%files compat
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/bin/lsmod
|
/bin/lsmod
|
||||||
/sbin/*
|
/sbin/depmod
|
||||||
|
/sbin/insmod
|
||||||
|
/sbin/lsmod
|
||||||
|
/sbin/modinfo
|
||||||
|
/sbin/modprobe
|
||||||
|
/sbin/rmmod
|
||||||
|
%_mandir/man5/depmod.d.5*
|
||||||
|
%_mandir/man5/modprobe.d.5*
|
||||||
|
%_mandir/man5/modules.dep.5*
|
||||||
|
%_mandir/man8/depmod.8*
|
||||||
|
%_mandir/man8/insmod.8*
|
||||||
|
%_mandir/man8/lsmod.8*
|
||||||
|
%_mandir/man8/modinfo.8*
|
||||||
|
%_mandir/man8/modprobe.8*
|
||||||
|
%_mandir/man8/rmmod.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user