Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-quantities for openSUSE:Factory checked in at 2023-10-17 20:24:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-quantities (Old) and /work/SRC/openSUSE:Factory/.python-quantities.new.20540 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-quantities" Tue Oct 17 20:24:09 2023 rev:9 rq:1117995 version:0.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-quantities/python-quantities.changes 2023-05-31 21:54:54.773152723 +0200 +++ /work/SRC/openSUSE:Factory/.python-quantities.new.20540/python-quantities.changes 2023-10-17 20:24:11.725595558 +0200 @@ -1,0 +2,5 @@ +Sun Oct 15 17:48:09 UTC 2023 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to drop build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-quantities.spec ++++++ --- /var/tmp/diff_new_pack.j7JpgP/_old 2023-10-17 20:24:12.333616842 +0200 +++ /var/tmp/diff_new_pack.j7JpgP/_new 2023-10-17 20:24:12.337616982 +0200 @@ -23,6 +23,7 @@ License: BSD-3-Clause URL: https://github.com/python-quantities/python-quantities/ Source: https://files.pythonhosted.org/packages/source/q/quantities/quantities-%{version}.tar.gz +Patch0: reproducible.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module numpy >= 1.16} BuildRequires: %{python_module pip} ++++++ reproducible.patch ++++++ https://github.com/python-quantities/python-quantities/issues/225 Drop date from generated files for reproducible builds. Index: quantities-0.14.1/setup.py =================================================================== --- quantities-0.14.1.orig/setup.py +++ quantities-0.14.1/setup.py @@ -1,7 +1,6 @@ from setuptools import Command, setup from setuptools.command.build_py import build_py as _build from setuptools.command.sdist import sdist as _sdist -from datetime import datetime class data(Command): @@ -24,7 +23,6 @@ class data(Command): with open('quantities/constants/_codata.py', 'w') as f: f.write('# THIS FILE IS AUTOMATICALLY GENERATED\n') f.write('# ANY CHANGES MADE HERE WILL BE LOST\n') - f.write(f'# LAST GENERATED: {datetime.now()}\n\n') f.write('physical_constants = {}\n\n') for line in data: name = line[:55].rstrip().replace('mag.','magnetic')