Packaging guidelines allows some libraries to be bundled, however a virtual provide must be added.
Gnulib is one of most often used libraries that were allowed to be bundled, but the majority of packages bundling it doesn't specify Provides: bundled(gnulib).
Please add the following check (or simillar):
If a package: is a C/C++ package (CCppCheckBase), and contains a file named 00gnulib.m4 somewhere in the directory tree, and * doesn't specify Provides: bundled(gnulib)
then fail pointing to appropriate part of packaging guidelines.
This should be more or less straight-forward. Have you any testcases? Examples with and without the Provides: is of course best, but a single package with the Provides: should be sufficient.
All packages listed in [[https://bugzilla.redhat.com/buglist.cgi?emailreporter1=1&list_id=938245&short_desc=gnulib+bundled&classification=Fedora&emailtype1=exact&query_format=advanced&short_desc_type=allwordssubstr&email1=mizdebsk%40redhat.com&product=Fedora|Bugzilla]] had bundled Gnulib. Bugs with status "CLOSED" have the problem already fixed, those with status "NEW" are yet to be fixed.
Fixed in f4c118d. Thanks for report, feel free to reopen if need be.
Login to comment on this ticket.