[Distutils] config file handling in bdist_rpm

Matthew Richardson m.richardson at ed.ac.uk
Thu Oct 20 17:39:41 CEST 2011


I'm currently using the bdist_rpm method to build rpms.

I've had a look through the distutils source, and it seems to generate a
%files section in the specfile and just put everything in there.

Would it be possible to extend bdist_rpm to also use the %config section
for config files, so that these are properly identified in the rpm and
thus not removed or overwritten on rpm changes?

Thanks,

Matthew


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20111020/b6e7d223/attachment.pgp>


More information about the Distutils-SIG mailing list