SPECS: tzdata.spec - rel 7; revert /etc/localtime removal (rpm has...

arekm arekm at pld-linux.org
Tue Mar 4 20:40:31 CET 2008


Author: arekm                        Date: Tue Mar  4 19:40:31 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 7; revert /etc/localtime removal (rpm has deps on symlinks)

---- Files affected:
SPECS:
   tzdata.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/tzdata.spec
diff -u SPECS/tzdata.spec:1.38 SPECS/tzdata.spec:1.39
--- SPECS/tzdata.spec:1.38	Tue Mar  4 17:36:55 2008
+++ SPECS/tzdata.spec	Tue Mar  4 20:40:26 2008
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Dane o strefach czasowych
 Name:		tzdata
 Version:	%{tzdata_ver}
-Release:	6
+Release:	7
 License:	Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:		Base
 Source0:	%{name}-base-0.tar.bz2
@@ -99,6 +99,8 @@
 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
 
+> $RPM_BUILD_ROOT/etc/localtime
+
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/timezone
 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/timezone
 
@@ -120,6 +122,7 @@
 %files
 %defattr(644,root,root,755)
 %doc tzcode%{version}/README tzcode%{version}/Theory tzcode%{version}/tz-link.html
+%ghost /etc/localtime
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/timezone
 %attr(754,root,root) /etc/rc.d/init.d/timezone
 
@@ -136,6 +139,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2008-03-04 19:40:26  arekm
+- rel 7; revert /etc/localtime removal (rpm has deps on symlinks)
+
 Revision 1.38  2008-03-04 16:36:55  arekm
 - rel 6; there is no cp -c in newer coreutils (and is not needed)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tzdata.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list