From 480e0a80421b5f19c83cd43bee19fbb781284ecc Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 22 May 2020 12:32:09 +0200 Subject: fix(snippets): improve altpost snippet --- snippets/spec.snippets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit