]> granicus.if.org Git - graphviz/commitdiff
trying to fix an issue with %post in rpm .spec filr
authorJohn Ellson <john.ellson@comcast.net>
Sun, 5 Mar 2017 05:29:19 +0000 (00:29 -0500)
committerJohn Ellson <john.ellson@comcast.net>
Sun, 5 Mar 2017 05:29:19 +0000 (00:29 -0500)
graphviz.spec.in

index 448bab5a9e39d4c665dcc9a313929b33c4fc6fdb..d94eed4b8bb46b7ea8c9a3dcdaa5c2dcd01457a0 100644 (file)
@@ -326,11 +326,11 @@ Requires:         %{name}-nox = %{version}-%{release}
 Graphviz plugins - core layout engines and text renderers
 
 # run "dot -c" to generate plugin config in {_libdir}/graphviz/config6
-%post
+%post plugins-core
 LD_LIBRARY_PATH=$RPM_INSTALL_PREFIX0/%{_lib} $RPM_INSTALL_PREFIX0/bin/dot -c
 
 # if there is no dot after everything else is done, then remove config
-%postun
+%postun plugins-core
 if [ $1 -eq 0 ]; then
         rm -f $RPM_INSTALL_PREFIX0/%{_lib}/graphviz/config6 || :
 fi