1
0
forked from pool/roundcubemail

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
This commit is contained in:
Lars Vogdt 2022-01-17 18:14:42 +00:00 committed by Git OBS Bridge
parent 6ce445f32d
commit 86248a82c5

View File

@ -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}