Re: Packaging guidelines for documentation clairfication needed

2015-09-15 Thread Richard Shaw
On Tue, Sep 15, 2015 at 2:41 PM, Richard Shaw wrote: > The other option being to move the documentation back to %buildroot and > use relative paths... > Responding to myself here... That doesn't work because if I use the %doc method in the doc subpackage then the files get installed to: %{_docdi

Re: Packaging guidelines for documentation clairfication needed

2015-09-15 Thread Richard Shaw
On Mon, Sep 14, 2015 at 11:06 PM, Ralf Corsepius wrote: > Older versions of rpm allowed mixing relative %doc and direct installs > into %_pkgdocdir. > > rpm - as upstream calls it - "fixed it" (IMHO, they broke rpm - of course > upstreams disagrees with me). > > As a consequence of this, rpm now

Re: Packaging guidelines for documentation clairfication needed

2015-09-14 Thread Ralf Corsepius
On 09/14/2015 04:13 PM, Richard Shaw wrote: While working through a package review[1] this excerpt from the documentation section[2] was brought to my attention: "Marking a /relative/ path with |%doc| in the |%files| section will cause RPM to copy the referenced file or directory from |%_builddi

Packaging guidelines for documentation clairfication needed

2015-09-14 Thread Richard Shaw
While working through a package review[1] this excerpt from the documentation section[2] was brought to my attention: "Marking a *relative* path with %doc in the %files section will cause RPM to copy the referenced file or directory from %_builddir to the proper location for documentation. Files c