summaryrefslogtreecommitdiffstats
path: root/php-sabre-vobject.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-10-15 11:40:24 +0200
committerRemi Collet <remi@remirepo.net>2018-10-15 11:40:24 +0200
commit9def92333a580118e4b9782126901c53344daae4 (patch)
treef75917aa6f6ac9de81fb2fdc83757d8febbbbddd /php-sabre-vobject.spec
parent4b67f84f2ca63d0c11c72c373f23e469058b30df (diff)
add adpated upstream patch for PHP 7.3
Diffstat (limited to 'php-sabre-vobject.spec')
-rw-r--r--php-sabre-vobject.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-sabre-vobject.spec b/php-sabre-vobject.spec
index 1b0203a..7d521da 100644
--- a/php-sabre-vobject.spec
+++ b/php-sabre-vobject.spec
@@ -21,7 +21,7 @@
Name: php-sabre-vobject
Summary: Library to parse and manipulate iCalendar and vCard objects
Version: 3.5.3
-Release: 7%{?dist}
+Release: 10%{?dist}
URL: http://sabre.io/vobject/
License: BSD
@@ -31,6 +31,8 @@ Source1: %{name}-autoload.php
# replace composer autloader
Patch0: %{name}-bin.patch
Patch1: https://patch-diff.githubusercontent.com/raw/sabre-io/vobject/pull/395.patch
+# Adapted upstream patch
+Patch2: c533d42e17e058237f0350ca56c7f01903bb035e.patch
BuildArch: noarch
%if %{with_tests}
@@ -82,6 +84,7 @@ Autoloader: %{_datadir}/php/Sabre/VObject/autoload.php
%patch0 -p1 -b .rpm
%patch1 -p1
+%patch2 -p1
cp %{SOURCE1} lib/autoload.php
@@ -112,7 +115,7 @@ sed -e 's:@BUILDROOT@:%{buildroot}:' -i bootstrap.php
: Run upstream test suite against installed library
ret=0
-for cmd in php php56 php70 php71 php72; do
+for cmd in php php56 php70 php71 php72 php73; do
if which $cmd; then
$cmd %{_bindir}/phpunit --verbose || ret=1
fi
@@ -136,6 +139,9 @@ exit $ret
%changelog
+* Mon Oct 15 2018 Remi Collet <remi@remirepo.net> - 4.1.3-10
+- add adpated upstream patch for PHP 7.3
+
* Mon Oct 30 2017 Remi Collet <remi@remirepo.net> - 4.1.3-2
- fix FTBFS fro mKoschei, add patch for test from
https://github.com/sabre-io/vobject/pull/395