summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Kolab-Storage.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Kolab-Storage.spec')
-rw-r--r--php-horde-Horde-Kolab-Storage.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-horde-Horde-Kolab-Storage.spec b/php-horde-Horde-Kolab-Storage.spec
index 47f0426..c11924d 100644
--- a/php-horde-Horde-Kolab-Storage.spec
+++ b/php-horde-Horde-Kolab-Storage.spec
@@ -12,7 +12,7 @@
Name: php-horde-Horde-Kolab-Storage
Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A package for handling Kolab data stored on an IMAP server
Group: Development/Libraries
@@ -20,6 +20,8 @@ License: LGPLv2
URL: http://%{pear_channel}
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
+Patch0: %{pear_name}-php54.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
@@ -77,11 +79,14 @@ to deal with this type of data storage effectively.
%setup -q -c
cd %{pear_name}-%{version}
+%patch0 -p0 -b .php54
+
# Don't install .po and .pot files
# Remove checksum for .mo, as we regenerate them
sed -e '/%{pear_name}.po/d' \
-e '/Horde_Other.po/d' \
-e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \
+ -e '/TestCase.php/s/md5sum=.*name=/name=/' \
../package.xml >%{name}.xml
@@ -162,6 +167,9 @@ fi
%changelog
+* Sat Aug 16 2014 Remi Collet <remi@fedoraproject.org> - 2.1.0-2
+- fix test suite for PHP 5.6
+
* Fri Apr 04 2014 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
- Update to 2.1.0