summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-imp.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-horde-imp.spec b/php-horde-imp.spec
index ee24dd8..7af4df1 100644
--- a/php-horde-imp.spec
+++ b/php-horde-imp.spec
@@ -12,7 +12,7 @@
Name: php-horde-imp
Version: 6.2.23
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A web based webmail system
# imp is GPLv2, murmurhash3.js is MIT
@@ -20,6 +20,8 @@ License: GPLv2 and MIT
URL: http://www.horde.org/apps/imp
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
+Patch0: https://patch-diff.githubusercontent.com/raw/horde/imp/pull/4.patch
+
BuildArch: noarch
BuildRequires: gettext
BuildRequires: php(language) >= 5.3.0
@@ -207,10 +209,13 @@ EOF
cd %{pear_name}-%{version}
+%patch0 -p1 -b .pr4
+
# Don't install .po and .pot files
# Remove checksum for .mo, as we regenerate them
sed -e '/%{pear_name}.po/d' \
-e '/htaccess/d' \
+ -e '/Pdf.php/s/md5sum=.*name=/name=/' \
-e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \
../package.xml >%{name}.xml
touch -r ../package.xml %{name}.xml
@@ -302,6 +307,10 @@ fi
%changelog
+* Thu Jan 10 2019 Remi Collet <remi@remirepo.net> - 6.2.23-2
+- fix Undefined class constant 'ALPHACHANNEL_REMOVE' #1657972
+ patch from https://github.com/horde/imp/pull/4
+
* Mon Jan 7 2019 Remi Collet <remi@remirepo.net> - 6.2.23-1
- update to 6.2.23
- use range dependencies