Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinxcontrib-jsmath for
openSUSE:Factory checked in at 2026-04-21 12:42:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-jsmath (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-jsmath.new.11940
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-jsmath"
Tue Apr 21 12:42:13 2026 rev:6 rq:1348104 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-jsmath/python-sphinxcontrib-jsmath.changes
2025-03-21 20:21:51.321344853 +0100
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-jsmath.new.11940/python-sphinxcontrib-jsmath.changes
2026-04-21 12:42:30.956682061 +0200
@@ -1,0 +2,9 @@
+Mon Apr 20 05:21:52 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Actually specify @BUILD_FLAVOR@.
+- Switch to pyroject macros.
+- No more greedy globs in %files.
+- Add patch do-not-use-sphinx-testing.patch:
+ * Use pathlib rather than sphinx.testing.path.
+
+-------------------------------------------------------------------
New:
----
do-not-use-sphinx-testing.patch
----------(New B)----------
New:- No more greedy globs in %files.
- Add patch do-not-use-sphinx-testing.patch:
* Use pathlib rather than sphinx.testing.path.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-jsmath.spec ++++++
--- /var/tmp/diff_new_pack.sh1fPu/_old 2026-04-21 12:42:31.580707988 +0200
+++ /var/tmp/diff_new_pack.sh1fPu/_new 2026-04-21 12:42:31.580707988 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-jsmath
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}%global
flavor @BUILD_FLAVOR@%{nil}
+%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
@@ -30,12 +30,15 @@
Release: 0
Summary: Sphinx extension which renders display math in HTML via
JavaScript
License: BSD-2-Clause
-Group: Development/Languages/Python
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
+# PATCH-FIX-UPSTREAM
gh#sphinx-doc/sphinxcontrib-jsmath#3297b27177ab4862d1b2408a2db66235397fe212 Fix
#9361: RemovedInSphinx50Warning on testing
Patch0: sphinx5.patch
+# PATCH-FIX-UPSTREAM Based on
gh#sphinx-doc/sphinxcontrib-jsmath#98f7b308148f3670b0c1bd45c0a9a62e781d782b
+Patch1: do-not-use-sphinx-testing.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
@@ -56,11 +59,11 @@
%autopatch -p1
%build
-%python_build
+%pyproject_wheel
%install
%if !%{with test}
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -74,6 +77,9 @@
%files %{python_files}
%doc README.rst CHANGES
%license LICENSE
-%{python_sitelib}/*
+%dir %{python_sitelib}/sphinxcontrib
+%{python_sitelib}/sphinxcontrib/jsmath
+%{python_sitelib}/sphinxcontrib_jsmath-%{version}-py*-nspkg.pth
+%{python_sitelib}/sphinxcontrib_jsmath-%{version}.dist-info
%endif
++++++ do-not-use-sphinx-testing.patch ++++++
>From 98f7b308148f3670b0c1bd45c0a9a62e781d782b Mon Sep 17 00:00:00 2001
From: Adam Turner <[email protected]>
Date: Mon, 7 Aug 2023 18:09:05 +0100
Subject: [PATCH] Fix test failures
---
.github/workflows/test.yml | 10 ++++++++--
tests/conftest.py | 6 +++---
2 files changed, 11 insertions(+), 5 deletions(-)
Index: sphinxcontrib-jsmath-1.0.1/tests/conftest.py
===================================================================
--- sphinxcontrib-jsmath-1.0.1.orig/tests/conftest.py
+++ sphinxcontrib-jsmath-1.0.1/tests/conftest.py
@@ -6,13 +6,13 @@
:license: BSD, see LICENSE for details.
"""
-import pytest
+from pathlib import Path
-from sphinx.testing.path import path
+import pytest
pytest_plugins = 'sphinx.testing.fixtures'
@pytest.fixture(scope='session')
def rootdir():
- return path(__file__).parent.abspath() / 'roots'
+ return Path(__file__).resolve().parent / 'roots'