File pre_checkin.sh of Package libx264
#!/bin/sh EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the libx264.spec! #####\n" sed "s/^%bcond_with x264_binary$/${EDIT_WARNING}%bcond_without x264_binary/; s/^\(Name:.*\)$/\1-x264/; 0,/^Summary:.*/{s/^Summary:.*/Summary: Command line tool for libx264/}; " < libx264.spec > libx264-x264.spec cp libx264.changes libx264-x264.changes