Import changes made by BJW when building packages
[u/jw35/ucam-sms-send.git] / build_rpm.sh
index 3d84189..e03febc 100755 (executable)
@@ -12,7 +12,7 @@ make dist
 cp Ucam-SMS-Send-${VERSION}.tar.gz   build/SOURCES
 cp perl-Ucam-SMS-Send.spec build/SPECS
 rpmbuild --define="_topdir `pwd`/build" -ba build/SPECS/perl-Ucam-SMS-Send.spec
-cp build/RPMS/noarch/perl-Ucam-SMS-Send-${VERSION}.noarch.rpm .
-cp build/SRPMS/perl-Ucam-SMS-Send-${VERSION}.src.rpm .
+cp build/RPMS/noarch/perl-Ucam-SMS-Send-${VERSION}-*.noarch.rpm .
+cp build/SRPMS/perl-Ucam-SMS-Send-${VERSION}-*.src.rpm .
 #rm -rf build