libcap-ng/pre_checkin.sh

12 lines
240 B
Bash

#!/bin/bash
echo -n "Generating python spec "
cp libcap-ng.spec libcap-ng-python.spec
cp libcap-ng.changes libcap-ng-python.changes
perl -pi -e "s/^Name:.*libcap-ng$/Name: libcap-ng-python/" libcap-ng-python.spec
echo "Done."