summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Kolab-Format.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Kolab-Format.spec')
-rw-r--r--php-horde-Horde-Kolab-Format.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/php-horde-Horde-Kolab-Format.spec b/php-horde-Horde-Kolab-Format.spec
index 1ff89a1..ee7e478 100644
--- a/php-horde-Horde-Kolab-Format.spec
+++ b/php-horde-Horde-Kolab-Format.spec
@@ -12,7 +12,7 @@
Name: php-horde-Horde-Kolab-Format
Version: 2.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A package for reading/writing Kolab data formats
Group: Development/Libraries
@@ -20,6 +20,8 @@ License: LGPLv2
URL: http://%{pear_channel}/
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
+Patch0: 0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php(language) >= 5.3.0
@@ -33,10 +35,8 @@ Requires(postun): %{__pear}
Requires: php(language) >= 5.3.0
Requires: php-date
Requires: php-dom
-Requires: php-ereg
Requires: php-mbstring
Requires: php-pcre
-Requires: php-spl
Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
@@ -60,6 +60,10 @@ This package allows to convert Kolab data objects from XML to data arrays.
cd %{pear_name}-%{version}
mv ../package.xml %{name}.xml
+%patch0 -p3 -b .ereg
+sed -e '/Annotation.php/s/md5sum="[^"]*"//' \
+ -i %{name}.xml
+
%build
cd %{pear_name}-%{version}
@@ -119,6 +123,9 @@ fi
%changelog
+* Mon Jun 27 2016 Remi Collet <remi@fedoraproject.org> - 2.0.8-2
+- add patch to drop dependency on ereg
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.0.8-1
- Update to 2.0.8
- PHP 7 compatible version