]> git.pld-linux.org Git - packages/tzdata.git/commitdiff
- unbroke GMT zone files, release 2 auto/th/tzdata-2020f-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 Jan 2021 19:21:02 +0000 (20:21 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 Jan 2021 19:21:02 +0000 (20:21 +0100)
tzdata.spec

index 5d8df43b8e57dc773d6170b202a6eba986e32234..bd38e1bd8c655c736f9beaadc7d2124cd096e002 100644 (file)
@@ -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
This page took 0.188743 seconds and 4 git commands to generate.