SHA256
1
0
forked from pool/timezone
OBS User unknown 2009-02-26 23:34:46 +00:00 committed by Git OBS Bridge
parent 2df834a3dd
commit f8d0fb7051
4 changed files with 26 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 24 13:51:01 CET 2009 - schwab@suse.de
- Don't copy directory into itself.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 23 13:30:01 CET 2009 - dmueller@suse.de Mon Feb 23 13:30:01 CET 2009 - dmueller@suse.de

View File

@ -26,7 +26,7 @@ Group: System/Base
# COMMON-BEGIN # COMMON-BEGIN
# COMMON-BEGIN # COMMON-BEGIN
Version: 2009b Version: 2009b
Release: 2 Release: 3
Source: tzdata%{version}.tar.gz Source: tzdata%{version}.tar.gz
%define tzcode_version 2009b %define tzcode_version 2009b
Source1: tzcode%{tzcode_version}.tar.gz Source1: tzcode%{tzcode_version}.tar.gz
@ -64,6 +64,8 @@ cp -a javazi $RPM_BUILD_ROOT%{_datadir}
%{_datadir}/javazi %{_datadir}/javazi
%changelog %changelog
* Tue Feb 24 2009 schwab@suse.de
- Don't copy directory into itself.
* Mon Feb 23 2009 dmueller@suse.de * Mon Feb 23 2009 dmueller@suse.de
- update to 2009b: - update to 2009b:
* leapseconds: updated to reflect no mid-2009 leap second * leapseconds: updated to reflect no mid-2009 leap second

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 24 13:51:01 CET 2009 - schwab@suse.de
- Don't copy directory into itself.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 23 13:30:01 CET 2009 - dmueller@suse.de Mon Feb 23 13:30:01 CET 2009 - dmueller@suse.de

View File

@ -26,7 +26,7 @@ Url: http://www.gnu.org/software/libc/libc.html
PreReq: filesystem, coreutils PreReq: filesystem, coreutils
# COMMON-BEGIN # COMMON-BEGIN
Version: 2009b Version: 2009b
Release: 2 Release: 3
Source: tzdata%{version}.tar.gz Source: tzdata%{version}.tar.gz
%define tzcode_version 2009b %define tzcode_version 2009b
Source1: tzcode%{tzcode_version}.tar.gz Source1: tzcode%{tzcode_version}.tar.gz
@ -55,19 +55,18 @@ make TZDIR=zoneinfo AWK=awk zones
./zic -y ./yearistype -d zoneinfo -p America/New_York ./zic -y ./yearistype -d zoneinfo -p America/New_York
%install %install
rm -rf zoneinfo-posix mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
cp -al zoneinfo zoneinfo/posix || : cp -a zoneinfo $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/posix
mv zoneinfo-leaps zoneinfo/right cp -al $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/posix/. $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share cp -a zoneinfo-leaps $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/right
cp -a zoneinfo $RPM_BUILD_ROOT/%{_prefix}/share
mkdir -p $RPM_BUILD_ROOT/etc mkdir -p $RPM_BUILD_ROOT/etc
rm -f $RPM_BUILD_ROOT/etc/localtime rm -f $RPM_BUILD_ROOT/etc/localtime
cp -f $RPM_BUILD_ROOT/%{_prefix}/share/zoneinfo/UTC $RPM_BUILD_ROOT/etc/localtime cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/UTC $RPM_BUILD_ROOT/etc/localtime
install -m 644 iso3166.tab $RPM_BUILD_ROOT/%{_prefix}/share/zoneinfo/iso3166.tab install -m 644 iso3166.tab $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/iso3166.tab
install -m 644 zone.tab $RPM_BUILD_ROOT/%{_prefix}/share/zoneinfo/zone.tab install -m 644 zone.tab $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/zone.tab
install -D -m 755 tzselect $RPM_BUILD_ROOT/%{_bindir}/tzselect install -D -m 755 tzselect $RPM_BUILD_ROOT%{_bindir}/tzselect
install -D -m 755 zdump $RPM_BUILD_ROOT/%{_sbindir}/zdump install -D -m 755 zdump $RPM_BUILD_ROOT%{_sbindir}/zdump
install -D -m 755 zic $RPM_BUILD_ROOT/%{_sbindir}/zic install -D -m 755 zic $RPM_BUILD_ROOT%{_sbindir}/zic
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -93,6 +92,8 @@ fi
%{_sbindir}/zic %{_sbindir}/zic
%changelog %changelog
* Tue Feb 24 2009 schwab@suse.de
- Don't copy directory into itself.
* Mon Feb 23 2009 dmueller@suse.de * Mon Feb 23 2009 dmueller@suse.de
- update to 2009b: - update to 2009b:
* leapseconds: updated to reflect no mid-2009 leap second * leapseconds: updated to reflect no mid-2009 leap second