[Bug 961237] Review Request: sipxtapi - SIP stack and real-time media framework

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

 



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



--- Comment #12 from Michael Schwendt <bugs.michael@xxxxxxx> ---
In general, docs get installed where _you_ install them or where the software
package installs them.

However, if you use %doc in a %files list, it does two different things
depending on what files you apply it to. For local files in the build dir, it
copies them to

  %{_docdir}/%{name}-%{version}

whereas when applying %doc to absolute paths, it just marks files as being
Documentation files (e.g. for RPM queries or --excludedocs installations).


For Fedora 20, things have changed, and %doc will copy to

  %{_docdir}/%{name}

without the trailing version. Check out:

  https://fedoraproject.org/wiki/Changes/UnversionedDocdirs


When using %doc for the files of a subpackage, %{name} will be the subpackage
name. So, in a -doc subpackage, %doc installs into:

  %{_docdir}/%{name}-doc-%{version}

Unversioned for F20, of course.

Some packagers don't like the multiple doc dirs that are the result of using
%doc in subpackages. They install everything themselves during %install into a
single directory (versioned or not), and files below %_docdir are marked %doc
automatically, too.

HTH

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=2lxrizR0LG&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]