1
0

5 Commits

2 changed files with 27 additions and 7 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Apr 1 16:05:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make it compatible with older setuptools
-------------------------------------------------------------------
Thu Mar 27 00:40:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize metadata directory name.
-------------------------------------------------------------------
Thu Oct 24 09:08:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- switch to PEP517 build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová <mmachova@suse.com> Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-zope.component
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -34,7 +34,9 @@ License: ZPL-2.1
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/zopefoundation/zope.component URL: https://github.com/zopefoundation/zope.component
Source: https://files.pythonhosted.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz 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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-zope.event Requires: python-zope.event
@@ -72,11 +74,11 @@ documentation.
rm -rf src/zope.component.egg-info rm -rf src/zope.component.egg-info
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
@@ -90,7 +92,10 @@ rm -rf src/zope.component.egg-info
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE.txt COPYRIGHT.txt %license LICENSE.txt COPYRIGHT.txt
%doc CHANGES.rst README.rst %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 %endif
%changelog %changelog