Preserve hardlinks
This commit is contained in:
parent
bd538743d0
commit
d88b315f49
11
tzdata.spec
11
tzdata.spec
@ -3,7 +3,7 @@ Name: tzdata
|
|||||||
Version: 2012i
|
Version: 2012i
|
||||||
%define tzdata_version 2012i
|
%define tzdata_version 2012i
|
||||||
%define tzcode_version 2012i
|
%define tzcode_version 2012i
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: https://www.iana.org/time-zones
|
URL: https://www.iana.org/time-zones
|
||||||
@ -79,9 +79,9 @@ java -classpath javazic/ rht.tools.javazic.Main -V %{version} \
|
|||||||
%install
|
%install
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -fr $RPM_BUILD_ROOT
|
||||||
install -d $RPM_BUILD_ROOT%{_datadir}
|
install -d $RPM_BUILD_ROOT%{_datadir}
|
||||||
cp -pr zoneinfo $RPM_BUILD_ROOT%{_datadir}
|
cp -prd zoneinfo $RPM_BUILD_ROOT%{_datadir}
|
||||||
install -p -m 644 -t $RPM_BUILD_ROOT%{_datadir}/zoneinfo zone.tab iso3166.tab
|
install -p -m 644 zone.tab iso3166.tab $RPM_BUILD_ROOT%{_datadir}/zoneinfo
|
||||||
cp -pr javazi $RPM_BUILD_ROOT%{_datadir}/javazi
|
cp -prd javazi $RPM_BUILD_ROOT%{_datadir}/javazi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -98,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/javazi
|
%{_datadir}/javazi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 6 2012 Petr Machata <pmachata@redhat.com> - 2012i-2
|
||||||
|
- Preserve hardlinks that zic leaves behind, install with cp -d
|
||||||
|
|
||||||
* Mon Nov 5 2012 Petr Machata <pmachata@redhat.com> - 2012i-1
|
* Mon Nov 5 2012 Petr Machata <pmachata@redhat.com> - 2012i-1
|
||||||
- Upstream 2012i
|
- Upstream 2012i
|
||||||
- Cuba switched to DST
|
- Cuba switched to DST
|
||||||
|
Loading…
Reference in New Issue
Block a user