summaryrefslogtreecommitdiffstats
path: root/redhat/tdetoys/tdetoys-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdetoys/tdetoys-14.0.0.spec')
-rw-r--r--redhat/tdetoys/tdetoys-14.0.0.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/redhat/tdetoys/tdetoys-14.0.0.spec b/redhat/tdetoys/tdetoys-14.0.0.spec
index 9da294908..d3b924ace 100644
--- a/redhat/tdetoys/tdetoys-14.0.0.spec
+++ b/redhat/tdetoys/tdetoys-14.0.0.spec
@@ -23,7 +23,7 @@
Summary: Trinity Desktop Environment - Toys and Amusements
Name: trinity-tdetoys
Group: Amusements/Graphics
-Version: 14.0.0
+Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
@@ -392,9 +392,9 @@ cd build
%endif
%cmake \
- -DCMAKE_BUILD_TYPE="" \
- -DCMAKE_C_FLAGS="-DNDEBUG" \
- -DCMAKE_CXX_FLAGS="-DNDEBUG" \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=ON \