From a80aa4a30e28b5d37e445e2cc7b905a5ed8807b7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 12 Jan 2004 20:54:24 +0000 Subject: No more going root to buiild RPMs. svn path=/trunk/; revision=3869 --- makerelease | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'makerelease') diff --git a/makerelease b/makerelease index a88ade57..b1d03b5f 100755 --- a/makerelease +++ b/makerelease @@ -72,18 +72,14 @@ if (system("make dist $null")) { } print "### Building the RPMs...\n"; -if (system("make rpm $null && chown esr *.rpm")) { +if (system("buildrpms fetchmail-${version}.tar.gz $null")) { die("RPM-build failure\n"); } -# Clean up permissions so next build won't foo up. -system("chown esr config.log stamp-h po/Makefile"); - open(REPORT, ">PREAMBLE.$$"); print REPORT <testservers.html"); print "Making activity graph..."; growthplot; -print "Making LSM..."; -$keywords="mail, client, POP, POP2, POP3, APOP, RPOP, KPOP, IMAP, ETRN, ODMR, SMTP, ESMTP, GSSAPI, RPA, NTLM, CRAM-MD5, SASL"; -system("rpm2lsm -k '$keywords' fetchmail-$version-1.i386.rpm >fetchmail.lsm"); -system("ls -l fetchmail.lsm"); - -# Avoid leaving unwriteable files around -system("chown -R esr ."); - print "Done\n"; # makerelease ends here -- cgit v1.2.3