[notify-python/f14/master] Add %%optflags

Mamoru Tasaka mtasaka at fedoraproject.org
Fri Jul 30 12:53:50 UTC 2010


commit 5c7011e1deac427f0af1132786c79510f6793177
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Fri Jul 30 21:53:45 2010 +0900

    Add %%optflags

 notify-python.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/notify-python.spec b/notify-python.spec
index 3f92c1e..2ae7970 100644
--- a/notify-python.spec
+++ b/notify-python.spec
@@ -2,7 +2,7 @@
 
 Name:           notify-python
 Version:        0.1.1
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Python bindings for libnotify
 
 Group:          Development/Languages
@@ -32,7 +32,7 @@ Python bindings for libnotify
 export PYTHON=%{__python}
 
 ## Workaround for bug 618944
-export CFLAGS=$(pkg-config --cflags gtk+-2.0)
+export CFLAGS="$(pkg-config --cflags gtk+-2.0) %optflags"
 
 %configure
 touch src/pynotify.override
@@ -56,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
-* Fri Jul 30 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.1.1-12
+* Fri Jul 30 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.1.1-13
 - Workaround for bug 618944
 
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.1.1-11


More information about the scm-commits mailing list