nuq/RPM/build_rpm.in

15 lines
316 B
Text
Raw Normal View History

#!/bin/sh -ex
2000-08-19 22:57:42 +00:00
version=@VERSION@
temp_dir=/var/tmp
srcdir=@srcdir@
rm -rf BUILD SPECS RPMS SOURCES SRPMS
mkdir -p BUILD SPECS RPMS/{noarch,i386,i686} SOURCES SRPMS
(cd ..; make dist)
(cd SOURCES; ln -s ../../nuq-${version}.tar.gz .)
2000-08-19 22:57:42 +00:00
cat > rpmmacros <<EOF
%_topdir $PWD
EOF
rpm -ba nuq.spec --rcfile ${srcdir}/rpmrc