remove the tzdata rearguard.tar.gz to build

(cherry picked from commit af93124647e14cd808a314f73cbd5d02d9e8599d)
This commit is contained in:
huangduirong 2022-10-10 22:13:50 +08:00 committed by openeuler-sync-bot
parent 060eb42cef
commit b149228b13

View File

@ -1,6 +1,6 @@
Name: tzdata
Version: 2022a
Release: 5
Release: 6
Summary: Timezone data
License: Public Domain
URL: https://www.iana.org/time-zones
@ -40,10 +40,6 @@ This package contains timezone information for use by Java runtimes.
%prep
%autosetup -c -a 1 -p1
make VERSION=%{version} tzdata%{version}-rearguard.tar.gz
tar zxf tzdata%{version}-rearguard.tar.gz
rm tzdata.zi main.zi
mkdir javazic
tar zxf %{SOURCE2} -C javazic
cd javazic
@ -59,6 +55,10 @@ tar xf %{SOURCE3}
echo "%{name}%{version}" >> VERSION
%build
make VERSION=%{version} tzdata%{version}-rearguard.tar.gz
tar zxf tzdata%{version}-rearguard.tar.gz
rm tzdata.zi main.zi
make VERSION=%{version} DATAFORM=rearguard tzdata.zi
make VERSION=%{version} DATAFORM=rearguard main.zi
@ -113,6 +113,12 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/
%{_datadir}/javazi-1.8
%changelog
* Mon Oct 10 2022 huangduirong<huangduirong@huawei.com> - 2022a-6
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:move the tzdata rearguard.tar.gz to build
* Fri Sep 2 2022 qinyu<qinyu32@huawei.com> - 2022a-5
- Type:bugfix
- CVE:NA