From 798e00f2d12c335c15ab6cc4bd16d84cffbe95a5 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Sat, 29 Sep 2012 20:00:17 +0200 Subject: [PATCH] Build with %{optflags} (#861451) --- sakura.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 - 3.0.4-2 +- Build with %%{optflags} (#861451) + * Thu Sep 27 2012 Christoph Wickert - 3.0.4-1 - Update to 3.0.4 (#860958) - Build against GTK3 and VTE3