Just a note that I've backported the %set_build_flags macro from Fedora
to EPEL6 and EPEL7. Updates are at:
*
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-99aa68bf61 (EPEL7)
*
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-6b0faf2b25 (EPEL6)
Buildroot overrides have been filed so these should be live for koji
builds now. Please test and give karma. Thanks!
Other changes in those macros in the past few months, all of which
enhance specfile compatibility with Fedora:
* Added the %build_cflags, %build_cxxflags, %build_fflags and
%build_ldflags macros.
* Added %_rpmmacrodir
* Added %_metainfodir
* Added %vimfiles_root
* Added the varions ldconfig macros (%ldconfig, %ldconfig_post,
%ldconfig_postun, %ldconfig_scriptlets, %ldconfig_post,
%ldconfig_postun) which do the right thing across all releases.
And while I'm typing.... If you have to use conditionals (or maintain a
separate specfile) to work around python2-* packages being called
python-* in EPEL, please see
https://fedoraproject.org/wiki/User:Tibbs/EPELPythonStubPackages
Many of the most common cases are already fixed for you and python2-*
works everywhere. Feel free to request any that you need.
- J<