[Reproducible-builds] Bug#783574: mopidy: [PATCH] Please make the build reproducible.

Reiner Herrmann reiner at reiner-h.de
Tue Apr 28 14:57:55 UTC 2015


Another small note about the patch:

On 04/28/2015 03:08 PM, Juan Picca wrote:
>>> --- a/docs/Makefile
>>> +++ b/docs/Makefile
>>> @@ -1,8 +1,10 @@
>>>  # Makefile for Sphinx documentation
>>>  #
>>> +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date -l../debian/changelog)
>>> +BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
>>>
>>>  # You can set these variables from the command line.
>>> -SPHINXOPTS    =
>>> +SPHINXOPTS    = -D today="$(BUILD_DATE)"
>>>  SPHINXBUILD   = sphinx-build
>>>  PAPER         =
>>>  BUILDDIR      = _build

The Makefile is already prepared to use SPHINXOPTS, so it is possible
to leave the upstream source completely unmodified and just pass adjusted
SPHINXOPTS via debian/rules.
An example is available in #782471 [1] or the wiki [2].

Regards,
 Reiner

[1]: https://bugs.debian.org/782471
[2]: https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150428/84cdc488/attachment.sig>


More information about the Reproducible-builds mailing list