Sha256: b4ca0541686437683c0248218968440b413cd27eb805f6900b4a8ed154626848
Contents?: true
Size: 700 Bytes
Versions: 20
Compression:
Stored size: 700 Bytes
Contents
#!/bin/sh rpm -q rpm-build || yum -y install rpm-build base="/opt/mu/lib/extras/python_rpm" for d in BUILD BUILDROOT RPMS SOURCES SPECS SRPMS;do mkdir -p ~/rpmbuild/$d done cd ~/rpmbuild echo "Temporarily deleting /usr/local/python-current so rpmbuild can create it" link="`readlink /usr/local/python-current`" rm -f /usr/local/python-current chmod 000 /usr/bin/python # otherwise this brain-dead build system tries to compile parts of itself with the wrong executable env -i PATH="/bin:/usr/bin" /usr/bin/rpmbuild -ba $base/muthon.spec chmod 755 /usr/bin/python find ~/rpmbuild/ -type f -name 'muthon*' -exec ls -la {} \; if [ "$link" != "" ];then ln -s "$link" /usr/local/python-current fi
Version data entries
20 entries across 20 versions & 1 rubygems