File pre_checkin.sh of Package python-kde4
#!/bin/bash
# This script is called automatically during autobuild checkin.
version=$(grep '^Version:.*' python-kde4.spec)
for change in python3-kde4; do
cp -f python-kde4.changes $change.changes
sed -i -e "s,Version:.*,$version," ${change}.spec
done