Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2019-07-13 13:50:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nautilus" Sat Jul 13 13:50:12 2019 rev:24 rq:714902 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2018-05-10 15:49:15.521574400 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.4615/python-nautilus.changes 2019-07-13 14:00:53.710888872 +0200 @@ -1,0 +2,5 @@ +Fri Jul 12 13:27:55 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nautilus.spec ++++++ --- /var/tmp/diff_new_pack.imI9Pq/_old 2019-07-13 14:00:54.314888687 +0200 +++ /var/tmp/diff_new_pack.imI9Pq/_new 2019-07-13 14:00:54.318888686 +0200 @@ -27,6 +27,8 @@ Group: Development/Libraries/Python URL: https://wiki.gnome.org/Projects/NautilusPython Source: http://download.gnome.org/sources/nautilus-python/1.2/%{_name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM -- https://gitlab.gnome.org/GNOME/nautilus-python/issues/4 +Patch0: reproducible.patch BuildRequires: %{python_module devel} BuildRequires: gtk-doc BuildRequires: pkgconfig @@ -80,6 +82,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build %define _configure ../configure ++++++ reproducible.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2018-04-08 https://bugzilla.gnome.org/show_bug.cgi?id=795063 https://gitlab.gnome.org/GNOME/nautilus-python/issues/4 Allow to override build date with SOURCE_DATE_EPOCH 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: nautilus-python-1.2.1/docs/Makefile.in =================================================================== --- nautilus-python-1.2.1.orig/docs/Makefile.in +++ nautilus-python-1.2.1/docs/Makefile.in @@ -614,7 +614,7 @@ uninstall-am: uninstall-HTMLDATA uninsta @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) \