diff --git a/python-zope.component.changes b/python-zope.component.changes index 810dfb1..81e24fb 100644 --- a/python-zope.component.changes +++ b/python-zope.component.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 24 09:08:54 UTC 2024 - Dirk Müller + +- switch to PEP517 build + ------------------------------------------------------------------- Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová @@ -6,7 +11,7 @@ Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová ------------------------------------------------------------------- Thu Jun 1 20:36:20 UTC 2023 - Dirk Müller -- use python3 module python for sle15 +- use python3 module python for sle15 ------------------------------------------------------------------- Fri May 5 14:22:43 UTC 2023 - Dirk Müller @@ -55,7 +60,7 @@ Mon Apr 8 15:05:42 UTC 2019 - Marketa Calabkova * Drop support for Python 3.3. * Drop support for “setup.py test”. * Always install zope.hookable as a dependency. - * Make accessing names that have been moved to zope.interface + * Make accessing names that have been moved to zope.interface produce a DeprecationWarning. - Drop the *-doc subpackage, use multibuild instead. * Drop pre-checkin.sh as it is no longer needed. diff --git a/python-zope.component.spec b/python-zope.component.spec index 55f12f7..394e396 100644 --- a/python-zope.component.spec +++ b/python-zope.component.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-zope.component # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. @@ -34,7 +34,9 @@ License: ZPL-2.1 Group: Development/Languages/Python URL: https://github.com/zopefoundation/zope.component Source: https://files.pythonhosted.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zope.event @@ -72,11 +74,11 @@ documentation. rm -rf src/zope.component.egg-info %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -90,7 +92,10 @@ rm -rf src/zope.component.egg-info %defattr(-,root,root) %license LICENSE.txt COPYRIGHT.txt %doc CHANGES.rst README.rst -%{python_sitelib}/* +%dir %{python_sitelib}/zope +%{python_sitelib}/zope/component +%{python_sitelib}/zope.component-%{version}-py*-nspkg.pth +%{python_sitelib}/zope.component-%{version}.dist-info %endif %changelog