From: Jon Warbrick Date: Mon, 21 Dec 2015 15:14:57 +0000 (+0000) Subject: Fix mior typos X-Git-Url: https://git.uis.cam.ac.uk/x/uis/u/jw35/ucam-sms-send.git/commitdiff_plain/b89333211b370111b4048527243cd8a9b02cd517?hp=4f1bc49076e1f6a822df63e4bd19b123e835076a Fix mior typos --- diff --git a/build_rpm.sh b/build_rpm.sh index 3d84189..e03febc 100755 --- a/build_rpm.sh +++ b/build_rpm.sh @@ -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 diff --git a/perl-Ucam-SMS-Send.spec b/perl-Ucam-SMS-Send.spec index bfdb037..edd74f9 100644 --- a/perl-Ucam-SMS-Send.spec +++ b/perl-Ucam-SMS-Send.spec @@ -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)