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
This commit is contained in:
Marcus Meissner 2015-04-11 07:54:18 +00:00 committed by Git OBS Bridge
parent db4e5a3b33
commit a1b181ec5e
3 changed files with 34 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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)