diff --git a/sysui/CustomTarget_rpm.mk b/sysui/CustomTarget_rpm.mk index c0ef34cc7d4d..075d3e324b27 100644 --- a/sysui/CustomTarget_rpm.mk +++ b/sysui/CustomTarget_rpm.mk @@ -36,6 +36,7 @@ $(rpm_WORKDIR)/$(1)/$(1)$(PKGVERSIONSHORT)-$(2)-menus-$(PKGVERSION)-$(LIBO_VERSI --define "version $(PKGVERSION)" \ --define "release $(LIBO_VERSION_PATCH)" \ --define "__debug_install_post %nil" \ + --define "libo_start_dir $(gb_CustomTarget_workdir)/sysui/share/$(1)" \ , $$@.log \ ) endef diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec index ff083d71fe9c..9c84305e51b6 100644 --- a/sysui/desktop/freedesktop/freedesktop-menus.spec +++ b/sysui/desktop/freedesktop/freedesktop-menus.spec @@ -60,7 +60,7 @@ export KDEMAINDIR=/usr export PREFIXDIR=/usr export BINDIR=/usr/bin -./create_tree.sh +(cd %libo_start_dir && ./create_tree.sh) cd $RPM_BUILD_ROOT