forked from pool/timezone
- timezone modifies a file below /usr/share (boo#1172521)
- timezone modifies a file below /usr/share (boo#1172521) OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=250
This commit is contained in:
parent
748e71eebe
commit
655e716f3d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 5 10:19:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- timezone modifies a file below /usr/share (boo#1172521)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 12:26:47 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 5 10:19:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- timezone modifies a file below /usr/share (boo#1172521)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 12:26:47 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -21,7 +21,6 @@ Summary: Time Zone Descriptions
|
||||
License: BSD-3-Clause AND SUSE-Public-Domain
|
||||
Group: System/Base
|
||||
URL: http://www.iana.org/time-zones
|
||||
PreReq: filesystem, coreutils
|
||||
# COMMON-BEGIN
|
||||
Version: 2020a
|
||||
Release: 0
|
||||
@ -90,19 +89,9 @@ install -D -m 755 tzselect %{buildroot}%{_bindir}/tzselect
|
||||
install -D -m 755 zdump %{buildroot}%{_sbindir}/zdump
|
||||
install -D -m 755 zic %{buildroot}%{_sbindir}/zic
|
||||
|
||||
%post
|
||||
if [ ! -L /usr/share/zoneinfo/posixrules ]; then
|
||||
rm -f /usr/share/zoneinfo/posixrules
|
||||
ln -sf /etc/localtime /usr/share/zoneinfo/posixrules
|
||||
fi
|
||||
if [ -e /usr/share/zoneinfo/posixrules.rpmnew ]; then
|
||||
rm -f /usr/share/zoneinfo/posixrules.rpmnew
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%verify(not link md5 size mtime) %config(missingok,noreplace) /etc/localtime
|
||||
%verify(not link md5 size mtime) %{_datadir}/zoneinfo/posixrules
|
||||
%{_datadir}/zoneinfo
|
||||
%{_bindir}/tzselect
|
||||
%{_sbindir}/zdump
|
||||
|
Loading…
Reference in New Issue
Block a user