2020-08-07 06:17:52 +03:00
|
|
|
Summary: Time zone data
|
|
|
|
Name: tzdata
|
2023-03-31 01:15:40 +03:00
|
|
|
Version: 2023c
|
2020-10-16 20:34:54 +03:00
|
|
|
Release: 1%{?dist}
|
2020-08-07 06:17:52 +03:00
|
|
|
License: Public Domain
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
Distribution: Mariner
|
2020-10-16 20:34:54 +03:00
|
|
|
Group: Applications/System
|
|
|
|
URL: https://www.iana.org/time-zones
|
2020-08-07 06:17:52 +03:00
|
|
|
Source0: https://data.iana.org/time-zones/releases/%{name}%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Sources for time zone and daylight saving time data
|
2020-10-16 20:34:54 +03:00
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
%define blddir %{name}-%{version}
|
|
|
|
|
|
|
|
%prep
|
|
|
|
rm -rf %{blddir}
|
|
|
|
install -vdm 755 %{blddir}
|
|
|
|
cd %{blddir}
|
|
|
|
tar xf %{SOURCE0} --no-same-owner
|
2020-10-16 20:34:54 +03:00
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
%build
|
2020-10-16 20:34:54 +03:00
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
%install
|
|
|
|
cd %{blddir}
|
|
|
|
ZONEINFO=%{buildroot}%{_datarootdir}/zoneinfo
|
|
|
|
install -vdm 755 $ZONEINFO/{posix,right}
|
|
|
|
for tz in etcetera southamerica northamerica europe africa antarctica \
|
2020-10-16 20:34:54 +03:00
|
|
|
asia australasia backward; do
|
2020-08-07 06:17:52 +03:00
|
|
|
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}
|
|
|
|
done
|
|
|
|
cp -v zone.tab iso3166.tab zone1970.tab $ZONEINFO
|
|
|
|
zic -d $ZONEINFO -p America/New_York
|
|
|
|
install -vdm 755 %{buildroot}%{_sysconfdir}
|
|
|
|
ln -svf %{_datarootdir}/zoneinfo/UTC %{buildroot}%{_sysconfdir}/localtime
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%license %{blddir}/LICENSE
|
|
|
|
%config(noreplace) %{_sysconfdir}/localtime
|
|
|
|
%{_datadir}/*
|
|
|
|
|
|
|
|
%changelog
|
2023-03-31 01:15:40 +03:00
|
|
|
* Thu Mar 30 2023 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2023c-1
|
|
|
|
- Update to version "2023c".
|
|
|
|
|
2022-12-01 03:37:25 +03:00
|
|
|
* Wed Nov 30 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022g-1
|
|
|
|
- Update to version "2022g".
|
|
|
|
|
2022-10-31 00:54:04 +03:00
|
|
|
* Sun Oct 30 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022f-1
|
|
|
|
- Update to version "2022f".
|
|
|
|
|
2022-10-12 18:35:59 +03:00
|
|
|
* Wed Oct 12 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022e-1
|
|
|
|
- Update to version "2022e".
|
|
|
|
|
2022-09-26 21:46:45 +03:00
|
|
|
* Mon Sep 26 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022d-1
|
|
|
|
- Update to version "2022d".
|
|
|
|
|
2022-08-17 04:44:15 +03:00
|
|
|
* Tue Aug 16 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022c-1
|
|
|
|
- Update to version "2022c".
|
|
|
|
|
2022-08-11 22:04:38 +03:00
|
|
|
* Thu Aug 11 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022b-1
|
|
|
|
- Update to version "2022b".
|
|
|
|
|
2022-05-07 01:37:10 +03:00
|
|
|
* Fri May 06 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2022a-1
|
|
|
|
- Update to version "2022a".
|
|
|
|
|
2021-04-06 01:41:50 +03:00
|
|
|
* Mon Apr 05 2021 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2021a-1
|
|
|
|
- Update to version "2021a".
|
|
|
|
- Removed 'pacificnew' and 'systemv' from parsed zone info, since they have been removed from the sources.
|
|
|
|
|
2020-10-16 20:34:54 +03:00
|
|
|
* 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
|
2020-08-07 06:17:52 +03:00
|
|
|
- Added %%license line automatically
|
|
|
|
|
2020-10-16 20:34:54 +03:00
|
|
|
* 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
|