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
This commit is contained in:
Aleksa Sarai 2019-12-21 01:07:17 +00:00 committed by Git OBS Bridge
parent e008c5d4f5
commit 15a7b0e2d6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 21 00:57:27 UTC 2019 - Aleksa Sarai <asarai@suse.com>
- 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 <asarai@suse.com>

View File

@ -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}