[Pkg-fedora-ds-maintainers] [389-admin] 01/01: rules: Support reproducible builds, thanks Chris Lamb./sru-review -s trusty fglrx-installer-updates (Closes: #776806)
Timo Aaltonen
tjaalton at moszumanska.debian.org
Thu May 7 09:42:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
tjaalton pushed a commit to branch master
in repository 389-admin.
commit d2ae80d8f0488f8ae7c4547d974e7f9455aef956
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu May 7 12:42:22 2015 +0300
rules: Support reproducible builds, thanks Chris Lamb./sru-review -s trusty fglrx-installer-updates (Closes: #776806)
---
debian/changelog | 7 +++++++
debian/rules | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c200913..467d1f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+389-admin (1.1.35-5) UNRELEASED; urgency=medium
+
+ * rules: Support reproducible builds, thanks Chris Lamb./sru-review -s
+ trusty fglrx-installer-updates (Closes: #776806)
+
+ -- Timo Aaltonen <tjaalton at debian.org> Thu, 07 May 2015 12:42:16 +0300
+
389-admin (1.1.35-4) unstable; urgency=medium
* add-softokn-ldlibpath.diff: The libpath needs to be fixed in AdminServer.pm
diff --git a/debian/rules b/debian/rules
index 59bf24b..273b989 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@ endif
LDFLAGS += -L/usr/lib/$(DEB_HOST_MULTIARCH)/nss
+# Deterministic "build number". Format is defined in ./buildnum.pl
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+BUILDNUM := $(shell date --date="$(BUILD_DATE)" +%Y.%j.%H%M)
+
override_dh_auto_configure:
dh_auto_configure -- \
--disable-rpath \
@@ -21,6 +25,9 @@ override_dh_auto_configure:
--with-initddir=/etc/init.d \
--with-apxs=/usr/bin/apxs2
+override_dh_auto_build:
+ dh_auto_build -- BUILDNUM=$(BUILDNUM)
+
override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/debian/tmp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/389-admin.git
More information about the Pkg-fedora-ds-maintainers
mailing list