python-bottle/tests/build-pycurl/runtest.sh

14 lines
320 B
Bash
Raw Normal View History

#!/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