I'm looking at packaging up cmake 3.4 for EPEL7 as cmake34 much like we did with cmake 2.8 in EPEL6 as cmake28. Generally what we've done in the past is still install into the normal paths and rename binaries & directories asneeded. With cmake this is quite tricky and requires an invasive patch.
It would be much easier to install into a different prefix and then symlink to /usr/bin/cmake34 - although I still have some doubts as to whether this would work or not - cmake seems to want to still spawn "cmake" which would use the system version (or not be found). One might also be able to use environment-modules, though this would require more modification to spec files.
See https://bugzilla.redhat.com/show_bug.cgi?id=1290199 for some more details.
Thoughts?
Hi,
I'm looking at packaging up cmake 3.4 for EPEL7 as cmake34 much
...
Thoughts?
well, maybe I'm overlooking something but ... isn't this what software collections[*] had been designed for?
K.
[*] https://www.softwarecollections.org/
On Thu, 24 Dec 2015 20:15:43 +0100 Karel Volný kvolny@redhat.com wrote:
Hi,
I'm looking at packaging up cmake 3.4 for EPEL7 as cmake34 much
...
Thoughts?
well, maybe I'm overlooking something but ... isn't this what software collections[*] had been designed for?
Possibly. However, there's no completed guidelines for SCL's in Fedora and thus also EPEL, so they cannot be used by Fedora or EPEL.
kevin
On 12/26/2015 09:51 PM, Kevin Fenzi wrote:
On Thu, 24 Dec 2015 20:15:43 +0100 Karel Volný kvolny@redhat.com wrote:
Hi,
I'm looking at packaging up cmake 3.4 for EPEL7 as cmake34 much
...
Thoughts?
well, maybe I'm overlooking something but ... isn't this what software collections[*] had been designed for?
Possibly. However, there's no completed guidelines for SCL's in Fedora and thus also EPEL, so they cannot be used by Fedora or EPEL.
However, nobody is blocked to build SCLs in copr (for Fedora or EPEL), which wouldn't be available in EPEL though, which I expect was the original purpose. But would be available for people using EPEL at least.
Honza
epel-devel@lists.fedoraproject.org