diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-08-03 14:39:58 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-08-03 14:39:58 +0200 |
commit | 5ce995a0b7e581b049f2366baf6b55946ca98a18 (patch) | |
tree | 1d2e5f5816a67d1352082a01da0f700eccc813a9 /redhat/tdesdk/tdesdk-14.0.0.spec | |
parent | 5b9c5354a7a6d4dec713c4d5e8ca5da912cd980b (diff) | |
download | tde-packaging-5ce995a0b7e581b049f2366baf6b55946ca98a18.tar.gz tde-packaging-5ce995a0b7e581b049f2366baf6b55946ca98a18.zip |
RPM Packaging: update main packages
Diffstat (limited to 'redhat/tdesdk/tdesdk-14.0.0.spec')
-rw-r--r-- | redhat/tdesdk/tdesdk-14.0.0.spec | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/redhat/tdesdk/tdesdk-14.0.0.spec b/redhat/tdesdk/tdesdk-14.0.0.spec index 36984d4f3..3c71899a2 100644 --- a/redhat/tdesdk/tdesdk-14.0.0.spec +++ b/redhat/tdesdk/tdesdk-14.0.0.spec @@ -1086,9 +1086,9 @@ cd build %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 \ @@ -1115,17 +1115,6 @@ export PATH="%{tde_bindir}:${PATH}" %__make install DESTDIR=%{?buildroot} -C build -# make symlinks relative -if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then - pushd %{buildroot}%{tde_tdedocdir}/HTML/en - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -nfs ../common $i - fi - done - popd -fi # Installs kdepalettes %__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes |