|
|
@ -1,6 +1,6 @@
|
|
|
|
# Fedora spec file for php-pecl-msgpack
|
|
|
|
# Fedora spec file for php-pecl-msgpack
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012-2021 Remi Collet
|
|
|
|
# Copyright (c) 2012-2022 Remi Collet
|
|
|
|
# License: CC-BY-SA
|
|
|
|
# License: CC-BY-SA
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -10,9 +10,9 @@
|
|
|
|
# we don't want -z defs linker flag
|
|
|
|
# we don't want -z defs linker flag
|
|
|
|
%undefine _strict_symbol_defs_build
|
|
|
|
%undefine _strict_symbol_defs_build
|
|
|
|
|
|
|
|
|
|
|
|
%global upstream_version 2.1.2
|
|
|
|
%global upstream_version 2.2.0
|
|
|
|
#global upstream_prever beta1
|
|
|
|
%global upstream_prever RC2
|
|
|
|
#global upstream_lower beta1
|
|
|
|
%global upstream_lower RC2
|
|
|
|
|
|
|
|
|
|
|
|
%global pecl_name msgpack
|
|
|
|
%global pecl_name msgpack
|
|
|
|
%global with_zts 0%{?__ztsphp:1}
|
|
|
|
%global with_zts 0%{?__ztsphp:1}
|
|
|
@ -24,12 +24,12 @@
|
|
|
|
Summary: API for communicating with MessagePack serialization
|
|
|
|
Summary: API for communicating with MessagePack serialization
|
|
|
|
Name: php-pecl-msgpack
|
|
|
|
Name: php-pecl-msgpack
|
|
|
|
Version: %{upstream_version}%{?upstream_lower:~%{upstream_lower}}
|
|
|
|
Version: %{upstream_version}%{?upstream_lower:~%{upstream_lower}}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Source: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
|
|
|
|
Source: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://pecl.php.net/package/msgpack
|
|
|
|
URL: https://pecl.php.net/package/msgpack
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: php-devel > 7
|
|
|
|
BuildRequires: php-devel >= 7.0
|
|
|
|
BuildRequires: php-pear
|
|
|
|
BuildRequires: php-pear
|
|
|
|
%if %{with_msgpack}
|
|
|
|
%if %{with_msgpack}
|
|
|
|
BuildRequires: msgpack-devel
|
|
|
|
BuildRequires: msgpack-devel
|
|
|
@ -154,7 +154,10 @@ done
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# Erratic results
|
|
|
|
# Erratic results
|
|
|
|
rm */tests/034.phpt
|
|
|
|
rm */tests/034.phpt
|
|
|
|
# Known by upstream as failed test (travis result)
|
|
|
|
%ifarch aarch64
|
|
|
|
|
|
|
|
# too slow
|
|
|
|
|
|
|
|
rm */tests/035.phpt
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
cd NTS
|
|
|
|
cd NTS
|
|
|
|
: Minimal load test for NTS extension
|
|
|
|
: Minimal load test for NTS extension
|
|
|
@ -165,9 +168,7 @@ cd NTS
|
|
|
|
: Upstream test suite for NTS extension
|
|
|
|
: Upstream test suite for NTS extension
|
|
|
|
TEST_PHP_EXECUTABLE=%{_bindir}/php \
|
|
|
|
TEST_PHP_EXECUTABLE=%{_bindir}/php \
|
|
|
|
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
|
|
|
|
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
|
|
|
|
NO_INTERACTION=1 \
|
|
|
|
%{_bindir}/php -n run-tests.php -q --show-diff
|
|
|
|
REPORT_EXIT_STATUS=0 \
|
|
|
|
|
|
|
|
%{_bindir}/php -n run-tests.php --show-diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_zts}
|
|
|
|
%if %{with_zts}
|
|
|
|
cd ../ZTS
|
|
|
|
cd ../ZTS
|
|
|
@ -179,9 +180,7 @@ cd ../ZTS
|
|
|
|
: Upstream test suite for ZTS extension
|
|
|
|
: Upstream test suite for ZTS extension
|
|
|
|
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
|
|
|
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
|
|
|
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
|
|
|
|
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
|
|
|
|
NO_INTERACTION=1 \
|
|
|
|
%{__ztsphp} -n run-tests.php -q --show-diff
|
|
|
|
REPORT_EXIT_STATUS=0 \
|
|
|
|
|
|
|
|
%{__ztsphp} -n run-tests.php --show-diff
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -209,6 +208,22 @@ REPORT_EXIT_STATUS=0 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Oct 7 2022 Remi Collet <remi@remirepo.net> - 2.2.0~RC2-1
|
|
|
|
|
|
|
|
- update to 2.2.0RC2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 05 2022 Remi Collet <remi@remirepo.net> - 2.2.0~RC1-4
|
|
|
|
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Changes/php82
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0~RC1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0~RC1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 28 2021 Remi Collet <remi@remirepo.net> - 2.2.0~RC1-1
|
|
|
|
|
|
|
|
- update to 2.2.0RC1
|
|
|
|
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Changes/php81
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|