File pre_checkin.sh of Package skelcd-control-openSUSE
#! /bin/sh cp skelcd-control-openSUSE.changes skelcd-control-openSUSE-promo.changes sed -e 's,^Name:.*,Name: skelcd-control-openSUSE-promo,' skelcd-control-openSUSE.spec > skelcd-control-openSUSE-promo.spec # this does not work in the Git checkout, osc checkout is needed if [ -e .osc ]; then osc service localrun format_spec_file fi