Hi Paulo,
Could I persuade you to create the directory with the socket file in the package? This prevents the package to work on distributions with
systemd.
The spec-file-fu is something like the following:
file mpd.tpmfilesd with this line:
d /var/run/mpd 0755 mpd audio -
Source10: mpd.tmpfilesd
%if %{with systemd}
#install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_tmpfilesdir}/mpd.conf
install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/tmpfiles.d/mpd.conf
%endif
Regards,
Kim
On 2013-07-10 14:30, Paulo Cavalcanti wrote:
Hi, Axel
I have two versions. One for Fedora, which uses mpd.service,
and another for rhel6 with /etc/rc.d/init.d/mpd.
The fedora version is the same we had before, but the rhel6 will allow
an upgrade from the previous 0.16.7 we have at ATrpms.
Thanks.
http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm
<http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm>
http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm
<http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm>
--
Paulo Roma Cavalcanti
LCG - UFRJ
_______________________________________________
atrpms-devel mailing list
atrpms-devel@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-devel
_______________________________________________
atrpms-devel mailing list
atrpms-devel@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-devel