diff --git a/python-zope.deprecation.changes b/python-zope.deprecation.changes index 0986836..d7a308f 100644 --- a/python-zope.deprecation.changes +++ b/python-zope.deprecation.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 5 11:23:05 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Jan 20 09:49:50 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-zope.deprecation.spec b/python-zope.deprecation.spec index 6d66d9c..73b79cb 100644 --- a/python-zope.deprecation.spec +++ b/python-zope.deprecation.spec @@ -25,6 +25,7 @@ Summary: Zope Deprecation Infrastructure License: ZPL-2.1 URL: https://pypi.python.org/pypi/zope.deprecation Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope_deprecation-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,22 +54,21 @@ This package contains documentation files for %{name}. rm -rf zope_deprecation.egg-info %build -%python_build +%pyproject_wheel sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -pushd build/lib %pyunittest -v zope.deprecation.tests %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst %dir %{python_sitelib}/zope -%{python_sitelib}/zope.deprecation-%{version}*-info +%{python_sitelib}/zope[_.]deprecation-%{version}*info %{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth %{python_sitelib}/zope/deprecation