From: John Ellson Date: Sun, 12 Apr 2020 15:59:18 +0000 (-0400) Subject: don't remove any foreign plugins that other packages may have installed X-Git-Tag: 2.44.1~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd9c7fb71ae3a4cb9ac28371a46b34890988d1cc;p=graphviz don't remove any foreign plugins that other packages may have installed --- diff --git a/redhat/graphviz.spec.fedora.in b/redhat/graphviz.spec.fedora.in index e747b4ba1..5a4ddc627 100644 --- a/redhat/graphviz.spec.fedora.in +++ b/redhat/graphviz.spec.fedora.in @@ -184,9 +184,10 @@ Graphviz plugins and commands that do not depend on x11. When used alone, this is intended for minimalist web-server apps with no X11 on the server. -# completely remove any old plugins and configs before any fresh install of dot. +# completely remove any old configs before any fresh install of dot. +# don't remove any externally provided plugins. "doc -c" should refind them %pre nox -rm -rf %{_libdir}/graphviz || : +rm -rf %{_libdir}/graphviz/config* || : # run "dot -c" to generate plugin config in {_libdir}/graphviz/config%{pluginsver} %post nox