Pavel Zhukov wrote:
So If I understand thread correctly we have to uncomment line in XML/Ada makefile which removes static libraries and link GPRBuild statically. Right?
I didn't find any commented-out lines to uncomment. I removed the disable_static patch and various parameters that disabled the static libraries, and worked around some quirks in the build system. It works well for linking some example programs, so here's a patch with those changes.
I removed the chrpath command rather than adjusting it, as it's no longer needed.
I don't understand why the spec creates an empty directory named "static", so I didn't touch that. There should be a comment explaining why that directory is needed.
Then I had to make another patch to include the documentation, because RPMbuild complained about installed but unpackaged files. I guess it was caused by some change in how RPMbuild handles %doc.
Björn