forked from pool/timezone
- apply patches also for timezone-java
- add patch to fix Tiraspol split - apply patches also for timezone-java - add patch to fix Tiraspol split OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=62
This commit is contained in:
parent
91bc790b14
commit
862d9cb81b
11
chisinau-split-fix.diff
Normal file
11
chisinau-split-fix.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/zone.tab
|
||||||
|
+++ b/zone.tab
|
||||||
|
@@ -257,7 +257,7 @@
|
||||||
|
LY +3254+01311 Africa/Tripoli
|
||||||
|
MA +3339-00735 Africa/Casablanca
|
||||||
|
MC +4342+00723 Europe/Monaco
|
||||||
|
-MD +4700+02850 Europe/Chisinau
|
||||||
|
+MD +4700+02850 Europe/Chisinau most locations
|
||||||
|
MD +4651+02938 Europe/Tiraspol Pridnestrovie
|
||||||
|
ME +4226+01916 Europe/Podgorica
|
||||||
|
MF +1804-06305 America/Marigot
|
@ -6,5 +6,7 @@ ln -f timezone.changes timezone-java.changes
|
|||||||
for spec in timezone-java.spec; do
|
for spec in timezone-java.spec; do
|
||||||
{ sed -n -e '1,/COMMON-BEGIN/p' $spec.in
|
{ sed -n -e '1,/COMMON-BEGIN/p' $spec.in
|
||||||
sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' timezone.spec
|
sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' timezone.spec
|
||||||
sed -n -e '/COMMON-END/,$p' $spec.in; } > $spec.tmp && mv $spec.tmp $spec
|
sed -n -e '/COMMON-END/,/COMMON-PREP-BEGIN/p' $spec.in
|
||||||
|
sed -n -e '/COMMON-PREP-BEGIN/,/COMMON-PREP-END/p' timezone.spec
|
||||||
|
sed -n -e '/COMMON-PREP-END/,$p' $spec.in; } > $spec.tmp && mv $spec.tmp $spec
|
||||||
done
|
done
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 25 14:48:15 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
- apply patches also for timezone-java
|
||||||
|
- add patch to fix Tiraspol split
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 24 19:19:45 CEST 2011 - dmueller@suse.de
|
Mon Oct 24 19:19:45 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
@ -29,6 +29,12 @@ Version: 2011m
|
|||||||
Release: 1
|
Release: 1
|
||||||
Source: ftp://munnari.oz.au/pub/tzdata%{version}.tar.gz
|
Source: ftp://munnari.oz.au/pub/tzdata%{version}.tar.gz
|
||||||
Source1: ftp://munnari.oz.au/pub/tzcode2011i.tar.gz
|
Source1: ftp://munnari.oz.au/pub/tzcode2011i.tar.gz
|
||||||
|
Patch0: tzdata-china.diff
|
||||||
|
Patch1: tzcode-zic.diff
|
||||||
|
Patch2: tzcode-ksh.diff
|
||||||
|
Patch3: iso3166-uk.diff
|
||||||
|
Patch4: tzcode-link.diff
|
||||||
|
Patch5: chisinau-split-fix.diff
|
||||||
# COMMON-END
|
# COMMON-END
|
||||||
# COMMON-END
|
# COMMON-END
|
||||||
Url: http://www.gnu.org/software/libc/libc.html
|
Url: http://www.gnu.org/software/libc/libc.html
|
||||||
@ -45,6 +51,16 @@ package is intended for Java Virtual Machine based on OpenJDK.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c
|
%setup -c
|
||||||
|
# COMMON-PREP-BEGIN
|
||||||
|
# COMMON-PREP-BEGIN
|
||||||
|
%patch0
|
||||||
|
%patch1
|
||||||
|
%patch2
|
||||||
|
%patch3
|
||||||
|
%patch4
|
||||||
|
%patch5 -p1
|
||||||
|
# COMMON-PREP-END
|
||||||
|
# COMMON-PREP-END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gij -jar %{_javadir}/javazic.jar -V %{version} \
|
gij -jar %{_javadir}/javazic.jar -V %{version} \
|
||||||
|
@ -39,6 +39,8 @@ package is intended for Java Virtual Machine based on OpenJDK.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c
|
%setup -c
|
||||||
|
# COMMON-PREP-BEGIN
|
||||||
|
# COMMON-PREP-END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gij -jar %{_javadir}/javazic.jar -V %{version} \
|
gij -jar %{_javadir}/javazic.jar -V %{version} \
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 25 14:48:15 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
- apply patches also for timezone-java
|
||||||
|
- add patch to fix Tiraspol split
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 24 19:19:45 CEST 2011 - dmueller@suse.de
|
Mon Oct 24 19:19:45 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
@ -29,12 +29,13 @@ Version: 2011m
|
|||||||
Release: 1
|
Release: 1
|
||||||
Source: ftp://munnari.oz.au/pub/tzdata%{version}.tar.gz
|
Source: ftp://munnari.oz.au/pub/tzdata%{version}.tar.gz
|
||||||
Source1: ftp://munnari.oz.au/pub/tzcode2011i.tar.gz
|
Source1: ftp://munnari.oz.au/pub/tzcode2011i.tar.gz
|
||||||
# COMMON-END
|
|
||||||
Patch0: tzdata-china.diff
|
Patch0: tzdata-china.diff
|
||||||
Patch1: tzcode-zic.diff
|
Patch1: tzcode-zic.diff
|
||||||
Patch2: tzcode-ksh.diff
|
Patch2: tzcode-ksh.diff
|
||||||
Patch3: iso3166-uk.diff
|
Patch3: iso3166-uk.diff
|
||||||
Patch4: tzcode-link.diff
|
Patch4: tzcode-link.diff
|
||||||
|
Patch5: chisinau-split-fix.diff
|
||||||
|
# COMMON-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%global AREA Etc
|
%global AREA Etc
|
||||||
%global ZONE UTC
|
%global ZONE UTC
|
||||||
@ -47,11 +48,14 @@ can select an appropriate time zone for your system with YaST.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -a 1
|
%setup -c -a 1
|
||||||
|
# COMMON-PREP-BEGIN
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
|
%patch5 -p1
|
||||||
|
# COMMON-PREP-END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
unset ${!LC_*}
|
unset ${!LC_*}
|
||||||
|
Loading…
Reference in New Issue
Block a user