- Rebuild the initrd if this package changes (and we are not

building the -mini version)

Rev filesystems/71 Md5 3a7ec38eaa7828e236031627b3abefb7 2016-07-25 11:02:06 dirkmueller 414763
This commit is contained in:
OBS User dirkmueller 2016-07-25 11:02:06 +00:00 committed by Git OBS Bridge
parent 4932575797
commit 3b44300bb0
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 23 18:24:39 UTC 2016 - crrodriguez@opensuse.org
- Rebuild the initrd if this package changes (and we are not
building the -mini version)
-------------------------------------------------------------------
Mon Jun 20 14:58:12 UTC 2016 - jack@suse.cz

View File

@ -32,6 +32,9 @@ BuildRequires: pkg-config
%if 0%{?suse_version} > 1220
BuildRequires: makeinfo
%endif
%if 0%{?suse_version} >= 1310
BuildRequires: suse-module-tools
%endif
# Define info macros if missing (for Fedora builds)
%if 0%{!?%install_info_prereq:1}
%define install_info_prereq info
@ -285,12 +288,19 @@ done
/sbin/ldconfig
%if ! %{build_mini}
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%{?regenerate_initrd_post}
%endif
%postun
/sbin/ldconfig
%if ! %{build_mini}
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%{?regenerate_initrd_post}
%endif
%if ! %{build_mini}
%posttrans
%{?regenerate_initrd_posttrans}
%endif
%if %{build_mini}