File pre_checkin.sh of Package file.openSUSE_Evergreen_11.4

#!/bin/bash
# This script is called automatically during autobuild checkin.
version=$(grep '^Version:.*' file.spec)
sed -ri "s,^Version:.*,$version," python-magic.spec