]> granicus.if.org Git - graphviz/commitdiff
don't remove any foreign plugins that other packages may have installed
authorJohn Ellson <ellson@research.att.com>
Sun, 12 Apr 2020 15:59:18 +0000 (11:59 -0400)
committerJohn Ellson <ellson@research.att.com>
Sun, 12 Apr 2020 15:59:18 +0000 (11:59 -0400)
redhat/graphviz.spec.fedora.in

index e747b4ba10ba49049f6c4ae0cc2cdd8b0a6b8b90..5a4ddc62704720ae801fb61b7cbe7060ac41ef30 100644 (file)
@@ -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