From e0a6f1a29faebb54e9664c85a8b716effe708433 Mon Sep 17 00:00:00 2001 From: gerd Date: Fri, 27 Sep 2019 14:02:33 +0200 Subject: [PATCH] Add and remove the group 'weston-launch' with the package in the post section --- weston.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/weston.spec b/weston.spec index 776b237..309a044 100644 --- a/weston.spec +++ b/weston.spec @@ -107,6 +107,12 @@ eval "$MESON -Dsimple-dmabuf-drm=auto" %install %meson_install +%post +/usr/bin/getent group weston-launch >/dev/null || /usr/sbin/groupadd -r weston-launch + +%postun +/usr/sbin/groupdel weston-launch || true + %files %license COPYING %doc README.md @@ -195,6 +201,9 @@ eval "$MESON -Dsimple-dmabuf-drm=auto" %{_datadir}/libweston-%{apiver}/protocols/ %changelog +* Fri Sep 27 2019 Gerd Pokorra - 7.0.0-2 +- Add and remove the group 'weston-launch' with the package in the post section + * Thu Sep 12 2019 Gerd Pokorra - 7.0.0-1 - Update to 7.0.0 - Use meson as build system