[Reproducible-commits] [libextutils-depends-perl] 18/187: code to support the date in spec file
Maria Valentina Marin Rodrigues
akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:44 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 a3faa37446c5d953bf391f5cdeb4045657ed727a
Author: x-rwmcfa1 <x-rwmcfa1 at localhost>
Date: Mon Dec 29 21:25:46 2003 +0000
code to support the date in spec file
svn path=/trunk/; revision=26
---
Makefile.PL | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile.PL b/Makefile.PL
index 0d3af03..c615ac7 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,9 +18,12 @@ sub postamble
$(RPMS_DIR)/SOURCES $(RPMS_DIR)/SPECS $(RPMS_DIR)/SRPMS};
my $cwd = getcwd();
+ chomp (my $date = `date +"%a %b %d %Y"`);
+
my %subs = (
'VERSION' => '$(VERSION)',
'SOURCE' => '$(DISTNAME)-$(VERSION).tar.gz',
+ 'DATE' => $date,
);
my $substitute = '$(PERL) -npe \''.join('; ', map {
--
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