[Mageia-dev] Adding tmpfiles.d support to packages (was: Re: rpmlint)
Remco Rijnders
remco at webconquest.com
Sun Nov 25 13:44:40 CET 2012
On Thu, Nov 22, 2012 at 10:20:21AM +0000, Colin wrote in
<50ADFC65.8080905 at colin.guthr.ie>:
>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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20121125/666ad136/attachment.asc>
More information about the Mageia-dev
mailing list