Fix mior typos
authorJon Warbrick <jw35@cam.ac.uk>
Mon, 21 Dec 2015 15:14:57 +0000 (15:14 +0000)
committerJon Warbrick <jw35@cam.ac.uk>
Mon, 21 Dec 2015 15:14:57 +0000 (15:14 +0000)
build_rpm.sh
perl-Ucam-SMS-Send.spec

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
 
index bfdb037..edd74f9 100644 (file)
@@ -18,7 +18,9 @@ Requires:     perl = %{perl_version}
 %endif
 
 Requires: perl-LWP-UserAgent perl-HTML-Entities
+%if 0%{?suse_version} < 1120 
 BuildRequires: perl-macros 
+%endif
 
 %description
 A  Perl interface to the University of Cambridge SMS (Short Message Service)