Package: r-cran-readbrukerflexdata
Version: 1.8-1
Severity: wishlist
Tags: patch
Hi,
with GNU R >= 3.2.0 it's possible to have reproducible builds. See
https://bugs.debian.org/774031 and https://bugs.debian.org/782764 for
reference.
I attached a patch for your d/rules that adopts the proposed behavior form
#782764.
Best,
Philip
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- rules.orig 2015-04-21 11:51:26.306420000 +0200
+++ rules 2015-04-21 11:54:14.329196307 +0200
@@ -10,6 +10,7 @@
CRANVERSION ?= $(shell uscan --no-conf --dehs | sed -n 's/.*<upstream-version>\([0-9.]\+\)<\/upstream-version>.*/\1/p')
RVERSION := $(shell grep "Depends: R" DESCRIPTION | sed 's/.*(\([><= 0-9.]\+\)).*/\1/')
RLIB := usr/lib/R/site-library
+builttime := $(shell dpkg-parsechangelog | awk -F': ' '/Date/ {print $$2}')
%:
dh $@
@@ -29,7 +30,7 @@
echo "R:Depends=r-base-core (${RVERSION})" >> debian/${PACKAGE}.substvars
## install r package
- R CMD INSTALL --library=${CURDIR}/debian/${PACKAGE}/${RLIB} --clean .
+ R CMD INSTALL --library=${CURDIR}/debian/${PACKAGE}/${RLIB} --clean --built-timestamp="${builttime}" .
get-orig-source:
## download newest ${PACKAGE} from CRAN