[Bug 598511] Review Request: libgtextutils - Assaf Gordon text utilities

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 21 09:35:39 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=598511

--- Comment #2 from Michael Schwendt <mschwendt at gmail.com> 2010-06-21 05:35:33 EDT ---
> %{_includedir}/gtextutils and %{_includedir}/gtextutils/gtextutils
> directories should be owned by -devel subpackage by using %dir.

They are included correctly:

$ rpmls -p libgtextutils-devel-0.6-1.fc13.x86_64.rpm|grep ^d
drwxr-xr-x  /usr/include/gtextutils
drwxr-xr-x  /usr/include/gtextutils/gtextutils

That is because the spec file does

  %{_includedir}/*

which includes the files %{_includedir}/*, and if that happens to be a
directory, it includes the directory and the entire tree beyond it.


[As why the developers create two gtextutils/gtextutils header directories, so
a simple '#include <gtextutils/foo>' is not enough without adjusting the search
path for headers, is beyond me, btw.]

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list