File pre_checkin.sh of Package calligra

#!/bin/bash
# This script is called automatically during autobuild checkin.

version=$(grep '^Version:.*' calligra.spec)
for change in calligra-doc; do
    cp -f calligra.changes $change.changes
    sed -i -e "s,Version:.*,$version," ${change}.spec
done
openSUSE Build Service is sponsored by