python-setuptools-git/pre_checkin.sh

5 lines
215 B
Bash

#!/bin/sh
sed 's,build_for_python3 0,build_for_python3 1,;s,^\(Name: *\)python-,\1python3-,' python-setuptools-git.spec > python3-setuptools-git.spec
cp python-setuptools-git.changes python3-setuptools-git.changes