[sakura] Build with %{optflags} (#861451)

Christoph Wickert cwickert at fedoraproject.org
Sat Sep 29 18:00:24 UTC 2012


commit 798e00f2d12c335c15ab6cc4bd16d84cffbe95a5
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sat Sep 29 20:00:17 2012 +0200

    Build with %{optflags} (#861451)

 sakura.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/sakura.spec b/sakura.spec
index 78e51ee..bc51d75 100644
--- a/sakura.spec
+++ b/sakura.spec
@@ -2,7 +2,7 @@
 
 Name:           sakura
 Version:        3.0.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Terminal emulator based on GTK and VTE
 
 Group:          User Interface/X
@@ -24,6 +24,8 @@ have a decent terminal emulator.
 
 %prep
 %setup -q
+# dirty hack as cmake files no longer honor CMAKE_C_FLAGS
+sed -i 's|CMAKE_C_FLAGS ".*"|CMAKE_C_FLAGS "%{optflags}"|g' CMakeLists.txt
 
 
 %build
@@ -63,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Sep 29 2012 Christoph Wickert <cwickert at fedoraproject.org> - 3.0.4-2
+- Build with %%{optflags} (#861451)
+
 * Thu Sep 27 2012 Christoph Wickert <cwickert at fedoraproject.org> - 3.0.4-1
 - Update to 3.0.4 (#860958)
 - Build against GTK3 and VTE3


More information about the scm-commits mailing list