On mercredi, 31 janvier 2018 14.06:03 h CET martin(a)pluskal.org wrote:
On Wed, 2018-01-31 at 13:22 +0100, John Paul Adrian
I have a quick question regarding extra documentation files.
The upstream tarball of python-msrestazure is missing a separate
LICENSE file. I just downloaded the one from the github repository
and added it with "Source1: LICENSE.md" in the spec file.
However, adding it to the %doc section doesn't work, during package
build, the file isn't found because it apparently needs to be copied
into the source root first.
Is there any common way to place additional text files into %doc?
Not common way but you have to work around it by install/cp of source
in setup or install phase (see i.e ).
Also open an issue upstream, so the license file will be included next release
(they also need it normally for publishing on pypi)
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org