Bug 1578131 - [epel-rpm-macros] add macros for new compiler/linker flags
Summary: [epel-rpm-macros] add macros for new compiler/linker flags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-rpm-macros
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-14 20:45 UTC by Carl George
Modified: 2018-06-02 22:00 UTC (History)
4 users (show)

Fixed In Version: epel-rpm-macros-6-20 epel-rpm-macros-7-18
Clone Of:
Environment:
Last Closed: 2018-06-02 21:22:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carl George 2018-05-14 20:45:38 UTC
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

Comment 1 Fedora Update System 2018-05-14 22:13:43 UTC
epel-rpm-macros-6-20 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-e341fc55aa

Comment 2 Fedora Update System 2018-05-14 22:13:51 UTC
epel-rpm-macros-7-18 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bce5b00d61

Comment 3 Jason Tibbitts 2018-05-14 22:18:19 UTC
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.

Comment 4 Fedora Update System 2018-05-15 21:21:06 UTC
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

Comment 5 Fedora Update System 2018-05-15 21:22:01 UTC
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

Comment 6 Fedora Update System 2018-06-02 21:22:18 UTC
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.

Comment 7 Fedora Update System 2018-06-02 22:00:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.