DevHeads.net

Packaging .c files in a non-devel package

Hello,

I’m currently working on a Fedora package for make-it-quick (<a href="https://github.com/c3d/make-it-quick" title="https://github.com/c3d/make-it-quick">https://github.com/c3d/make-it-quick</a>), a make-only build system with basic auto-configuration.

rpmlint complains about shipping .c files in a non -devel package. The package does contains several small .c files that are used for autoconfiguration.

One option would be to rename the package as “make-it-quick-devel”, but that seems a bit redundant given that the whole point of the package is to be a development tool.

Another option would be to rename the files to use some custom extension for configuration sources. But that seems more like obfuscation, and I don’t like doing that just to silence rpmlint.

Can you suggest a good approach?

Thanks
Christophe de Dinechin

Comments

Re: Packaging .c files in a non-devel package

By Dan =?utf-8?B?x... at 03/14/2019 - 05:18

Hi Christophe,

since the .c files appear to be fundamental for the functionality of
make-it-quick, I'd rather silence this one specific check via an
rpmlintrc file instead of renaming them or converting this into a -devel
package.

Renaming them is probably a lot more work and calling it -devel will
confuse end users. Both are imho not worth it just for the sake of
silencing a single rpmlint warning.

Cheers,

Dan

Christophe de Dinechin < ... at redhat dot com> writes: