Update tzdata to 2020b (#194)

This commit is contained in:
Thomas Crain 2020-10-16 10:34:54 -07:00 committed by GitHub
parent 36308cceed
commit aa98edb3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 37 deletions

View File

@ -1,5 +1,5 @@
{
"Signatures": {
"tzdata2019c.tar.gz": "79c7806dab09072308da0e3d22c37d3b245015a591891ea147d3b133b60ffc7c"
"tzdata2020b.tar.gz": "9b053f951d245ce89d850b96ee4711d82d833559b1fc96ba19f90bc4d745e809"
}
}

View File

@ -1,18 +1,18 @@
Summary: Time zone data
Name: tzdata
Version: 2019c
Release: 3%{?dist}
URL: https://www.iana.org/time-zones
Version: 2020b
Release: 1%{?dist}
License: Public Domain
Group: Applications/System
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Applications/System
URL: https://www.iana.org/time-zones
Source0: https://data.iana.org/time-zones/releases/%{name}%{version}.tar.gz
BuildArch: noarch
%description
Sources for time zone and daylight saving time data
%define blddir %{name}-%{version}
%prep
@ -20,16 +20,18 @@ rm -rf %{blddir}
install -vdm 755 %{blddir}
cd %{blddir}
tar xf %{SOURCE0} --no-same-owner
%build
%install
cd %{blddir}
ZONEINFO=%{buildroot}%{_datarootdir}/zoneinfo
install -vdm 755 $ZONEINFO/{posix,right}
for tz in etcetera southamerica northamerica europe africa antarctica \
asia australasia backward pacificnew systemv; do
zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
asia australasia backward; do
zic -L /dev/null -d $ZONEINFO ${tz}
zic -L /dev/null -d $ZONEINFO/posix ${tz}
zic -L leapseconds -d $ZONEINFO/right ${tz}
done
cp -v zone.tab iso3166.tab zone1970.tab $ZONEINFO
zic -d $ZONEINFO -p America/New_York
@ -43,30 +45,45 @@ ln -svf %{_datarootdir}/zoneinfo/UTC %{buildroot}%{_sysconfdir}/localtime
%{_datadir}/*
%changelog
* Sat May 09 00:21:12 PST 2020 Nick Samson <nisamson@microsoft.com> - 2019c-3
* Fri Oct 09 2020 Thomas Crain <thcrain@microsoft.com> - 2020b-1
- Update to 2020b
- Update %%install section to reflect removal of deprecated files
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 2019c-3
- Added %%license line automatically
* Tue Apr 07 2020 Paul Monson <paulmon@microsoft.com> 2019c-2
- Fix Source0.
* Wed Mar 18 2020 Henry Beberman <henry.beberman@microsoft.com> 2019c-1
- Update to 2019c. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2019a-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Wed May 22 2019 Gerrit Photon <photon-checkins@vmware.com> 2019a-1
- Automatic Version Bump
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> 2017b-3
- Add zone1970.tab to zoneinfo
* Mon May 01 2017 Bo Gan <ganb@vmware.com> 2017b-2
- Remove (pre/post)trans, config file as noreplace.
* Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 2017b-1
- Updated to version 2017b.
* Wed Dec 14 2016 Anish Swaminathan <anishs@vmware.com> 2016h-2
- Preserve /etc/localtime symlink over upgrade
* Thu Oct 27 2016 Anish Swaminathan <anishs@vmware.com> 2016h-1
- Upgrade to 2016h
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2016a-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2016a-1
- Upgraded to version 2016a
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2013i-1
- Initial build. First version
* Tue Apr 07 2020 Paul Monson <paulmon@microsoft.com> - 2019c-2
- Fix Source0.
* Wed Mar 18 2020 Henry Beberman <henry.beberman@microsoft.com> - 2019c-1
- Update to 2019c. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2019a-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Wed May 22 2019 Gerrit Photon <photon-checkins@vmware.com> - 2019a-1
- Automatic Version Bump
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> - 2017b-3
- Add zone1970.tab to zoneinfo
* Mon May 01 2017 Bo Gan <ganb@vmware.com> - 2017b-2
- Remove (pre/post)trans, config file as noreplace.
* Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> - 2017b-1
- Updated to version 2017b.
* Wed Dec 14 2016 Anish Swaminathan <anishs@vmware.com> - 2016h-2
- Preserve /etc/localtime symlink over upgrade
* Thu Oct 27 2016 Anish Swaminathan <anishs@vmware.com> - 2016h-1
- Upgrade to 2016h
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2016a-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 2016a-1
- Upgraded to version 2016a
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> - 2013i-1
- Initial build. First version

View File

@ -5725,8 +5725,8 @@
"type": "other",
"other": {
"name": "tzdata",
"version": "2019c",
"downloadUrl": "https://data.iana.org/time-zones/releases/tzdata2019c.tar.gz"
"version": "2020b",
"downloadUrl": "https://data.iana.org/time-zones/releases/tzdata2020b.tar.gz"
}
}
},