[Fedora-packaging] (C++) Header-Only Package

Denis Arnaud denis.arnaud_fedora at m4x.org
Thu Jul 28 15:27:12 UTC 2011


Hello,

we would like to package a C++ header-only project, namely tclap (
https://bugzilla.redhat.com/show_bug.cgi?id=683591).
The relevant guideline is to be found on:
https://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages

The question is:
1. Should the header files go into the main package, removing the need for a
-devel sub-package? The reason would be that that package is a development
package only, like gcc for instance.
2. Or should the header files go into the -devel sub-package, leaving the
main package almost empty (only the README, COPYING documentation would go
into the main package), much like what is done for Boost header-only
components?

In either case, then, since header files are architecture independent, I
guess that the corresponding package should be 'noarch'. However, a
pkgconfig (.pc) file is delivered together with the package; and rpmlint
complains that pkgconfig files should be delivered by architecture-dependent
sub-packages only. Should you leave rpmlint complaining quietly?

Thanks in advance

Best Regards

Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/packaging/attachments/20110728/e7f5165e/attachment.html 


More information about the packaging mailing list