[packages/tzdata] - unbroke GMT zone files, release 2

qboosh qboosh at pld-linux.org
Fri Jan 22 20:20:51 CET 2021


commit 136ee967f9713b2d0675332b5e2319cc084683f1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jan 22 20:21:02 2021 +0100

    - unbroke GMT zone files, release 2

 tzdata.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index 5d8df43..bd38e1b 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -19,7 +19,7 @@ Summary:	Timezone data
 Summary(pl.UTF-8):	Dane o strefach czasowych
 Name:		tzdata
 Version:	2020f
-Release:	1
+Release:	2
 License:	Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:		Base
 #Source0Download: https://www.iana.org/time-zones
@@ -193,6 +193,8 @@ ln -sf %{_sysconfdir}/localtime	$RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
 
+# zic>=2020b installs localtime as hardlink to GMT, so remove first not break GMT zone files
+%{__rm} $RPM_BUILD_ROOT/etc/localtime
 > $RPM_BUILD_ROOT/etc/localtime
 
 # header file
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/136ee967f9713b2d0675332b5e2319cc084683f1



More information about the pld-cvs-commit mailing list