From 86248a82c540dba2c9bc4a14f5c9d44d3267595b2ae7caa4d00489211efc0607 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 17 Jan 2022 18:14:42 +0000 Subject: [PATCH] Accepting request 946501 from home:syntron:patched The roundcube-framework is move to /usr/share/php/Roundcube. However, as it is still included from the old position, roundcube fails to load it (see /srv/www/roundcubemail/program/include/iniset.php - definition of $include_path in line 47 and include call for the framework in line 74). My solution: add a symbolic link to the new position. OBS-URL: https://build.opensuse.org/request/show/946501 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/roundcubemail?expand=0&rev=160 --- roundcubemail.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roundcubemail.spec b/roundcubemail.spec index e2ab2b2..e30a7fb 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -1,7 +1,7 @@ # # spec file for package roundcubemail # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -129,6 +129,8 @@ install %{SOURCE5} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name} # extract roundcube-framework install -d -m 0755 %{buildroot}/%{_datadir}/php mv program/lib/Roundcube %{buildroot}%{_datadir}/php/Roundcube +# fix path to the roundcube-framework via symlink +ln -s %{_datadir}/php/Roundcube program/lib/Roundcube # install roundcubemail install -d -m 0755 %{buildroot}/%{roundcubepath}