File pre_checkin.sh of Package tracker
#!/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