On Thu, Nov 22, 2012 at 10:20:21AM +0000, Colin wrote in <[email protected]>:
I should write up a wiki page, but here is the details:

<snip>

# create tmpfiles directory
install -d -m0755 %{buildroot}%{_prefix}/lib/tmpfiles.d
install -m0644 %{SOURCEN}
%{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf

Make sure it's included in the %files section too:
%{_prefix}/lib/tmpfiles.d/*.conf

Hi Colin,

Thanks for these instructions. I've updated fail2ban accordingly and am now in the process of doing inn. Running rpmlint on the spec file I did find that it results in some warnings when following your instructions to the letter:

./inn.spec:204: W: hardcoded-library-path in %{_prefix}/lib/tmpfiles.d

./inn.spec:205: W: hardcoded-library-path in %{_prefix}/lib/tmpfiles.d/%{name}.conf

./inn.spec:333: W: hardcoded-library-path in %{_prefix}/lib/tmpfiles.d/*.conf

Thanks,

Remmy

Attachment: pgpMyv1kQOcaH.pgp
Description: PGP signature

Reply via email to