aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/spec.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/spec.snippets')
-rw-r--r--snippets/spec.snippets3
1 files changed, 2 insertions, 1 deletions
diff --git a/snippets/spec.snippets b/snippets/spec.snippets
index e71ddec..2848896 100644
--- a/snippets/spec.snippets
+++ b/snippets/spec.snippets
@@ -39,9 +39,10 @@ snippet multi
%endif
Name: python-${1:name}%{psuffix}
-snippet altpost
+snippet alt
Requires(post): update-alternatives
Requires(postun): update-alternatives
+ %python_clone -a execname
%post
%python_install_alternative execname