%config in a spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux