SHA256
1
0
forked from pool/file
file/pre_checkin.sh

6 lines
221 B
Bash
Raw Normal View History

#!/bin/bash
# This script is called automatically during autobuild checkin.
version=$(grep '^Version:.*' file.spec)
sed -ri "s,^Version:.*,$version," python-magic.spec
sed -ri "s,^Version:.*,$version," python3-magic.spec