diff --git a/python-logilab-common.changes b/python-logilab-common.changes index ef15fcd..a64f9e3 100644 --- a/python-logilab-common.changes +++ b/python-logilab-common.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jul 10 02:07:32 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- Sprinkle in fdupes. +- No more greedy globs in %files. +- Add Requires that are needed. +- Fix changelog issues. + ------------------------------------------------------------------- Wed Nov 20 15:02:10 UTC 2024 - Dirk Müller @@ -814,4 +823,3 @@ Sun Jul 17 15:16:36 CEST 2005 - garloff@suse.de - Initial creation of package python-logilab-common 0.10.0. -------------------------------------------------------------------- diff --git a/python-logilab-common.spec b/python-logilab-common.spec index 4b176b9..4225e16 100644 --- a/python-logilab-common.spec +++ b/python-logilab-common.spec @@ -1,7 +1,7 @@ # # spec file for package python-logilab-common # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-logilab-common Version: 2.0.0 Release: 0 Summary: Python lowlevel functionality shared by logilab projects License: LGPL-2.1-or-later -Group: Development/Languages/Python URL: https://logilab-common.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-mypy-extensions +Requires: python-setuptools +Requires: python-typing_extensions BuildArch: noarch %python_subpackages @@ -45,15 +49,19 @@ database driver. %setup -q -n logilab-common-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} rm -f %{buildroot}%{_bindir}/logilab-pytest %files %{python_files} %license COPYING COPYING.LESSER %doc ChangeLog README.rst -%{python_sitelib}/* +%dir %{python_sitelib}/logilab +%{python_sitelib}/logilab/common +%{python_sitelib}/logilab_common-%{version}-*-nspkg.pth +%{python_sitelib}/logilab_common-%{version}.dist-info %changelog