Bug 1578131
| Summary: | [epel-rpm-macros] add macros for new compiler/linker flags | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Carl George 🤠<carlwgeorge> |
| Component: | epel-rpm-macros | Assignee: | Jason Tibbitts <j> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | j, kevin, TicoTimo, tomspur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | epel-rpm-macros-6-20 epel-rpm-macros-7-18 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-02 21:22:18 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: | |||
epel-rpm-macros-6-20 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-e341fc55aa epel-rpm-macros-7-18 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bce5b00d61 Note that %__global_ldflags is not defined on EL6, so I defined %build_ldflags to be empty there. Buildroot overrides should very soon be active for both of these so it should be possible to use them in koji builds pretty much immediately. epel-rpm-macros-6-20 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-e341fc55aa epel-rpm-macros-7-18 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bce5b00d61 epel-rpm-macros-6-20 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. epel-rpm-macros-7-18 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Fedora's redhat-rpm-config has several compiler/linker flags macros that don't exist in RHEL's redhat-rpm-config [1]. Once a Fedora package start using these, it may fail to build on RHEL. Please define some or all of these macros in epel-rpm-macros. %build_cflags %{optflags} %build_cxxflags %{optflags} %build_fflags %{optflags} -I%{_fmoddir} %build_ldflags %{__global_ldflags} [1]: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/fa08f0e5a18d27663084a35e992083e8e38cc2a4