forked from pool/timezone
c84680344e
- apply patches also for timezone-java - add patch to fix Tiraspol split - update to 2011m (bnc#726162): * All Ukrainian timezones are going back to winter time on Oct 30th, 2011 * Adding Tiraspol to the zone.tab * America/Bahia switched to DST on Oct 16th, 2011 - apply patches also for timezone-java - add patch to fix Tiraspol split - update to 2011m (bnc#726162): * All Ukrainian timezones are going back to winter time on Oct 30th, 2011 * Adding Tiraspol to the zone.tab * America/Bahia switched to DST on Oct 16th, 2011 OBS-URL: https://build.opensuse.org/request/show/89287 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/timezone?expand=0&rev=55
13 lines
466 B
Bash
13 lines
466 B
Bash
#!/bin/bash
|
|
# This script is called automatically during autobuild checkin.
|
|
|
|
ln -f timezone.changes timezone-java.changes
|
|
|
|
for spec in timezone-java.spec; do
|
|
{ sed -n -e '1,/COMMON-BEGIN/p' $spec.in
|
|
sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' timezone.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
|