Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ssdeep for openSUSE:Factory checked in at 2024-03-04 21:25:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ssdeep (Old) and /work/SRC/openSUSE:Factory/.python-ssdeep.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ssdeep" Mon Mar 4 21:25:24 2024 rev:9 rq:1154576 version:3.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ssdeep/python-ssdeep.changes 2022-11-12 17:41:34.742314400 +0100 +++ /work/SRC/openSUSE:Factory/.python-ssdeep.new.1770/python-ssdeep.changes 2024-03-04 21:25:31.827254295 +0100 @@ -1,0 +2,5 @@ +Mon Mar 4 07:18:51 UTC 2024 - Steve Kowalik <[email protected]> + +- Switch to autosetup and pyproject macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ssdeep.spec ++++++ --- /var/tmp/diff_new_pack.RMzaQL/_old 2024-03-04 21:25:32.355273455 +0100 +++ /var/tmp/diff_new_pack.RMzaQL/_new 2024-03-04 21:25:32.371274036 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ssdeep # -# Copyright (c) 2022 SUSE LLC +# 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,13 +16,11 @@ # -%define skip_python2 1 Name: python-ssdeep Version: 3.4.1 Release: 0 Summary: Python wrapper for the ssdeep library License: LGPL-3.0-or-later -Group: Development/Languages/Python URL: https://github.com/DinoTools/python-ssdeep #Source: https://files.pythonhosted.org/packages/source/s/ssdeep/ssdeep-%%{version}.tar.gz # no docs here, see https://github.com/DinoTools/python-ssdeep/issues/37 Source: https://github.com/DinoTools/python-ssdeep/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -30,7 +28,9 @@ Patch0: python-ssdeep-no-six.patch BuildRequires: %{python_module cffi >= 0.8.6} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: libfuzzy-devel BuildRequires: python-rpm-macros @@ -47,24 +47,23 @@ content and length. %prep -%setup -q -n python-ssdeep-%{version} -%patch0 -p1 +%autosetup -p1 -n python-ssdeep-%{version} # https://github.com/DinoTools/python-ssdeep/issues/57 sed -i 's:"pytest-runner.*"::' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check %pytest_arch %files %{python_files} -%{python_sitearch}/ssdeep -%{python_sitearch}/ssdeep-*egg-info %doc README.rst CHANGELOG.rst %license LICENSE +%{python_sitearch}/ssdeep +%{python_sitearch}/ssdeep-%{version}.dist-info
