SHA256
1
0
forked from pool/xpra

Accepting request 935076 from home:iznogood:branches:X11:Utilities

- Drop unused pkgconfig(pygtk-2.0) BuildRequires: Not used since
  version 4.0, when python 2 support was dropped.
- Add pre, post, preun and postun handling of xpra.socket.

OBS-URL: https://build.opensuse.org/request/show/935076
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=89
This commit is contained in:
Luigi Baldoni 2021-12-02 11:06:06 +00:00 committed by Git OBS Bridge
parent e904c44873
commit 2c1b637199
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 1 21:50:11 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop unused pkgconfig(pygtk-2.0) BuildRequires: Not used since
version 4.0, when python 2 support was dropped.
- Add pre, post, preun and postun handling of xpra.socket.
-------------------------------------------------------------------
Mon Oct 4 15:04:17 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -64,7 +64,6 @@ BuildRequires: pkgconfig(libswscale) >= 5
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libwebp) >= 0.4
BuildRequires: pkgconfig(py3cairo)
BuildRequires: pkgconfig(pygtk-2.0)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(vpx) >= 1.4.0
BuildRequires: pkgconfig(xcomposite)
@ -207,17 +206,21 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
getent group xpra >/dev/null || groupadd -r xpra
mkdir -p %{_rundir}/%{name} || exit 1
%service_add_pre %{name}.service
%service_add_pre %{name}.socket
%post
%service_add_post %{name}.service
%service_add_post %{name}.socket
%fillup_only %{name}
%tmpfiles_create %{_tmpfilesdir}/xpra.conf
%preun
%service_del_preun %{name}.service
%service_del_preun %{name}.socket
%postun
%service_del_postun %{name}.service
%service_del_postun %{name}.socket
%files
%doc docs/README.md docs/CHANGELOG.md