tracker/pre_checkin.sh

9 lines
294 B
Bash
Raw Normal View History

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