File project4.diff of Package KlogShow
--- klogshow.spec.orig
+++ klogshow.spec
@@ -46,13 +46,13 @@ Authors:
%endif
%prep
%setup -q
+
+%build
%if 0%{suse_version} > 1030
-qmake
+qmake QMAKE_CXXFLAGS="$RPM_OPT_FLAGS" QMAKE_CFLAGS="$RPM_OPT_FLAGS"
%else
-qmake -recursive
+qmake -recursive QMAKE_CXXFLAGS="$RPM_OPT_FLAGS" QMAKE_CFLAGS="$RPM_OPT_FLAGS"
%endif
-
-%build
%__make %{?jobs:-j%{jobs}}
%install
@@ -78,6 +78,9 @@ qmake -recursive
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Fri Mar 13 2009 Buschmann <buschmann23@opensuse.org> 1.0.4
+- adding RPM_OPT_FLAGS to qmake command
+
* Mon Mar 09 2009 Buschmann <buschmann23@opensuse.org> 1.0.4
- updated to version 1.0.4
+ CMake => QMake