Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-preggy for openSUSE:Factory checked in at 2024-03-01 23:36:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-preggy (Old) and /work/SRC/openSUSE:Factory/.python-preggy.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-preggy" Fri Mar 1 23:36:38 2024 rev:4 rq:1153728 version:1.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-preggy/python-preggy.changes 2020-08-17 14:39:57.502571787 +0200 +++ /work/SRC/openSUSE:Factory/.python-preggy.new.1770/python-preggy.changes 2024-03-01 23:36:57.396390754 +0100 @@ -1,0 +2,6 @@ +Fri Mar 1 04:22:23 UTC 2024 - Steve Kowalik <[email protected]> + +- Switch to autosetup and pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-preggy.spec ++++++ --- /var/tmp/diff_new_pack.Ydu8r3/_old 2024-03-01 23:36:58.072415202 +0100 +++ /var/tmp/diff_new_pack.Ydu8r3/_new 2024-03-01 23:36:58.072415202 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-preggy # -# Copyright (c) 2020 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,21 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-preggy Version: 1.4.4 Release: 0 Summary: Assertion library for Python License: MIT -Group: Development/Languages/Python URL: https://github.com/heynemann/preggy Source: https://files.pythonhosted.org/packages/source/p/preggy/preggy-%{version}.tar.gz # https://github.com/heynemann/preggy/issues/32 re LICENSE Patch0: split-readme.patch BuildRequires: %{python_module Unidecode} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Unidecode @@ -43,16 +43,15 @@ Part of the pyVows test framework. %prep -%setup -q -n preggy-%{version} -%patch0 -p1 +%autosetup -p1 -n preggy-%{version} sed -i "s/'nose', //" setup.py sed -i '/^#!/d' preggy/__main__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -61,5 +60,6 @@ %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/preggy +%{python_sitelib}/preggy-%{version}.dist-info
