From f12ff053f53c0fdb25a5d6bb3472be543c07d502edb7085baa690b3fb609a293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sat, 24 Dec 2011 18:04:23 +0000 Subject: [PATCH] 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 --- kmod.changes | 6 ++++++ kmod.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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