diff --git a/kmod.changes b/kmod.changes index 12677dd..9d35bdd 100644 --- a/kmod.changes +++ b/kmod.changes @@ -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 diff --git a/kmod.spec b/kmod.spec index 76fe17a..c717809 100644 --- a/kmod.spec +++ b/kmod.spec @@ -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