From cc108cb7bb0c9da87c24e7765e2da4850de6a324 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Tue, 16 Mar 2010 06:50:33 +0000 Subject: [PATCH] Set CFLAGS and CXXFLAGS variables to --- xulrunner-python.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/xulrunner-python.spec b/xulrunner-python.spec index a8669f5..d8fc0fc 100644 --- a/xulrunner-python.spec +++ b/xulrunner-python.spec @@ -5,7 +5,7 @@ Summary: Python interface for mozilla XPCOM library Name: xulrunner-python Version: 1.9.2 -Release: 2.%{hgver}%{?dist} +Release: 3.%{hgver}%{?dist} URL: http://developer.mozilla.org/en/PyXPCOM License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -46,7 +46,10 @@ autoconf-2.13 #--------------------------------------------------------------------- %build -cd %{objdir} +export CFLAGS=$RPM_OPT_FLAGS +export CXXFLAGS=$RPM_OPT_FLAGS + +cd %{objdir} ../configure --with-libxul-sdk=`pkg-config --variable=sdkdir libxul` \ --with-system-nspr \ --prefix=%{_prefix} \ @@ -121,6 +124,9 @@ popd #--------------------------------------------------------------------- %changelog +* Tue Mar 16 2010 Jan Horak - 1.9.2.3.20100111hg +- Set CFLAGS and CXXFLAGS variables to $RPM_OPT_FLAGS + * Wed Nov 25 2009 Martin Stransky 1.9.2-2.20100111hg - created as standalone package