From a1b181ec5e0a4d888a3d7123b4ff90615cb4ce6378d31851b7888daba6ba40a1 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 11 Apr 2015 07:54:18 +0000 Subject: [PATCH] Accepting request 294241 from home:elvigia:branches:Base:System - BuildRequire suse-module-tools otherwise initrd macros are never defined. - 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. - BuildRequire suse-module-tools otherwise initrd macros are never defined. - 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. OBS-URL: https://build.opensuse.org/request/show/294241 OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=156 --- timezone-java.changes | 14 ++++++++++++++ timezone.changes | 14 ++++++++++++++ timezone.spec | 6 ++++++ 3 files changed, 34 insertions(+) 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)