[ltsp] BR: flex-static (Fix FTBFS BZ#661050, BZ#716153). Honor RPM_OPT_FLAGS during building client/getltsc

corsepiu corsepiu at fedoraproject.org
Mon Jul 4 06:29:24 UTC 2011


commit 3c5f747d67c615c6a7c9201d0d55ecfa894b9d0c
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Jul 4 08:29:02 2011 +0200

    BR: flex-static (Fix FTBFS BZ#661050, BZ#716153).
    Honor RPM_OPT_FLAGS during building client/getltscfg.

 ltsp.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ltsp.spec b/ltsp.spec
index a6db258..2ad4ec1 100644
--- a/ltsp.spec
+++ b/ltsp.spec
@@ -2,7 +2,7 @@ Name:           ltsp
 Version:        5.1.95
 %define _datestamp .20091203.11
 #Release:        0%{_datestamp}%{?dist}
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Linux Terminal Server Project Server and Client
 Group:          User Interface/Desktops
 
@@ -18,7 +18,7 @@ BuildRequires: popt-devel
 %else
 BuildRequires: popt
 %endif
-BuildRequires: flex bison
+BuildRequires: flex flex-static bison
 BuildRequires: automake
 BuildRequires: pkgconfig
 BuildRequires: libX11-devel
@@ -97,7 +97,7 @@ your system to support hardware virtualization or it will be very slow.
 
 %build
 pushd client/getltscfg
-  make %{?_smp_mflags}
+  make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="${RPM_OPT_FLAGS}"
 popd
 
 pushd localapps
@@ -413,6 +413,10 @@ fi
 %endif
 
 %changelog
+* Mon Jul 04 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 5.1.95-3
+- BR: flex-static (Fix FTBFS BZ#661050, BZ#716153).
+- Honor RPM_OPT_FLAGS during building client/getltscfg.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.1.95-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list