Re: %{_datadir}/gtk-doc/ %doc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-06-28 at 18:28 -0700, Toshio Kuratomi wrote:
> Should files under %{_datadir}/gtk-doc/html be marked as %doc?  They are
> API docs for libraries which are extracted using the gtk-doc toolset and
> viewable in devhelp.  I've never seen a set of files that was necessary
> for the runtime operation of a library (and doubt that I will... they're
> API docs and usually included in a -devel subpackage.)  On my current
> system I haven't found any files in %{_datadir}/gtk-doc/html that are
> marked as %doc.

They should be considered %doc, yes.  But the right way to do so is to
get it added to the list of docDirs within rpm.  Attached patch should
do it.

Jeremy
diff -r 7ca081cd83d8 build/files.c
--- a/build/files.c	Thu Jun 28 14:44:48 2007 +0300
+++ b/build/files.c	Thu Jun 28 22:07:13 2007 -0400
@@ -2029,6 +2029,7 @@ static int processPackageFiles(Spec spec
     fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/doc");
     fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/man");
     fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/info");
+    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/gtk-doc/html");
     fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_docdir}", NULL);
     fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_mandir}", NULL);
     fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_infodir}", NULL);
--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux