Accepting request 827780 from home:dimstar:Factory
- Use %{_userunitdir} consistently in the spec file. OBS-URL: https://build.opensuse.org/request/show/827780 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=57
This commit is contained in:
parent
d87c7f0782
commit
7b0c54666e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 19 09:12:04 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %{_userunitdir} consistently in the spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 7 06:32:18 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
6
mpd.spec
6
mpd.spec
@ -218,8 +218,8 @@ install -d \
|
||||
install -m 0644 %{SOURCE1} README.mpd
|
||||
cp -a "%{SOURCE2}" "%{buildroot}%{_docdir}/%{name}/"
|
||||
ln -s service %{buildroot}%{_sbindir}/rcmpd
|
||||
rm %{buildroot}%{_libexecdir}/systemd/user/mpd.socket
|
||||
ln -s ../system/mpd.socket %{buildroot}%{_libexecdir}/systemd/user/mpd.socket
|
||||
rm %{buildroot}%{_userunitdir}/mpd.socket
|
||||
ln -s ../system/mpd.socket %{buildroot}%%{_userunitdir/mpd.socket
|
||||
|
||||
%pre
|
||||
# add mpd user only when installing first time
|
||||
@ -249,7 +249,7 @@ getent passwd mpd >/dev/null || useradd -r -g audio -d %{_localstatedir}/lib/mpd
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_unitdir}/mpd.service
|
||||
%{_unitdir}/mpd.socket
|
||||
%{_libexecdir}/systemd/user/mpd.socket
|
||||
%{_userunitdir}/mpd.socket
|
||||
%{_userunitdir}/mpd.service
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user