diff --git a/timezone-java.changes b/timezone-java.changes index 56d77b0..daf91ed 100644 --- a/timezone-java.changes +++ b/timezone-java.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Apr 2 18:21:23 UTC 2015 - crrodriguez@opensuse.org + +- BuildRequire suse-module-tools otherwise initrd macros + are never defined. + +------------------------------------------------------------------- +Sat Mar 28 21:00:31 UTC 2015 - crrodriguez@opensuse.org + +- we should regenerate the initrd when the timezone + package is updated, as the timezone selected by the user + plus UTC is nowadays required by SUSE-specific "warpclock" + dracut module. + ------------------------------------------------------------------- Sat Mar 21 08:42:15 UTC 2015 - astieger@suse.com diff --git a/timezone.changes b/timezone.changes index 56d77b0..daf91ed 100644 --- a/timezone.changes +++ b/timezone.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Apr 2 18:21:23 UTC 2015 - crrodriguez@opensuse.org + +- BuildRequire suse-module-tools otherwise initrd macros + are never defined. + +------------------------------------------------------------------- +Sat Mar 28 21:00:31 UTC 2015 - crrodriguez@opensuse.org + +- we should regenerate the initrd when the timezone + package is updated, as the timezone selected by the user + plus UTC is nowadays required by SUSE-specific "warpclock" + dracut module. + ------------------------------------------------------------------- Sat Mar 21 08:42:15 UTC 2015 - astieger@suse.com diff --git a/timezone.spec b/timezone.spec index b920681..8266aa3 100644 --- a/timezone.spec +++ b/timezone.spec @@ -40,6 +40,8 @@ Patch4: tzcode-link.diff Patch5: tzcode-symlink.patch # COMMON-END BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: suse-module-tools + %global AREA Etc %global ZONE UTC @@ -123,6 +125,10 @@ fi if [ -e /usr/share/zoneinfo/posixrules.rpmnew ]; then rm -f /usr/share/zoneinfo/posixrules.rpmnew fi +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans} %files %defattr(-,root,root)