forked from pool/python-sphinxcontrib-jsmath
Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
b6a808850e | |||
d294109c14 | |||
e800ceed1b | |||
ebd0a83ae4 | |||
29c553d65a |
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 06:17:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyroject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 14:10:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
@@ -34,9 +35,7 @@ URL: http://sphinx-doc.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-jsmath/sphinxcontrib-jsmath-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/sphinx-doc/sphinxcontrib-jsmath/commit/3297b27177ab4862d1b2408a2db66235397fe212 Fix #9361: RemovedInSphinx50Warning on testing
|
||||
Patch0: sphinx5.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx
|
||||
@@ -57,11 +56,11 @@ via JavaScript.
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%pyproject_install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -75,10 +74,7 @@ via JavaScript.
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGES
|
||||
%license LICENSE
|
||||
%dir %{python_sitelib}/sphinxcontrib
|
||||
%{python_sitelib}/sphinxcontrib/jsmath
|
||||
%{python_sitelib}/sphinxcontrib_jsmath-%{version}-py*-nspkg.pth
|
||||
%{python_sitelib}/sphinxcontrib_jsmath-%{version}.dist-info
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user