Add debian/patches/0001-reproductible-build.patch: Try to make the documentation reproductible
This commit is contained in:
parent
59582e793c
commit
9efb9cdb3c
3 changed files with 21 additions and 1 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -39,8 +39,10 @@ nut (2.7.4-9) UNRELEASED; urgency=medium
|
|||
* Remove obsolete files and old upgrade paths for users coming from version
|
||||
prior to wheezy
|
||||
* debian/control: Mark -dev packages as Multi-Arch: same
|
||||
* Add debian/patches/0001-reproductible-build.patch: Try to make the
|
||||
documentation reproductible
|
||||
|
||||
-- Laurent Bigonville <bigon@debian.org> Sat, 27 Jul 2019 22:32:07 +0200
|
||||
-- Laurent Bigonville <bigon@debian.org> Sun, 28 Jul 2019 00:02:13 +0200
|
||||
|
||||
nut (2.7.4-8) unstable; urgency=medium
|
||||
|
||||
|
|
17
debian/patches/0001-reproductible-build.patch
vendored
Normal file
17
debian/patches/0001-reproductible-build.patch
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
Description: Make the documentation reproductible
|
||||
Author: Laurent Bigonville <bigon@debian.org>
|
||||
Last-Update: 2019-07-28
|
||||
|
||||
--- a/docs/Makefile.am
|
||||
+++ b/docs/Makefile.am
|
||||
@@ -92,8 +92,8 @@ packager-guide.html packager-guide.chunk
|
||||
# $ ASCIIDOC_VERBOSE=-v make
|
||||
A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
|
||||
--xsltproc-opts "--nonet" \
|
||||
- --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d`\"" \
|
||||
- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
|
||||
+ --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\"" \
|
||||
+ --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\"" \
|
||||
--xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
|
||||
--attribute iconsdir=$(srcdir)/images \
|
||||
--attribute=badges \
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -1,3 +1,4 @@
|
|||
0001-reproductible-build.patch
|
||||
0003-install-dev-files-in-usr.patch
|
||||
0002-nut-monitor-paths.patch
|
||||
0004-fix-systemd-service.patch
|
||||
|
|
Loading…
Reference in a new issue