Commit graph

21 commits

Author SHA1 Message Date
Navid Sassan
f1415b6c3e fix the coolwsd.service being disabled after updates (#3125, #7606)
Signed-off-by: Navid Sassan <navid.sassan@linuxfabrik.ch>
Change-Id: I3bd50075f3f18251425527f5debf60bed26cc2d3
2024-02-03 18:48:39 +01:00
Navid Sassan
4cb6344f26 fix error in RPM postinstall scriptlet on RHEL8 (#7071)
Signed-off-by: Navid Sassan <navid.sassan@linuxfabrik.ch>
Change-Id: Ia022c46e7ada12e6e07b2da95e3cdccc026609cc
2024-02-03 18:48:11 +01:00
Andras Timar
3e8fe642b2 rpm: BuildRequires - those python packages have different names on differenct OS versions
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iebc83dcb8d5efd368850a816dc1dec6d159df6e1
2023-11-06 12:07:33 +01:00
Andras Timar
54ac274dd7 rpm: BuildRequires
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib0c71a65216c7dd437800647a0f9c924ddf117ee
2023-11-05 18:34:07 +01:00
Andras Timar
fc946198d3 Rewrite coolwsd-generate-proof-key in C++
* simplified the tooling a bit: use coolconfig for creating
  RSA key pairs for WOPI Proof headers.
* got rid of a dependency: ssh-keygen, towards leaner docker images

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaf468b5c8585d45027f512bb0a287ab77afb1ea9
2023-07-22 00:14:48 +02:00
Andras Timar
4ac8c8ee28 configure option to disable building unit tests
rational: building for release takes a lot of time and we
neither package, nor run (most of) these unit tests when
we make packages.
CI runs all of these tests before merging PRs, so risk is low,
if we do not run the few build-time unit tests when we package.

make -j12
--enable-tests (default): 3m 18s
--disable-test: 1m 9s
3x faster...

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4edd98af55748432e30c65c4c910e72c0221272a
2023-06-16 09:12:21 +02:00
Andras Timar
b508da6db1 rpm: fix obsoleted package names
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6624fc7d3870014ec3975981e3c94bf23904a6a1
2023-06-11 18:10:32 +02:00
Andras Timar
e9a329ef43 when upgrading from 22.05 to 23.05, remove unsupported langpacks
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4d60997fd6347ddd8fb2667a11ef0550b161d673
2023-06-08 16:04:04 +02:00
Andras Timar
7e88b1160b rpm: fix path of setcap
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I737a3d298d457d608e5ccb377afa847ddadf2c4c
2023-05-15 09:09:37 +02:00
Andras Timar
fc19d7cb00 rpm: compatibility with older systemd versions
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5674b74e7b2ac06ade0b34b33513d2100105b10d
2023-05-14 23:31:38 +02:00
Andras Timar
39e83470a8 Remove distro-specific code from rpm spec file
We'd like to build distro independent rpm packages.
Distro specific macros and other code were removed.
The empty environment file for systemd was removed, it can be
easily created by the user, if necessary.
The obsolete trigger for rebuilding the systemplate was removed,
because we no longer copy system libs to systemplate.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0ac9be8f72a7089e38349abc1dff0d39b0410e44
2023-05-14 21:29:00 +02:00
Andras Timar
bf718f52de set vendor name for rpm package
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia336cd014a216404657bf4f12be0a3e330985886
2023-04-27 12:34:50 +02:00
Andras Timar
26b6d51d94 Some packages will not be required by coolwsd rpm package
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I87fd9a5d5a6f7e5f6f8a71a279ffb30e74f67298
2023-02-26 17:04:14 +01:00
Andras Timar
01bfc2bb66 do not explicitly require libzstd package in CentOS
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic1aed2516f69d3ce2e65d28201d03c4fb65a4f0a
2022-11-08 11:27:30 +01:00
Andras Timar
1cc374c9fa Do not require libzstd-devel for rpm building, because CentOS7 base repos do not have libzstd
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I41c5efcb02487914840ae6027b2b26f5c8d6711e
2022-11-05 18:59:18 +01:00
Andras Timar
1d4c04e22d add libzstd dependency to rpm and deb
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id55c488d02aa187b3eaff978c3a84e2e12cd8e5a
2022-11-02 12:09:53 +01:00
Andras Timar
f3f849c153 add coolstress to rpm package
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7b98533dbbec01112b3c5b1a354178aec5e7d926
2022-09-01 21:44:51 +02:00
Andras Timar
c3077012ad check for existence of old config file before config migration
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia2db31f47efc8e130cccd915b7a3de5c10265d40
2022-01-18 07:44:47 +01:00
Andras Timar
53fbdfd5a2 automatically migrate old config during package upgrade (6.4 -> 21.11)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I76d06ca68dbb7e62fd4f5e31215d4ba3f753dce9
2022-01-17 21:07:37 +01:00
Andras Timar
e612e0a252 rpm: fix installation of compat symlinks
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I62448c913aee307521fcbfcf14480601d8cdefa7
2021-11-18 15:41:02 +01:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Renamed from loolwsd.spec.in (Browse further)