diff --git a/e2fsprogs.changes b/e2fsprogs.changes index 0f04b98..d063cdc 100644 --- a/e2fsprogs.changes +++ b/e2fsprogs.changes @@ -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 diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 12bd5fa..b7da9f9 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -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}