Accepting request 98112 from home:elvigia:branches:Base:System
- Use --enable-zlib and buildRequire zlib - run make check OBS-URL: https://build.opensuse.org/request/show/98112 OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=6
This commit is contained in:
parent
f47a30976e
commit
f12ff053f5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 24 17:23:09 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Use --enable-zlib and buildRequire zlib
|
||||
- run make check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 18 20:16:11 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
|
@ -33,6 +33,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: automake, libtool
|
||||
%endif
|
||||
BuildRequires: pkgconfig, xz
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
%description
|
||||
kmod is a set of tools to handle common tasks with Linux kernel
|
||||
@ -86,7 +87,7 @@ 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 --enable-zlib --includedir=%_includedir/%name-%version \
|
||||
--with-rootlibdir=/%_lib --bindir=/bin
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -104,6 +105,9 @@ 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
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user