From 141fbfcf26ce6c789af1d1672366014b9f075ced Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 9 Feb 2018 17:24:21 +0100 Subject: [PATCH] Build playback with LDFLAGS from redhat-rpm-config --- x3270.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x3270.spec b/x3270.spec index 3bd05a8..6cfd710 100644 --- a/x3270.spec +++ b/x3270.spec @@ -4,7 +4,7 @@ Summary: An X Window System based IBM 3278/3279 terminal emulator Name: x3270 Version: 3.6ga4 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Group: Applications/Internet URL: http://x3270.sourceforge.net/ @@ -79,7 +79,7 @@ done make %{?_smp_mflags} CCOPTIONS="$RPM_OPT_FLAGS" LIBX3270DIR=%{_sysconfdir} # build playback tool -( cd Playback; make CFLAGS="$RPM_OPT_FLAGS" ) +( cd Playback; make CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" ) %install @@ -135,6 +135,9 @@ cd %{_fontdir} && %{_prefix}/bin/mkfontdir %changelog +* Fri Feb 9 2018 Florian Weimer - 3.6ga4-3 +- Build playback with LDFLAGS from redhat-rpm-config + * Thu Jan 18 2018 Igor Gnatenko - Remove obsolete scriptlets