forked from pool/python-zope.exceptions
Accepting request 1274295 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1274295 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.exceptions?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 5 04:32:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 15 08:50:42 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Fri Nov 15 08:50:42 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-zope.exceptions
|
# spec file for package python-zope.exceptions
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -30,12 +30,14 @@ Version: 5.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Zope Exceptions
|
Summary: Zope Exceptions
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://cheeseshop.python.org/pypi/zope.exceptions
|
URL: https://cheeseshop.python.org/pypi/zope.exceptions
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zope.exceptions/zope.exceptions-%{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-setuptools
|
||||||
Requires: python-zope.interface
|
Requires: python-zope.interface
|
||||||
Obsoletes: %{name}-doc
|
Obsoletes: %{name}-doc
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -54,11 +56,11 @@ general purpose that they don't belong in Zope application-specific packages.
|
|||||||
%autosetup -p1 -n zope.exceptions-%{version}
|
%autosetup -p1 -n zope.exceptions-%{version}
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
@@ -73,7 +75,7 @@ general purpose that they don't belong in Zope application-specific packages.
|
|||||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||||
%dir %{python_sitelib}/zope/
|
%dir %{python_sitelib}/zope/
|
||||||
%{python_sitelib}/zope/exceptions
|
%{python_sitelib}/zope/exceptions
|
||||||
%{python_sitelib}/zope.exceptions-%{version}*-info
|
%{python_sitelib}/zope[._]exceptions-%{version}.dist-info
|
||||||
%{python_sitelib}/zope.exceptions-%{version}*-nspkg.pth
|
%{python_sitelib}/zope.exceptions-%{version}*-nspkg.pth
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user