Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deb/template/control.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Source: M4_PACKAGE_NAME
Section: web
Priority: optional
Maintainer: M4_PUBLISHER_NAME <M4_SUPPORT_MAIL>
Build-Depends: debhelper (>= 8.0.0)
Build-Depends: debhelper (>= 8.0.0), util-linux (>= 2.38)

Package: M4_PACKAGE_NAME
Architecture: M4_DEB_ARCH
Expand Down
3 changes: 3 additions & 0 deletions deb/template/rules.m4
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ override_dh_strip:
execute_after_dh_fixperms:
chmod o-rwx debian/M4_PACKAGE_NAME/etc/M4_DS_PREFIX/*.json

execute_before_dh_builddeb:
hardlink --ignore-time debian/M4_PACKAGE_NAME/var/www/M4_DS_PREFIX/web-apps

override_dh_builddeb:
dh_builddeb -- -z9 -Zxz --threads-max=$(shell nproc)

Expand Down
3 changes: 3 additions & 0 deletions rpm/common.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ mkdir -p "$HOME_DIR/fonts"
#Create an empty api.js to fix issues with upgrading to 8.2.0 (Bug #70877)
touch "$HOME_DIR/web-apps/apps/api/documents/api.js"

#deduplicate identical web-apps files (help images repeat per language and editor)
hardlink --ignore-time "$HOME_DIR/web-apps"

#install systemd services
mkdir -p %{buildroot}/usr/lib/systemd/system
cp %{_builddir}/../../../common/documentserver/systemd/ds-docservice.service %{buildroot}/usr/lib/systemd/system
Expand Down
Loading