Annotate patch; trim changelog to the important things; place in current URLs
OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=33
This commit is contained in:
parent
4c5553e792
commit
00869a7727
@ -1,3 +1,8 @@
|
|||||||
|
Author: Robert Milasan <rmilasan@suse.com>
|
||||||
|
Date: 2012-06-20 08:41:03 +0000
|
||||||
|
|
||||||
|
Fix broken testsuites on 32-bit systems.
|
||||||
|
|
||||||
diff --git a/testsuite/init_module.c b/testsuite/init_module.c
|
diff --git a/testsuite/init_module.c b/testsuite/init_module.c
|
||||||
index 814998a..ed8b9fc 100644
|
index 814998a..ed8b9fc 100644
|
||||||
--- a/testsuite/init_module.c
|
--- a/testsuite/init_module.c
|
||||||
|
@ -18,7 +18,7 @@ Index: kmod-9/Makefile.am
|
|||||||
|
|
||||||
libkmod_libkmod_la_LDFLAGS = $(AM_LDFLAGS) \
|
libkmod_libkmod_la_LDFLAGS = $(AM_LDFLAGS) \
|
||||||
- -version-info $(LIBKMOD_CURRENT):$(LIBKMOD_REVISION):$(LIBKMOD_AGE) \
|
- -version-info $(LIBKMOD_CURRENT):$(LIBKMOD_REVISION):$(LIBKMOD_AGE) \
|
||||||
+ -version-number 2:1 \
|
+ -version-number 2:1:3 \
|
||||||
-Wl,--version-script=$(top_srcdir)/libkmod/libkmod.sym
|
-Wl,--version-script=$(top_srcdir)/libkmod/libkmod.sym
|
||||||
libkmod_libkmod_la_DEPENDENCIES = libkmod/libkmod-util.la \
|
libkmod_libkmod_la_DEPENDENCIES = libkmod/libkmod-util.la \
|
||||||
${top_srcdir}/libkmod/libkmod.sym
|
${top_srcdir}/libkmod/libkmod.sym
|
||||||
|
15
kmod.changes
15
kmod.changes
@ -2,17 +2,12 @@
|
|||||||
Wed Jun 20 08:41:03 UTC 2012 - rmilasan@suse.com
|
Wed Jun 20 08:41:03 UTC 2012 - rmilasan@suse.com
|
||||||
|
|
||||||
- Update to new upstream release 9
|
- Update to new upstream release 9
|
||||||
* build-sys: allow compressed modules in testsuite
|
* Handle errors when dealing with gzip'ed modules
|
||||||
* build-sys: Make dirs writable on rootfs creation
|
* depmod now handles and prints errors while writing indexes, such
|
||||||
* depmod: use ferror and fclose to check for error
|
that the user won't have a corrupted index without knowing it
|
||||||
* depmod: return error when index is truncated due to ENOSPC
|
- Fix broken testsuites on 32-bit systems.
|
||||||
* depmod: fix coding-style issue in array declaration
|
|
||||||
* depmod: fail if any index could not be created
|
|
||||||
* depmod: don't return error if modules.builtin don't exist
|
|
||||||
* libkmod-util: split function for usec conversion
|
|
||||||
* libkmod-util: add missing stdbool.h include
|
|
||||||
- Fix broken testsuites on 32bit systems.
|
|
||||||
add: fix-32bits.diff
|
add: fix-32bits.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 21 01:55:30 UTC 2012 - jengelh@medozas.de
|
Sat Apr 21 01:55:30 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
37
kmod.spec
37
kmod.spec
@ -23,12 +23,13 @@ License: LGPL-2.1+ and GPL-2.0+
|
|||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Version: 9
|
Version: 9
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.politreco.com/2011/12/announce-kmod-2/
|
Url: http://www.jonmasters.org/blog/2011/12/20/libkmod-replaces-module-init-tools/
|
||||||
|
#Announce: https://lwn.net/Articles/502622/
|
||||||
|
|
||||||
#Git-Web: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
#Git-Web: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
||||||
#Git-Clone: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
|
#Git-Clone: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
|
||||||
Source: %name-%version.tar.xz
|
Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.tar.xz
|
||||||
Source2: %name-%version.tar.sign
|
Source2: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.tar.sign
|
||||||
Patch1: kmod-so-version.diff
|
Patch1: kmod-so-version.diff
|
||||||
Patch2: fix-32bits.diff
|
Patch2: fix-32bits.diff
|
||||||
|
|
||||||
@ -97,32 +98,32 @@ autoreconf -fi
|
|||||||
%configure \
|
%configure \
|
||||||
--with-xz \
|
--with-xz \
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
--includedir=%_includedir/%{name}-%{version} \
|
--includedir="%_includedir/%name-%version" \
|
||||||
--with-rootlibdir=%{_libdir} \
|
--with-rootlibdir="%_libdir" \
|
||||||
--bindir=%{_bindir}
|
--bindir="%_bindir"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f %buildroot/%_libdir/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
# kmod-compat
|
# kmod-compat
|
||||||
#UsrMerge
|
#UsrMerge
|
||||||
mkdir -p %buildroot/bin
|
mkdir -p "%buildroot"/{bin,sbin,%_lib};
|
||||||
mkdir -p %buildroot/sbin
|
ln -s "%_bindir/kmod" "%buildroot/bin/";
|
||||||
mkdir -p %buildroot/%_lib
|
ln -s "%_bindir/kmod" "%buildroot/bin/lsmod";
|
||||||
ln -s %{_bindir}/kmod %buildroot/bin
|
|
||||||
ln -s %{_bindir}/kmod %buildroot/bin/lsmod
|
|
||||||
for i in depmod insmod lsmod modinfo modprobe rmmod; do
|
for i in depmod insmod lsmod modinfo modprobe rmmod; do
|
||||||
ln -s %{_bindir}/kmod %buildroot/sbin/$i
|
ln -s "%_bindir/kmod" "%buildroot/sbin/$i";
|
||||||
done;
|
done;
|
||||||
ln -s %_libdir/libkmod.so.2 %buildroot/%_lib
|
%if "%_libdir" != "/%_lib"
|
||||||
ln -s %_libdir/libkmod.so.2.1.0 %buildroot/%_lib
|
ln -s "%_libdir/libkmod.so.2" "%buildroot/%_lib/";
|
||||||
|
ln -s "%_libdir/libkmod.so.2.1.3" "%buildroot/%_lib/";
|
||||||
|
%endif
|
||||||
#EndUsrMerge
|
#EndUsrMerge
|
||||||
mkdir -p %buildroot/%{_sbindir}
|
mkdir -p "%buildroot/%_sbindir";
|
||||||
ln -s %{_bindir}/kmod %buildroot/%{_bindir}/lsmod
|
ln -s "%_bindir/kmod" "%buildroot/%_bindir/lsmod";
|
||||||
for i in depmod insmod lsmod modinfo modprobe rmmod; do
|
for i in depmod insmod lsmod modinfo modprobe rmmod; do
|
||||||
ln -s %{_bindir}/kmod %buildroot/%{_sbindir}/$i
|
ln -s "%_bindir/kmod" "%buildroot/%_sbindir/$i";
|
||||||
done;
|
done;
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user