[Fedora-packaging] %doc doesn't seem to use _defaultdocdir definition [solved]

Mat Booth fedora at matbooth.co.uk
Thu Apr 9 10:26:20 UTC 2015


On 9 April 2015 at 10:56, Daniel Letai <dani at letai.org.il> wrote:

> Thanks, It now works
> I also had to move it prior to the 1st %description tag.
>
> BTW, I have built a gcc toolchain rpms (gmp, mpfr, mpc, cloog, isl, osl
> and gcc - each in it's own rpm) using environment modules to allow multiple
> version co-existence.
>
> It works well enough internally in our own production environment, I'm
> wondering if anyone else might have use of such an environment.
>
> The %doc was the last issue.
>
>
It sounds like you have very nearly re-invented "software collections"
because it does something similar: https://www.softwarecollections.org/en/




>
> On 04/09/2015 11:34 AM, Ville Skyttä wrote:
>
>> On Thu, Apr 9, 2015 at 10:13 AM, Daniel Letai <dani at letai.org.il> wrote:
>>
>>> $ cat sample_rpm.spec
>>>
>> [...]
>>
>>> global _defaultdocdir /opt/sample_rpm/share/doc
>>>
>> Try %global instead of global.
>> --
>> packaging mailing list
>> packaging at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/packaging
>>
>
> --
> packaging mailing list
> packaging at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>
> --
> <https://admin.fedoraproject.org/mailman/listinfo/packaging>
> Mat Booth
> <https://admin.fedoraproject.org/mailman/listinfo/packaging>
> http://fedoraproject.org/get-fedora
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20150409/71796372/attachment.html>


More information about the packaging mailing list