From 54234525d1ab376699981ef0fca1db693a7e4c9d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 17 Jan 2016 12:52:50 -0700 Subject: /usr/src/propellor/propellor.git date reproducible Take from last changelog entry. (cherry picked from commit ecb2811284c01caa9ed4470052f812bb8ba2471e) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 733e718c..805bbd2b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ CABAL?=cabal +DATE := $(shell dpkg-parsechangelog | grep Date | cut -d " " -f2-) # this target is provided (and is first) to keep old versions of the # propellor cron job working, and will eventually be removed @@ -23,7 +24,7 @@ install: && export GIT_COMMITTER_EMAIL=build@buildhost \ && cd dist/gittmp && git init \ && git add . \ - && git commit -q -m "distributed version of propellor" \ + && git commit --date="$(DATE)" -q -m "distributed version of propellor" \ && git bundle create $(DESTDIR)/usr/src/propellor/propellor.git master HEAD \ && git show-ref master --hash > $(DESTDIR)/usr/src/propellor/head rm -rf dist/gittmp -- cgit v1.2.3