#!/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."