|
a/rpm/upmpdcli.spec |
|
b/rpm/upmpdcli.spec |
|
... |
|
... |
31 |
%{__make} %{?_smp_mflags}
|
31 |
%{__make} %{?_smp_mflags}
|
32 |
|
32 |
|
33 |
%pre
|
33 |
%pre
|
34 |
getent group upmpdcli >/dev/null || groupadd -r upmpdcli
|
34 |
getent group upmpdcli >/dev/null || groupadd -r upmpdcli
|
35 |
getent passwd upmpdcli >/dev/null || \
|
35 |
getent passwd upmpdcli >/dev/null || \
|
36 |
useradd -r -g upmpdcli -d /nonexistent -s /sbin/nologin \
|
36 |
useradd -r -g upmpdcli -G audio -d /nonexistent -s /sbin/nologin \
|
37 |
-c "upmpdcli mpd UPnP front-end" upmpdcli
|
37 |
-c "upmpdcli mpd UPnP front-end" upmpdcli
|
38 |
exit 0
|
38 |
exit 0
|
39 |
|
39 |
|
40 |
%install
|
40 |
%install
|
41 |
%{__rm} -rf %{buildroot}
|
41 |
%{__rm} -rf %{buildroot}
|