diff --git a/python-pygraphviz.changes b/python-pygraphviz.changes index 61be6f0..7dd8d78 100644 --- a/python-pygraphviz.changes +++ b/python-pygraphviz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 27 12:23:39 UTC 2025 - ecsos + +- Make it compatible wirh %{?sle15_python_module_pythons}. + ------------------------------------------------------------------- Tue Oct 1 12:37:59 UTC 2024 - Dirk Müller diff --git a/python-pygraphviz.spec b/python-pygraphviz.spec index a6caa0f..8f69728 100644 --- a/python-pygraphviz.spec +++ b/python-pygraphviz.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygraphviz # -# 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 @@ -45,12 +45,12 @@ BuildRequires: graphviz-gd BuildRequires: libpng-devel BuildRequires: python-rpm-macros %if %{with doc} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module numpydoc} +BuildRequires: %{python_module pydata-sphinx-theme} BuildRequires: %{python_module pygraphviz = %{version}} -BuildRequires: python3-Sphinx -BuildRequires: python3-matplotlib -BuildRequires: python3-numpydoc -BuildRequires: python3-pydata-sphinx-theme -BuildRequires: python3-sphinx-gallery +BuildRequires: %{python_module sphinx-gallery} BuildArch: noarch %endif BuildRequires: swig