14
0
2024-06-30 07:19:13 +00:00
committed by Git OBS Bridge
parent fe0b86b24a
commit 2d82ee72aa
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 30 07:19:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- build as PEP517
-------------------------------------------------------------------
Fri Dec 29 10:04:58 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-readthedocs-sphinx-ext
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,9 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/rtfd/readthedocs-sphinx-ext
Source: https://files.pythonhosted.org/packages/source/r/readthedocs-sphinx-ext/readthedocs-sphinx-ext-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
@@ -45,10 +47,10 @@ others are just code that we ship and enable during builds on Read the Docs.
%setup -q -n readthedocs-sphinx-ext-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,6 +60,6 @@ others are just code that we ship and enable during builds on Read the Docs.
%doc README.rst
%license LICENSE
%{python_sitelib}/readthedocs_ext
%{python_sitelib}/readthedocs_sphinx_ext-%{version}-py*.egg-info
%{python_sitelib}/readthedocs_sphinx_ext-%{version}.dist-info
%changelog