forked from pool/python-zope.exceptions
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=34
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,12 +30,14 @@ Version: 5.2
|
||||
Release: 0
|
||||
Summary: Zope Exceptions
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
URL: https://cheeseshop.python.org/pypi/zope.exceptions
|
||||
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 wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
Requires: python-zope.interface
|
||||
Obsoletes: %{name}-doc
|
||||
BuildArch: noarch
|
||||
@@ -54,11 +56,11 @@ general purpose that they don't belong in Zope application-specific packages.
|
||||
%autosetup -p1 -n zope.exceptions-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -73,7 +75,7 @@ general purpose that they don't belong in Zope application-specific packages.
|
||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||
%dir %{python_sitelib}/zope/
|
||||
%{python_sitelib}/zope/exceptions
|
||||
%{python_sitelib}/zope.exceptions-%{version}*-info
|
||||
%{python_sitelib}/zope[._]exceptions-%{version}.dist-info
|
||||
%{python_sitelib}/zope.exceptions-%{version}*-nspkg.pth
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user