forked from pool/python-atomicwrites
Accepting request 1285334 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1285334 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-atomicwrites?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 05:35:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 13:34:27 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-atomicwrites
|
||||
#
|
||||
# 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
|
||||
@@ -34,7 +34,9 @@ URL: https://github.com/untitaker/python-atomicwrites
|
||||
Source: https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE sphinx8.patch -- daniel.garcia@suse.com
|
||||
Patch0: sphinx8.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -79,7 +81,7 @@ of python-atomicwrites
|
||||
|
||||
%build
|
||||
%if %{without doc}
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
%else
|
||||
pushd docs
|
||||
make html
|
||||
@@ -89,7 +91,7 @@ popd
|
||||
|
||||
%install
|
||||
%if %{without doc}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -103,7 +105,8 @@ popd
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/atomicwrites*
|
||||
%{python_sitelib}/atomicwrites
|
||||
%{python_sitelib}/atomicwrites-%{version}.dist-info
|
||||
|
||||
%else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user