SHA256
1
0
forked from pool/timezone
OBS User unknown 2007-09-10 11:05:14 +00:00 committed by Git OBS Bridge
parent 2c98c71a54
commit 5beaaeacc1
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 8 16:12:14 CEST 2007 - pbaudis@suse.cz
- Fix %post script to work in patch RPMs as well
-------------------------------------------------------------------
Tue Aug 21 19:19:55 CEST 2007 - pbaudis@suse.cz

View File

@ -16,7 +16,7 @@ Summary: Timezone Descriptions
Group: System/Base
Autoreqprov: on
Version: 2007g
Release: 1
Release: 5
URL: http://www.gnu.org/software/libc/libc.html
PreReq: filesystem
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -67,7 +67,8 @@ if [ -f /etc/sysconfig/clock ];
then
. /etc/sysconfig/clock
if [ -n "$TIMEZONE" -a -f /etc/localtime -a -f /usr/share/zoneinfo/$TIMEZONE ]; then
cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime
cp -l /usr/share/zoneinfo/$TIMEZONE /etc/localtime.$$ 2>/dev/null || cp -f /usr/share/zoneinfo/$TIMEZONE /etc/localtime.$$
mv /etc/localtime.$$ /etc/localtime
else
[ ! -f /etc/localtime ] || echo "WARNING: Not updating /etc/localtime with new zone file" >&2
fi
@ -82,6 +83,8 @@ fi
%{_sbindir}/zic
%changelog
* Sat Sep 08 2007 - pbaudis@suse.cz
- Fix %%post script to work in patch RPMs as well
* Tue Aug 21 2007 - pbaudis@suse.cz
- Update to version 2007g
* Wed Aug 08 2007 - pbaudis@suse.cz