[orage] Build with $RPM_OPT_FLAGS. Patch from: Ville Skyttä <ville.skytta at iki.fi>

Kevin Fenzi kevin at fedoraproject.org
Mon Aug 23 21:39:49 UTC 2010


commit ef2c1554c8dadc7fa76113ddc9084b2b81c2e078
Author: Kevin Fenzi <kevin at ohm.scrye.com>
Date:   Mon Aug 23 15:39:20 2010 -0600

    Build with $RPM_OPT_FLAGS. Patch from: Ville Skyttä <ville.skytta at iki.fi>

 orage.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/orage.spec b/orage.spec
index 0926ca6..2dbd678 100644
--- a/orage.spec
+++ b/orage.spec
@@ -1,7 +1,7 @@
 Summary: Time-managing application for Xfce4
 Name: orage
 Version: 4.7.5.16
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 URL: http://www.xfce.org/
 Source0: http://archive.xfce.org/src/apps/orage/4.7/orage-4.7.5.tar.bz2
@@ -33,7 +33,7 @@ using the Orage Clock plugin for the panel.
 %setup -q
 
 %build
-export CFLAGS="$CFLAGS -I/usr/include/libical"
+export CFLAGS="$RPM_OPT_FLAGS -I/usr/include/libical"
 %configure --disable-static --enable-libical
 
 make %{?_smp_mflags}
@@ -88,6 +88,9 @@ touch --no-create %{_datadir}/icons/hicolor || :
 %{_mandir}/man1/tz_convert.1.gz
 
 %changelog
+* Mon Aug 23 2010 Ville Skyttä <ville.skytta at iki.fi> - 4.7.5.16-2
+- Build with $RPM_OPT_FLAGS.
+
 * Sat Aug 14 2010 Kevin Fenzi <kevin at tummy.com> - 4.7.5.16-1
 - Update to 4.7.5.16
 


More information about the scm-commits mailing list