From 81f655b0a6902a867e41dbb92524ccfb68b1ccb3a0ac6f277bdad60dc9b616fd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 17 Feb 2023 22:02:58 +0000 Subject: [PATCH] - fix dependencies for distros older than tumbleweed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=22 --- pygraphviz-1.10.zip | 3 +++ pygraphviz-1.9.zip | 3 --- python-pygraphviz.changes | 5 +++++ python-pygraphviz.spec | 14 +++++++------- 4 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 pygraphviz-1.10.zip delete mode 100644 pygraphviz-1.9.zip diff --git a/pygraphviz-1.10.zip b/pygraphviz-1.10.zip new file mode 100644 index 0000000..359c098 --- /dev/null +++ b/pygraphviz-1.10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:457e093a888128903251a266a8cc16b4ba93f3f6334b3ebfed92c7471a74d867 +size 120582 diff --git a/pygraphviz-1.9.zip b/pygraphviz-1.9.zip deleted file mode 100644 index 0268343..0000000 --- a/pygraphviz-1.9.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa18f7c6cea28341a4e466ed0cf05682b0a68288afe8dd7c9426782f7c1ae01c -size 119946 diff --git a/python-pygraphviz.changes b/python-pygraphviz.changes index 5347cd2..234c4e4 100644 --- a/python-pygraphviz.changes +++ b/python-pygraphviz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 17 22:02:46 UTC 2023 - Dirk Müller + +- fix dependencies for distros older than tumbleweed + ------------------------------------------------------------------- Sun Aug 14 15:16:00 UTC 2022 - Arun Persaud diff --git a/python-pygraphviz.spec b/python-pygraphviz.spec index 74057f7..0c6dacc 100644 --- a/python-pygraphviz.spec +++ b/python-pygraphviz.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygraphviz # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %global skip_python2 1 -%global skip_python36 1 -%global skip_python37 1 %bcond_without tests Name: python-pygraphviz -Version: 1.9 +Version: 1.10 Release: 0 Summary: Python interface to Graphviz License: BSD-3-Clause @@ -31,18 +29,20 @@ URL: https://pygraphviz.github.io/ Source: https://files.pythonhosted.org/packages/source/p/pygraphviz/pygraphviz-%{version}.zip # PATCH-FIX-UPSTREAM docdir.patch Patch0: docdir.patch -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.8} # Needed even without tests BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: graphviz-devel >= 2.42 BuildRequires: libpng-devel -BuildRequires: pkgconf-pkg-config BuildRequires: python-rpm-macros BuildRequires: swig BuildRequires: unzip Requires: graphviz >= 2.42 +%if 0%{?suse_version} >= 1550 +BuildRequires: pkgconf-pkg-config +%endif %python_subpackages %description