From 6a3441d3bd8a2951b7829899e71e5c204ab90790 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 25 Jul 2016 11:02:06 +0000 Subject: [PATCH] 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 --- e2fsprogs.changes | 6 ++++++ e2fsprogs.spec | 10 ++++++++++ 2 files changed, 16 insertions(+) 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}