%config in a spec file

Paul paul at all-the-johnsons.co.uk
Sat Jul 8 16:48:13 UTC 2006


Hi,

While running rpmlint over anjuta-2.0.2-3, it has come back with

W: anjuta non-conffile-in-etc /etc/gconf/schemas/anjuta-valgrind.schemas

The spec file handles the schemas as per the instructions on the wiki
and according to the rpmlint, I should mark the file as %config.
Accordingly, in the spec, I have

files -f %{name}.lang
%defattr(-,root,root)
%config %{_sysconfdir}/gconf/schemas/%{name}-valgrind.schemas

However, rpmbuild fails with a file not found
(/var/tmp/anjuta-2.0.2-3-root-build/etc/gconf/schemas/anjuta-valgrind.schemas)

I'm obviously doing something wrong, but I'm not sure what. Should the %
config line be at the top with BR, R et al and if it is, what (if
anything) should be in the files section for it?

TTFN

Paul
-- 
"99 Jahre Krieg ließen Keinen Platz für Sieger - Kriegesminister gibt's
nicht mehr - und auch keine Düsenflieger - heute ziehe ich meine Runden
- sehe die Welt in Trümmern liegen - hab' nen Luftballon gefunden - denk
an dich und laß ihn fliegen" - Nena, 99 luft balons
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060708/a7ddef88/attachment.sig>


More information about the fedora-extras-list mailing list