On 9 April 2015 at 10:56, Daniel Letai <dani@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@letai.org.il> wrote:
$ cat sample_rpm.spec
[...]
global _defaultdocdir /opt/sample_rpm/share/doc
Try %global instead of global.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

--