File pre_checkin.sh of Package ruby-kde4

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


cp kdebindings4.changes python-kde4.changes
cp kdebindings4.changes ruby-kde4.changes

BUILDREQUIRES_BASE="bash python"
BUILDREQUIRES_PYTHON="python-devel python python-sip python-qt4 kde4-kate-devel"
BUILDREQUIRES_RUBY="ruby-devel python kde4-kate-devel"

sed -e "s,@NAME@,kdebindings4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_BASE,; s,is_base 0,is_base 1," kdebindings4.spec.in > kdebindings4.spec
sed -e "s,@NAME@,python-kde4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_PYTHON,; s,is_python 0,is_python 1," kdebindings4.spec.in > python-kde4.spec
sed -e "s,@NAME@,ruby-kde4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_RUBY,; s,is_ruby 0,is_ruby 1," kdebindings4.spec.in > ruby-kde4.spec
openSUSE Build Service is sponsored by