fa7d63a2ee
- update to 2.7.2: * Bug fix only release, see http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS for details - introduce a pre_checkin.sh file that synchronizes patches between python and python-base - rediff patches for 2.7.2 - replace kernel3 patch with the upstream solution - update to 2.7.2: * Bug fix only release, see http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS for details - introduce a pre_checkin.sh file that synchronizes patches between python and python-base - rediff patches for 2.7.2 - replace kernel3 patch with the upstream solution OBS-URL: https://build.opensuse.org/request/show/79616 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=105
12 lines
442 B
Bash
12 lines
442 B
Bash
#!/bin/bash
|
|
# This script is called automatically during autobuild checkin.
|
|
|
|
for spec in python.spec; do
|
|
{ sed -n -e '1,/COMMON-PATCH-BEGIN/p' $spec
|
|
sed -n -e '/COMMON-PATCH-BEGIN/,/COMMON-PATCH-END/p' python-base.spec
|
|
sed -n -e '/COMMON-PATCH-END/,/COMMON-PREP-BEGIN/p' $spec
|
|
sed -n -e '/COMMON-PREP-BEGIN/,/COMMON-PREP-END/p' python-base.spec
|
|
sed -n -e '/COMMON-PREP-END/,$p' $spec;
|
|
} | uniq > $spec.tmp && mv $spec.tmp $spec
|
|
done
|