In order to compile and install addons with GRASS' g.extension module, the directory /usr/include/grass/Make/ needs to be included in grass-devel. In addition, a link is needed /usr/lib64/grass-XXX/include/ -> /usr/include/grass/ since g.extension searches for include/ in /usr/lib[64]/grass-XXX/ Partial solution: I created a GRASS GIS 7.2 package here with an updated SPEC file which contains the respective commented out code needed here. I am not familiar enough with SPEC files to get it completely working (should not be too complicated, though, to get GRASS' include/ directory packaged). The missing trick is that the paths in include/Make/Platform.make need to be updated to the target directory through a sed operation: https://copr.fedorainfracloud.org/coprs/neteler/grass72/ https://copr-be.cloud.fedoraproject.org/results/neteler/grass72/fedora-27-x86_64/00597480-grass/grass.spec Note: the SPEC file is also EPEL ready. "Just" this g.extension include thing is missing.
The g.extension problem got solved, here the new GRASS GIS SPEC file: https://trac.osgeo.org/grass/browser/grass/trunk/rpm/ - grass.spec - grass_unversioned.spec I have built and tested a binary package on COPR: https://copr.fedorainfracloud.org/coprs/neteler/grass74/ Please update the official SPEC file with these fixes, thanks.
Created attachment 1383616 [details] Updated SPEC file for GRASS GIS
Updated SPEC file for GRASS GIS (contributed by Markus Metz). Fixes: - g.extension bug by fixing "grass-devel" RPM which needs include/grass and include/Make dirs - updates creation of "grass-gui" RPM I tried to push it myself to https://src.fedoraproject.org/rpms/grass but I failed due to permission errors.
New GRASS GIS 7.4.0 RPM submitted for review in bug #1539116 which solves this bug.
grass-7.2.3-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1788c9054c
grass-7.2.3-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1788c9054c
grass-7.4.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-64644ab8c5
grass-7.4.0-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-64644ab8c5
grass-7.4.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
grass-7.4.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e13babe183
grass-7.4.0-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e13babe183
grass-7.4.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.