[python3-cairo] typo, set CFLAGS to $RPM_OPT_FLAGS not RPM_BUILD_OPTS
John Palmieri (J5)
johnp at fedoraproject.org
Thu Sep 30 16:52:04 UTC 2010
commit b8e348344222bdf913434f8af9f11a89c005b8f1
Author: John (J5) Palmieri <johnp at redhat.com>
Date: Thu Sep 30 12:51:53 2010 -0400
typo, set CFLAGS to $RPM_OPT_FLAGS not RPM_BUILD_OPTS
python3-cairo.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python3-cairo.spec b/python3-cairo.spec
index a7a9eed..4f3a049 100644
--- a/python3-cairo.spec
+++ b/python3-cairo.spec
@@ -4,7 +4,7 @@
Name: python3-cairo
Version: 1.8.10
-Release: 7%{?dist}
+Release: 8%{?dist}
License: MPLv1.1 or LGPLv2
Group: Development/Languages
Summary: Python 3 bindings for the cairo library
@@ -44,7 +44,7 @@ libraries so that they interoperate with python3-cairo.
# FIXME: we should be using the system version of waf (e.g. %{_bindir}/waf)
# however it is not yet python 3 compatible but should be when 1.6.0
# is released - https://bugzilla.redhat.com/show_bug.cgi?id=637935
-CFLAGS="$RPM_BUILD_OPS" \
+export CFLAGS="$RPM_OPT_FLAGS"
python3 ./waf --prefix=%{_usr} \
--libdir=%{_libdir} \
configure
@@ -54,7 +54,7 @@ python3 ./waf build -v
# remove executable bits from examples
find ./examples/ -type f -print0 | xargs -0 chmod -x
-# add executable bit to the _cairo.so library so we strip the debug info
+# add executable bit to the _cairo.so library so we strip the debug info:wq
%install
rm -rf $RPM_BUILD_ROOT
@@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/py3cairo.pc
%changelog
+* Thu Sep 30 2010 John (J5) Palmieri <johnp at redhat.com> - 1.8.10-8
+- typo, set CFLAGS to $RPM_OPT_FLAGS not RPM_BUILD_OPTS
+
* Tue Sep 28 2010 John (J5) Palmieri <johnp at redhat.com> - 1.8.10-7
- add patch to move to using PyCapsule API since PyCObject was removed from 3.2
More information about the scm-commits
mailing list