Hide Forgot
Description of problem: CMake/CPack 2.6.4 does not work well with rpmbuild-4.8 due to an ignored option in the generated spec file, hence building RPM packages on a rpm-based system fails. Version-Release number of selected component (if applicable): $> cmake --cersion cmake version 2.6-patch-4 $> rpmbuild --version RPM version 4.8.0 Additional info: See earlier description of the problem and the then suggested fix: http://www.cmake.org/pipermail/cmake/2009-June/030035.html http://www.cmake.org/pipermail/cmake/2009-March/028301.html Resolved cmake bug: http://public.kitware.com/Bug/view.php?id=8967 Updating the CPackRPM.cmake as indicated in the second ml-link indeed fixed the problem for me. This might be an incentive to reconsider #606892?
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
Created attachment 532884 [details] Proposed fix Thanks for digging out those mails. I'm attaching what I think might be a fix.
(In reply to comment #3) > Created attachment 532884 [details] > Proposed fix Yes, this is what I applied to my local files, fixed the problem. If we could get a bugfix update regardless of comment #2, I'd appreciate it. Thanks.
Quality Engineering Management has reviewed and declined this request. You may appeal this decision by reopening this request.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
FYI - cmake28 is available from Fedora EPEL.
Adding BuildRequires: cmake28 and changing the %build command from cmake to cmake28 seems to have fixed the problem. Thanks
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1506.html