Accepting request 294252 from Base:System

- If kmod packge changes, regenerate the initrd. (forwarded request 294242 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/294252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmod?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2015-04-05 22:25:37 +00:00 committed by Git OBS Bridge
commit 4ed5e9e05f
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 2 18:24:23 UTC 2015 - crrodriguez@opensuse.org
- If kmod packge changes, regenerate the initrd.
-------------------------------------------------------------------
Fri Mar 6 07:58:19 UTC 2015 - meissner@suse.com

View File

@ -42,6 +42,7 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
BuildRequires: suse-module-tools
BuildRequires: xz
%if 0%{?sles_version} == 11
BuildRequires: xz-devel >= 4.99
@ -158,6 +159,12 @@ ln -s "%_libdir/libkmod.so.2.2.9" "$b/%_lib/";
%check
make check V=1
%post
%{?regenerate_initrd_post}
%posttrans
%{?regenerate_initrd_posttrans}
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig