From ce414b228e679b495c18b2cb586413fe72f10bd5bdf67b4925e12cf5cfdeceaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 3 Mar 2025 10:31:04 +0000 Subject: [PATCH] Accepting request 1248968 from home:ecsos:python - Make it compatible wirh %{?sle15_python_module_pythons}. OBS-URL: https://build.opensuse.org/request/show/1248968 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=34 --- python-pygraphviz.changes | 5 +++++ python-pygraphviz.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) 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