tracker/pre_checkin.sh
2011-10-16 11:05:59 +00:00

9 lines
294 B
Bash

#!/bin/sh
cp tracker.changes tracker-extras.changes
sed "s/\(%define *build_extras *\)0/\11/;s/\(^Name: *\)tracker.*/\1tracker-extras/" tracker.spec > tracker-extras.spec
sed -i "
/^Name: *tracker-extras/i \
# Do not edit this auto generated file! Edit tracker.spec.
" tracker-extras.spec