This commit is contained in:
Remi Collet 2016-12-07 10:25:53 +01:00
parent da7d2dd599
commit b09bf1ae4f
3 changed files with 9 additions and 11 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ clog
/msgpack-0.5.5.tgz
/msgpack-0.5.7.tgz
/msgpack-2.0.1.tgz
/msgpack-2.0.2.tgz

View File

@ -14,18 +14,13 @@
Summary: API for communicating with MessagePack serialization
Name: php-pecl-msgpack
Version: 2.0.1
Release: 2%{?dist}
Version: 2.0.2
Release: 1%{?dist}
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/msgpack
Source: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
Patch0: %{pecl_name}-pr87.patch
# Temp for https://github.com/msgpack/msgpack-php/issues/100
Patch1: %{pecl_name}-php71.patch
BuildRequires: php-devel > 7
BuildRequires: php-pear
%if %{with_msgpack}
@ -76,9 +71,6 @@ mv %{pecl_name}-%{version} NTS
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
cd NTS
%patch0 -p1 -b .pr87
%patch1 -p1 -b .php71
%if %{with_msgpack}
# use system library
rm -rf msgpack
@ -152,6 +144,8 @@ done
%check
# Erratic results
rm */tests/034.phpt
# Known by upstream as failed test (travis result)
rm */tests/041.phpt
rm */tests/040*.phpt
@ -209,6 +203,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
* Wed Dec 7 2016 Remi Collet <remi@fedoraproject.org> - 2.0.2-1
- update to 2.0.2
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> - 2.0.1-2
- rebuild for https://fedoraproject.org/wiki/Changes/php71
- add patch for PHP 7.1

View File

@ -1 +1 @@
4d1db4592ffa4101601aefc794191de5 msgpack-2.0.1.tgz
02f7e109d438072c4b642b01cf78533e msgpack-2.0.2.tgz