aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/spec.snippets
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-05-22 12:32:09 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:59:41 +0100
commit480e0a80421b5f19c83cd43bee19fbb781284ecc (patch)
tree8891d66c1409c437141b9ae66cd71f8ae75e8e16 /snippets/spec.snippets
parent95d0ed3c5ffae2cefa3bd5aa09ec9e1500975ecf (diff)
downloadvim-suse-changes-480e0a80421b5f19c83cd43bee19fbb781284ecc.tar.gz
fix(snippets): improve altpost snippet
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