diff --git a/python-zope.location.changes b/python-zope.location.changes index a92e9e4..765caf9 100644 --- a/python-zope.location.changes +++ b/python-zope.location.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Dec 18 13:28:34 UTC 2023 - Dirk Müller + +- update to 5.0: + * Drop support for Python 2.7, 3.5, 3.6. + +------------------------------------------------------------------- +Fri Jun 9 13:14:19 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Wed Dec 7 22:51:19 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-zope.location.spec b/python-zope.location.spec index 1ad3467..7f27075 100644 --- a/python-zope.location.spec +++ b/python-zope.location.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -26,22 +26,24 @@ %define psuffix %{nil} %bcond_with test %endif +%{?sle15_python_module_pythons} Name: python-zope.location%{psuffix} -Version: 4.3 +Version: 5.0 Release: 0 Summary: Zope Location License: ZPL-2.1 Group: Development/Languages/Python -URL: http://www.python.org/pypi/zope.location +URL: https://www.python.org/pypi/zope.location Source: https://files.pythonhosted.org/packages/source/z/zope.location/zope.location-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.schema >= 4.2.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zope.interface >= 4.0.2 Requires: python-zope.proxy >= 4.0.1 Requires: python-zope.schema >= 4.2.2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %if %{with test} BuildRequires: %{python_module zope.component >= 4.0.1} BuildRequires: %{python_module zope.configuration} @@ -49,7 +51,6 @@ BuildRequires: %{python_module zope.copy >= 4.0} BuildRequires: %{python_module zope.proxy} BuildRequires: %{python_module zope.testrunner} %endif -BuildArch: noarch %python_subpackages %description @@ -60,11 +61,11 @@ In Zope3, location are special objects that has a structural location. rm -rf src/zope.location.egg-info %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -75,8 +76,8 @@ rm -rf src/zope.location.egg-info %if !%{with test} %files %{python_files} -%defattr(-,root,root,-) -%doc COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst +%license LICENSE.txt +%doc COPYRIGHT.txt CHANGES.rst README.rst %{python_sitelib}/* %endif diff --git a/zope.location-4.3.tar.gz b/zope.location-4.3.tar.gz deleted file mode 100644 index 71a984c..0000000 --- a/zope.location-4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:171eedc8a20ec3a8ac27139aa90cf277ff77772ea032b54b6a2701a7927b3ac5 -size 29102 diff --git a/zope.location-5.0.tar.gz b/zope.location-5.0.tar.gz new file mode 100644 index 0000000..698224a --- /dev/null +++ b/zope.location-5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:016fea934b97dad2b08a64ea7f2fbc3de55dbb074c461f66d871c70bf3aaaea5 +size 29020