File pre_checkin.sh of Package libqt4

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

ln -f libqt4.changes libqt4-sql-plugins.changes
ln -f libqt4.changes libqt4-devel-doc-data.changes
ln -f libqt4.changes libQtWebKit-devel.changes

for spec in libqt4-sql-plugins.spec libqt4-devel-doc-data.spec libQtWebKit-devel.spec; do
{ sed -n -e '1,/COMMON-BEGIN/p' $spec.in
  sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' libqt4.spec
  sed -n -e '/COMMON-END/,$p' $spec.in; } > $spec.tmp && mv $spec.tmp $spec
done
openSUSE Build Service is sponsored by