On Tuesday, March 15, 2022 12:18:02 AM CET Neal Gompa wrote:
> I bent over backwards to get the macros working all the way back to EPEL 7.
> 
> I updated the cmake3 package in EPEL 7[1] and I got RHEL to update
> CMake[2] and sync the macros from Fedora[3] for RHEL 8.
> 
> The only difference for EPEL 7 and EPEL 8 is that RHEL's default is to
> do in-source builds and you need to explicitly set it back in your
> spec file.
> 
> [1]: 
> https://src.fedoraproject.org/rpms/cmake3/c/1e92b954226f002762fa98582367c080f267d449?branch=epel7
> [2]: 
> https://git.centos.org/rpms/cmake/c/09b85a86fd26251b569658b4ecb5db9ace298606?branch=c8s
> [3]: 
> https://git.centos.org/rpms/cmake/c/262fd084db691b092d1df3178adc357f2dcaef38?branch=c8s
>  

Do you have any example of a spec file that builds in the buildroots
of EPEL-{7..9} and all supported releases of Fedora without additional
`%if...` macros?

Preferably something that builds the same source code multiple times,
like in the csdiff example I posted above:

    
https://github.com/csutils/csdiff/blob/2c3b7ce60f1bdd2bf42903dec290c6b775f1697a/make-srpm.sh#L74

Kamil

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to