Bug 1882857

Summary: add macros to not use new cmake macros on EL8
Product: [Fedora] Fedora EPEL Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: nextcloud-clientAssignee: Germano Massullo (Thetra) <germano.massullo>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: epel8CC: claudiorodrigo, comzeradd, germano.massullo, gwync, jan.public, mailinglists, michel, nb, nonamedotc, taaem
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-12 04:16:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Germano Massullo (Thetra) 2020-09-25 23:03:54 UTC
EPEL branch uses the same spec file of master branch.
There, it has recently been introduced the new cmake macros [1]

%cmake_kf5
%cmake_build
%cmake_install

but they do not work on EL8 at the moment, so we need to add proper macros to skip them.
You can take as example my spec file
https://src.fedoraproject.org/rpms/darktable/blob/master/f/darktable.spec

[1]: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds

Comment 1 Michel Lind 2021-07-12 04:16:34 UTC
This is no longer needed, see https://src.fedoraproject.org/rpms/epel-rpm-macros/pull-request/19