Description of problem: cmake3-3.14.6-2.el7 is unable to parse CPACK_RPM_PACKAGE_SUGGESTS tag, while current Fedora 31 cmake-3.16.4-1.fc31 parses correctly. Please update.
@Björn `CPACK_RPM_PACKAGE_SUGGESTS` variable is already in CMake-3.14. Or am i wrong? https://cmake.org/cmake/help/v3.14/cpack_gen/rpm.html#cpack_gen:CPack%20RPM%20Generator
The variable is present, rpm spec file is properly generated, however epel provided 3.14 fails while the same code on fedora 31 3.16 does not. Could the error be related to RPM version?...
> Could the error be related to RPM version? Please, check the output of these commands where the variable does not work. $ rpm --version --querytags $ rpm --querytags | grep -i "suppl\|enhanc\|recom\|sugg"
This is RHEL7, rpm output look good to me. $ rpm --querytags | grep -i "suppl\|enhanc\|recom\|sugg" ENHANCEFLAGS ENHANCENAME ENHANCES ENHANCEVERSION RECOMMENDFLAGS RECOMMENDNAME RECOMMENDS RECOMMENDVERSION SUGGESTFLAGS SUGGESTNAME SUGGESTS SUGGESTVERSION SUPPLEMENTFLAGS SUPPLEMENTNAME SUPPLEMENTS SUPPLEMENTVERSION
any plans to update epel cmake3 to match latest Fedora?
The related patch needs many work and time. This weekend, maybe.
FEDORA-EPEL-2020-b6a455afdf has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b6a455afdf
FEDORA-EPEL-2020-b6a455afdf has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b6a455afdf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2020-b6a455afdf has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.
I see updated cmake3-3.17 package but the same error still present: CPack3: Create package CPackRPM: Will use GENERATED spec file: /builddir/project/build/_CPack_Packages/Linux/RPM/SPECS/project.spec CPackRPM:Debug: You may consult rpmbuild logs in: CPackRPM:Debug: - /builddir/project/build/_CPack_Packages/Linux/RPM/rpmbuildproject.err CPackRPM:Debug: *** error: line 24: Unknown tag: Suggests: xterm <mock-chroot> sh-4.2# cmake3 -version cmake3 version 3.17.2 CMake suite maintained and supported by Kitware (kitware.com/cmake).
Hi, I'm working on CentOS 7 or RHEL 7. This is still not fixed 3 years later ... # rpm -qa cmake3 cmake3-3.17.5-1.el7.x86_64 CPack3: Create package CPackRPM: Will use GENERATED spec file: /home/user/soft/build/_CPack_Packages/Linux/RPM/SPECS/ac.spec CPackRPM:Debug: You may consult rpmbuild logs in: CPackRPM:Debug: - /home/user/soft/build/_CPack_Packages/Linux/RPM/rpmbuildac.err CPackRPM:Debug: *** erreur : ligne 24 : tag inconnu : Suggests: bc, gnupg, httpd, ipa-gothic-fonts, ipa-mincho-fonts, libreoffice-headless, libreoffice-writer, libreoffice-calc, postgresql-libs, perl-libxml-perl, perl-XML-Writer, spamassassin, unzip, zip Please advise Thank you