- Use %patch -P N instead of deprecated %patchN.

- Update graphviz-rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=189
This commit is contained in:
Michael Vetter 2024-02-22 07:48:16 +00:00 committed by Git OBS Bridge
parent 104edcbf83
commit 5d4806eb19
3 changed files with 15 additions and 11 deletions

View File

@ -1,6 +1,4 @@
# This line is mandatory to access the configuration functions # This line is mandatory to access the configuration functions
from Config import * from Config import *
addFilter("graphviz-tcl.* devel-file-in-non-devel-package")
addFilter("lib.* obsolete-not-provided libgraphviz6") addFilter("lib.* obsolete-not-provided libgraphviz6")
addFilter("liblab_gamut.* shared-library-without-dependency-information")

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 22 07:45:53 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %patch -P N instead of deprecated %patchN.
- Update graphviz-rpmlintrc
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 28 10:23:46 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Nov 28 10:23:46 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package graphviz # spec file for package graphviz
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -406,14 +406,14 @@ programs that use the graphviz libraries including man3 pages.
%prep %prep
#autosetup breaks graphviz-addons #autosetup breaks graphviz-addons
%setup -q -n %{mname}-%{version} %setup -q -n %{mname}-%{version}
%patch0 %patch -P 0
%patch1 %patch -P 1
%patch2 %patch -P 2
%patch3 %patch -P 3
%patch4 %patch -P 4
%patch5 -p1 %patch -P 5 -p1
%patch6 %patch -P 6
%patch7 -p1 %patch -P 7 -p1
# pkg-config returns 0 (TRUE) when guile-2.2 is present # pkg-config returns 0 (TRUE) when guile-2.2 is present
if pkg-config --atleast-version=2.2 guile-2.2; then if pkg-config --atleast-version=2.2 guile-2.2; then