Add and remove the group 'weston-launch' with the package in the post section

This commit is contained in:
gerd 2019-09-27 14:02:33 +02:00
parent 92a5e05d77
commit e0a6f1a29f

View File

@ -107,6 +107,12 @@ eval "$MESON -Dsimple-dmabuf-drm=auto"
%install %install
%meson_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 %files
%license COPYING %license COPYING
%doc README.md %doc README.md
@ -195,6 +201,9 @@ eval "$MESON -Dsimple-dmabuf-drm=auto"
%{_datadir}/libweston-%{apiver}/protocols/ %{_datadir}/libweston-%{apiver}/protocols/
%changelog %changelog
* Fri Sep 27 2019 Gerd Pokorra <gp@zimt.uni-siegen.de> - 7.0.0-2
- Add and remove the group 'weston-launch' with the package in the post section
* Thu Sep 12 2019 Gerd Pokorra <gp@zimt.uni-siegen.de> - 7.0.0-1 * Thu Sep 12 2019 Gerd Pokorra <gp@zimt.uni-siegen.de> - 7.0.0-1
- Update to 7.0.0 - Update to 7.0.0
- Use meson as build system - Use meson as build system