Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-humanhash3 for openSUSE:Factory checked in at 2024-03-01 23:36:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-humanhash3 (Old) and /work/SRC/openSUSE:Factory/.python-humanhash3.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-humanhash3" Fri Mar 1 23:36:24 2024 rev:3 rq:1153647 version:0.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-humanhash3/python-humanhash3.changes 2018-12-24 11:38:14.297620026 +0100 +++ /work/SRC/openSUSE:Factory/.python-humanhash3.new.1770/python-humanhash3.changes 2024-03-01 23:36:46.956013185 +0100 @@ -1,0 +2,6 @@ +Thu Feb 29 23:31:04 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to autosetup and pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-humanhash3.spec ++++++ --- /var/tmp/diff_new_pack.vF0Jr4/_old 2024-03-01 23:36:47.828044722 +0100 +++ /var/tmp/diff_new_pack.vF0Jr4/_new 2024-03-01 23:36:47.832044867 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-humanhash3 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-humanhash3 Version: 0.0.6 Release: 0 Summary: Human-readable representations of digests License: Unlicense -Group: Development/Languages/Python URL: https://github.com/blag/humanhash Source: https://files.pythonhosted.org/packages/source/h/humanhash3/humanhash3-%{version}.tar.gz Source99: https://raw.githubusercontent.com/blag/humanhash/master/UNLICENSE Patch0: convert-to-ascii.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -37,19 +37,20 @@ humanhash provides human-readable representations of digests. %prep -%setup -q -n humanhash3-%{version} -%patch0 -p1 +%autosetup -p1 -n humanhash3-%{version} cp %{SOURCE99} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst %license UNLICENSE -%{python_sitelib}/* +%{python_sitelib}/humanhash.py +%pycache_only %{python_sitelib}/__pycache__/humanhash.*.py* +%{python_sitelib}/humanhash3-%{version}.dist-info