Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
thunarx-python
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package thunarx-python
commit 5e0514ca98f48a4f87365452119393ffb0e49524 Author: Bernhard M. Wiedemann <bwiedemann@suse.de> Date: Fri Jun 22 10:59:56 2018 +0200 thunarx-python: Allow to override build date in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. Index: b/docs/Makefile.in =================================================================== --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -591,7 +591,7 @@ uninstall-am: uninstall-HTMLDATA @ENABLE_GTK_DOC_TRUE@reference/builddate.xml: $(REFERENCE_DEPS) -@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@ +@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", time.time()))).date())' > $@ @ENABLE_GTK_DOC_TRUE@$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml @ENABLE_GTK_DOC_TRUE@ $(GTKDOC_MKHTML) \ Index: b/docs/Makefile.am =================================================================== --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -63,7 +63,7 @@ REFERENCE_DEPS = \ if ENABLE_GTK_DOC reference/builddate.xml: $(REFERENCE_DEPS) - $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@ + $(PYTHON) -c 'import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", time.time()))).date())' > $@ $(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml $(GTKDOC_MKHTML) \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor