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

Daniel Letai dani at letai.org.il
Thu Apr 9 09:56:13 UTC 2015


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.


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



More information about the packaging mailing list