Accepting request 414763 from home:elvigia:branches:filesystems

- Rebuild the initrd if this package changes (and we are not 
  building the -mini version)

OBS-URL: https://build.opensuse.org/request/show/414763
OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=71
This commit is contained in:
Dirk Mueller 2016-07-25 11:02:06 +00:00 committed by Git OBS Bridge
parent d430498e31
commit 6a3441d3bd
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}