From d472214bc942b1bb0c246c0b5833d52900bd5f49 Mon Sep 17 00:00:00 2001 From: Semyon Bezrukov Date: Sat, 29 Apr 2023 11:04:46 +0300 Subject: [PATCH] Fix rpm build (#832) --- win-linux/package/linux/rpm/common.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win-linux/package/linux/rpm/common.spec b/win-linux/package/linux/rpm/common.spec index cb841572a..1a3c778c6 100644 --- a/win-linux/package/linux/rpm/common.spec +++ b/win-linux/package/linux/rpm/common.spec @@ -46,6 +46,9 @@ cp -t $DATA_DIR/applications $COMMON/usr/share/applications/%{_desktopeditors_ex echo "package = rpm" > $DESKTOPEDITORS_PREFIX/converter/package.config %if "%{_company_name}" == "ONLYOFFICE" +# help +cp -r $COMMON/help/desktopeditors/* $DESKTOPEDITORS_PREFIX/ + ln -srf $BIN_DIR/%{_desktopeditors_exec} $BIN_DIR/desktopeditors %else ETC_DIR=%{buildroot}%{_sysconfdir} @@ -63,9 +66,6 @@ cp -t $DATA_DIR/applications \ ln -srf $BIN_DIR/%{_desktopeditors_exec} $BIN_DIR/%{_package_name} %endif -# help -cp -r $COMMON/help/desktopeditors/* $DESKTOPEDITORS_PREFIX/ - %clean rm -rf "%{buildroot}"