fix triggerpostun workaround
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 26 May 2006 22:20:14 +0000 (22:20 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 26 May 2006 22:20:14 +0000 (22:20 +0000)
util-vserver.spec
util-vserver.spec.in

index b26c255..92bf914 100644 (file)
@@ -399,7 +399,7 @@ install -D -m 755 *.so "$python_sitelib"/
 popd
 
 
-%triggerpostun -- %{name}
+%triggerpostun python -- util-vserver-python, util-vserver-py23
 # RPMs get upgraded by installing the new one, then uninstalling the
 # old one. Since we no longer own the byte-compiled modules, they may
 # be removed right after we create them in %post if we are upgraded
index 14d75ae..3b188eb 100644 (file)
@@ -399,7 +399,7 @@ install -D -m 755 *.so "$python_sitelib"/
 popd
 
 
-%triggerpostun -- %{name}
+%triggerpostun python -- util-vserver-python, util-vserver-py23
 # RPMs get upgraded by installing the new one, then uninstalling the
 # old one. Since we no longer own the byte-compiled modules, they may
 # be removed right after we create them in %post if we are upgraded