From 15a7b0e2d6a68111c6ae67965c33656ac45b3ab91801985d18ff80caf497ac0d Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Sat, 21 Dec 2019 01:07:17 +0000 Subject: [PATCH] Accepting request 758662 from home:cyphar:matrix - Use packaged service file not the one in the repo (the one in the repo is completely broken for openSUSE). OBS-URL: https://build.opensuse.org/request/show/758662 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=103 --- matrix-synapse.changes | 6 ++++++ matrix-synapse.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/matrix-synapse.changes b/matrix-synapse.changes index a4f7ae3..ecafe32 100644 --- a/matrix-synapse.changes +++ b/matrix-synapse.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 21 00:57:27 UTC 2019 - Aleksa Sarai + +- Use packaged service file not the one in the repo (the one in the repo is + completely broken for openSUSE). + ------------------------------------------------------------------- Fri Dec 20 18:09:31 UTC 2019 - Aleksa Sarai diff --git a/matrix-synapse.spec b/matrix-synapse.spec index a9ec41f..1247373 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -172,7 +172,7 @@ mkdir -p %{buildroot}%{_rundir}/%{pkgname} # system configuration. mkdir -p %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{pkgname} -install -D -m 0644 contrib/systemd/%{pkgname}.service %{buildroot}%{_unitdir}/%{pkgname}.service +install -D -m 0644 %{S:50} %{buildroot}%{_unitdir}/%{pkgname}.service # User directory. install -d -m 0755 %{buildroot}%{_rundir}/%{pkgname}