[Reproducible-commits] [libextutils-depends-perl] 16/187: rpm builds now on HOME/rpms/

Maria Valentina Marin Rodrigues akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.

commit dd8b3ba0c212ea5e215236f6f69ad0e877ad34fe
Author: x-rwmcfa1 <x-rwmcfa1 at localhost>
Date:   Thu Dec 18 18:53:06 2003 +0000

    rpm builds now on HOME/rpms/
    
    svn path=/trunk/; revision=24
---
 Makefile.PL | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 01e0ca7..253c39b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -31,17 +31,19 @@ sub postamble
 realclean ::
 	-\$(RM_F) perl-\$(DISTNAME).spec
 
-rpms/:
+RPMS_DIR=\$(HOME)/rpms
+
+\$(RPMS_DIR)/:
 	-mkdir @dirs
 
 SUBSTITUTE=$substitute
 
-perl-\$(DISTNAME).spec: perl-\$(DISTNAME).spec.in \$(VERSION_FROM) Makefile
+perl-\$(DISTNAME).spec :: perl-\$(DISTNAME).spec.in \$(VERSION_FROM) Makefile
 	\$(SUBSTITUTE) \$< > \$@
 
-dist-rpms: Makefile dist perl-\$(DISTNAME).spec rpms/
-	cp \$(DISTNAME)-\$(VERSION).tar.gz rpms/SOURCES/
-	rpmbuild -ba --define \"_topdir $cwd/rpms\" perl-\$(DISTNAME).spec
+dist-rpms :: Makefile dist perl-\$(DISTNAME).spec \$(RPMS_DIR)
+	cp \$(DISTNAME)-\$(VERSION).tar.gz \$(RPMS_DIR)/SOURCES/
+	rpmbuild -ba --define \"_topdir \$(RPMS_DIR)\" perl-\$(DISTNAME).spec
 "
 }
 package MAIN;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git



More information about the Reproducible-commits mailing list