From 9ba98c8774bb4c852d0b481e12925208ba709400 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 10 Jan 2019 08:10:52 +0100 Subject: fix Undefined class constant 'ALPHACHANNEL_REMOVE' #1657972 patch from https://github.com/horde/imp/pull/4 --- php-horde-imp.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 - 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 - 6.2.23-1 - update to 6.2.23 - use range dependencies -- cgit