diff options
Diffstat (limited to 'php-horde-Horde-Imap-Client.spec')
-rw-r--r-- | php-horde-Horde-Imap-Client.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/php-horde-Horde-Imap-Client.spec b/php-horde-Horde-Imap-Client.spec index ecd6a8e..ed26051 100644 --- a/php-horde-Horde-Imap-Client.spec +++ b/php-horde-Horde-Imap-Client.spec @@ -13,13 +13,15 @@ Name: php-horde-Horde-Imap-Client Version: 2.30.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Horde IMAP abstraction interface License: LGPLv2 URL: http://pear.horde.org Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz +Patch0: https://patch-diff.githubusercontent.com/raw/horde/Imap_Client/pull/9.patch + BuildArch: noarch BuildRequires: php(language) >= 5.3.0 BuildRequires: php-pear(PEAR) >= 1.7.0 @@ -122,11 +124,13 @@ drivers. %prep %setup -q -c cd %{pear_name}-%{version} +%patch0 -p1 # Don't install .po and .pot files # Remove checksum for .mo, as we regenerate them sed -e '/%{pear_name}\.po/d' \ -e '/%{pear_name}\.mo/s/md5sum=.*name=/name=/' \ + -e '/ClientSort.php/s/md5sum=.*name=/name=/' \ ../package.xml >%{name}.xml touch -r ../package.xml %{name}.xml @@ -166,8 +170,7 @@ export LANG=C.UTF-8 cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) ret=0 -# TODO 7.4 Trying to access array offset on value of type null -for cmd in php php71 php72 php73; do +for cmd in php php71 php72 php73 php74; do if which $cmd; then if %{_bindir}/phpunit --atleast-version 4.8; then $cmd %{_bindir}/phpunit --bootstrap bootstrap.php --verbose . || ret=1 @@ -206,6 +209,10 @@ fi %changelog +* Tue Oct 1 2019 Remi Collet <remi@remirepo.net> - 2.30.0-2 +- add patch for PHP 7.4 from + https://github.com/horde/Imap_Client/pull/9 + * Mon Sep 30 2019 Remi Collet <remi@remirepo.net> - 2.30.0-1 - update to 2.30.0 |