On Thursday 25 August 2011, 05:07:55 Philipp Thomas wrote:
On Thu, 25 Aug 2011 02:11:08 +0200, Christian
wrote:
I agree, when having doc as subpkg, then path should be
/usr/share/doc/packages/pkgname
And? So you redefine the name rpm uses which is docdir if I remember correctly.
Well, if I do: %define _docdir /usr/share/doc/packages/python-polib I harvest: Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.22547 + umask 022 + cd /usr/src/packages/BUILD + cd polib-0.7.0 + DOCDIR=/var/tmp/python-polib-0.7.0-build/usr/share/doc/packages/python-polib/python-polib-doc + export DOCDIR + rm -rf /var/tmp/python-polib-0.7.0-build/usr/share/doc/packages/python-polib/python-polib-doc + /bin/mkdir -p /var/tmp/python-polib-0.7.0-build/usr/share/doc/packages/python-polib/python-polib-doc + cp -pr docs/_build/html /var/tmp/python-polib-0.7.0-build/usr/share/doc/packages/python-polib/python-polib-doc + exit 0 Up to /var/tmp/python-polib-0.7.0-build/usr/share/doc/packages/python-polib, it's fine, but %doc seems to insist of using the packages name as the last element. Close, but no cigar. Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org