LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pre_checkin.sh of Package iproute2 (Project home:draht:netfilter)

#!/bin/bash

echo -n "Generating iproute2-doc.spec/changes "

cp iproute2.changes iproute2-doc.changes

sed -i -e "s/\(Version:\).*/\1$(sed -n 's/Version:\(.*\)/\1/p' iproute2.spec)/" iproute2-doc.spec

osc service localrun format_spec_file

echo "Done."