diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-05 21:54:58 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-05 21:54:58 +0200 |
commit | ef99bab0f88b20a4e8d7bd88caf9b61ef28dc273 (patch) | |
tree | 730ba98376b0499ffe3e7f5c795efe0d6edf4865 /redhat/tdebase | |
parent | 731d4f0b06e9ba999add5d15dc48c2904db2d925 (diff) | |
download | tde-packaging-ef99bab0f88b20a4e8d7bd88caf9b61ef28dc273.tar.gz tde-packaging-ef99bab0f88b20a4e8d7bd88caf9b61ef28dc273.zip |
RPM packaging: update tdebase
Diffstat (limited to 'redhat/tdebase')
-rw-r--r-- | redhat/tdebase/tdebase-14.0.0.spec | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index 0279140ae..ba819450f 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -3467,6 +3467,7 @@ fi -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_GCC_VISIBILITY=ON \ \ @@ -3650,6 +3651,14 @@ cat << EOF > "%{buildroot}%{_sysconfdir}/logrotate.d/tdm" } EOF +# Move faces icon to XDG directory +if [ ! -d "%{?buildroot}%{_datadir}/faces" ]; then + %__mkdir_p "%{?buildroot}%{_datadir}/faces" + %__mv -f "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/"* "%{?buildroot}%{_datadir}/faces" + %__rmdir "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/" + %__ln_s "%{_datadir}/faces" "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users" +fi + %clean %__rm -rf %{?buildroot} |