From 2c1b63719973e3ea1c2dd0a6ea325a126de01bcf81e653c15d13f4d205b80da3 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Thu, 2 Dec 2021 11:06:06 +0000 Subject: [PATCH] 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 --- xpra.changes | 7 +++++++ xpra.spec | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/xpra.changes b/xpra.changes index 4980ca6..7a7f1b5 100644 --- a/xpra.changes +++ b/xpra.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 1 21:50:11 UTC 2021 - Bjørn Lie + +- 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 diff --git a/xpra.spec b/xpra.spec index 90a8f16..e5c0851 100644 --- a/xpra.spec +++ b/xpra.spec @@ -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