OBS User unknown 2007-09-10 11:05:14 +00:00 committed by Git OBS Bridge
parent 5cb4b6c9b4
commit 77825468f7
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 Tue Aug 21 19:19:55 CEST 2007 - pbaudis@suse.cz

View File

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