SHA256
1
0
forked from pool/timezone
timezone/pre_checkin.sh
Stephan Kulow c84680344e Accepting request 89287 from Base:System
- 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
2011-10-25 15:14:10 +00:00

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