python-bottle/tests/build-pycurl/runtest.sh
2023-07-10 16:08:18 +02:00

14 lines
320 B
Bash
Executable File

#!/bin/bash
# exit immediately if any command returns non-zero exit code
set -e
# print commands as they are executed by the shell interpreter
set -x
# download source RPM of python-pycurl
yum download --source python-pycurl
# rebuild the source RPM (%check uses bottle)
rpmbuild --rebuild ./python-pycurl-*.src.rpm