Compare commits

...

34 Commits
f24 ... rawhide

Author SHA1 Message Date
Remi Collet
134bf5cb18 v2.2.0RC2 2022-10-07 13:24:44 +02:00
Remi Collet
882efb70bb rebuild for https://fedoraproject.org/wiki/Changes/php82 2022-10-05 09:13:33 +02:00
Fedora Release Engineering
30a9b45dc6 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 14:03:44 +00:00
Fedora Release Engineering
1db42ab386 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 08:09:43 +00:00
Remi Collet
1bc4c16f3d update to 2.2.0RC1
rebuild for https://fedoraproject.org/wiki/Changes/php81
2021-10-28 11:20:14 +02:00
Fedora Release Engineering
54fc28d0ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 02:49:10 +00:00
Remi Collet
ad52d6d60f rebuild for https://fedoraproject.org/wiki/Changes/php80 2021-03-04 11:34:56 +01:00
Fedora Release Engineering
904778b89d - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 07:26:28 +00:00
Remi Collet
5f4d1050a4 update to 2.1.2 2020-11-30 07:51:19 +01:00
Remi Collet
864c596b33 v2.1.1 2020-08-10 09:23:34 +02:00
Fedora Release Engineering
d51844d8c0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 21:48:58 +00:00
Remi Collet
ea42db6eaa v2.1.0 2020-03-02 10:13:53 +01:00
Fedora Release Engineering
246ff5fd20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 08:15:25 +00:00
Remi Collet
f36e05bc19 update to 2.1.0beta1 2019-12-20 14:54:58 +01:00
Remi Collet
99aabfd520 rebuild for https://fedoraproject.org/wiki/Changes/php74 2019-10-03 13:22:52 +02:00
Fedora Release Engineering
5c50da9bdd - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 09:46:53 +00:00
Fedora Release Engineering
1e875b5b26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 03:19:35 +00:00
Igor Gnatenko
902005deb0 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:36 +01:00
Remi Collet
57517c8951 v2.0.3 2018-12-20 12:32:24 +01:00
Remi Collet
0cea3ac9d5 update to 2.0.3-dev for PHP 7.3 with patches from
https://github.com/msgpack/msgpack-php/pull/124
  https://github.com/msgpack/msgpack-php/pull/127
ignore test suite result for now
2018-10-11 17:37:52 +02:00
Fedora Release Engineering
110243cb78 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 21:53:59 +00:00
Fedora Release Engineering
bc0ec571c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 04:14:56 +00:00
Remi Collet
a3cb826e01 undefine _strict_symbol_defs_build 2018-01-29 09:36:56 +01:00
Remi Collet
343160e08b add patch for 7.2 2017-10-03 08:51:07 +02:00
Remi Collet
dec3834385 rebuild for https://fedoraproject.org/wiki/Changes/php72 2017-10-03 08:43:54 +02:00
Fedora Release Engineering
d1bbca72de - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 05:58:14 +00:00
Fedora Release Engineering
132f35bc92 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 08:05:24 +00:00
Fedora Release Engineering
c8f842df00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 07:02:52 +00:00
Remi Collet
b26b89c6eb drop 1 slow test 2016-12-07 10:40:03 +01:00
Remi Collet
56a5b252f9 drop patch merged upstream in 2.0.2 2016-12-07 10:26:18 +01:00
Remi Collet
b09bf1ae4f v2.0.2 2016-12-07 10:25:53 +01:00
Remi Collet
da7d2dd599 ignore known as failed tests 2016-11-14 10:08:04 +01:00
Remi Collet
1f32326a5a - rebuild for https://fedoraproject.org/wiki/Changes/php71
- add patch for PHP 7.1
2016-11-14 09:57:52 +01:00
Remi Collet
f7a91f9ae7 update to 2.0.1 (php 7, beta)
- add patch for PHP 7.1
  open https://github.com/msgpack/msgpack-php/pull/87
2016-06-27 17:30:57 +02:00
3 changed files with 139 additions and 26 deletions

10
.gitignore vendored
View File

@ -1,3 +1,13 @@
clog
/msgpack-0.5.5.tgz
/msgpack-0.5.7.tgz
/msgpack-2.0.1.tgz
/msgpack-2.0.2.tgz
/msgpack-2.0.3-943d272.tar.gz
/msgpack-2.0.3.tgz
/msgpack-2.1.0beta1.tgz
/msgpack-2.1.0.tgz
/msgpack-2.1.1.tgz
/msgpack-2.1.2.tgz
/msgpack-2.2.0RC1.tgz
/msgpack-2.2.0RC2.tgz

View File

@ -1,33 +1,41 @@
# Fedora spec file for php-pecl-msgpack
#
# Copyright (c) 2012-2016 Remi Collet
# Copyright (c) 2012-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
# we don't want -z defs linker flag
%undefine _strict_symbol_defs_build
%global upstream_version 2.2.0
%global upstream_prever RC2
%global upstream_lower RC2
%global pecl_name msgpack
%global with_zts 0%{?__ztsphp:1}
%global ini_name 40-%{pecl_name}.ini
# system library is outdated, and bundled library includes not yet released changes
# BTW, only pack_template.h and unpack_template.h headers are used
%global with_msgpack 0
Summary: API for communicating with MessagePack serialization
Name: php-pecl-msgpack
Version: 0.5.7
Release: 3%{?dist}
Version: %{upstream_version}%{?upstream_lower:~%{upstream_lower}}
Release: 1%{?dist}
Source: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/msgpack
Source: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
URL: https://pecl.php.net/package/msgpack
BuildRequires: php-devel
BuildRequires: php-devel >= 7.0
BuildRequires: php-pear
%if %{with_msgpack}
BuildRequires: msgpack-devel
%else
Provides: bundled(msgpack) = 3.2.0
%endif
# https://github.com/msgpack/msgpack-php/issues/25
ExcludeArch: ppc64
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
@ -56,7 +64,6 @@ This extension is still EXPERIMENTAL.
%package devel
Summary: MessagePack developer files (header)
Group: Development/Libraries
Requires: php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
Requires: php-devel%{?_isa}
@ -65,11 +72,12 @@ These are the files needed to compile programs using MessagePack serializer.
%prep
%setup -q -c
%setup -qc
mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
mv %{pecl_name}-%{version} NTS
cd NTS
%if %{with_msgpack}
# use system library
rm -rf msgpack
@ -80,8 +88,8 @@ rm -rf msgpack
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_MSGPACK_VERSION/{s/.* "//;s/".*$//;p}' php_msgpack.h)
if test "x${extver}" != "x%{version}"; then
: Error: Upstream extension version is ${extver}, expecting %{version}.
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then
: Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:-dev}.
exit 1
fi
cd ..
@ -101,7 +109,6 @@ extension = %{pecl_name}.so
;msgpack.error_display = On
;msgpack.illegal_key_insert = Off
;msgpack.php_only = On
;msgpack.use_str8_serialization = On
EOF
@ -136,7 +143,8 @@ install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
# Test & Documentation
cd NTS
for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
do [ -f tests/$i ] && install -Dpm 644 tests/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/$i
[ -f $i ] && install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
done
for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
@ -144,8 +152,12 @@ done
%check
# Known by upstream as failed test (travis result)
rm */tests/{018,030,040,040b,040c,040d}.phpt
# Erratic results
rm */tests/034.phpt
%ifarch aarch64
# too slow
rm */tests/035.phpt
%endif
cd NTS
: Minimal load test for NTS extension
@ -156,9 +168,7 @@ cd NTS
: Upstream test suite for NTS extension
TEST_PHP_EXECUTABLE=%{_bindir}/php \
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{_bindir}/php -n run-tests.php --show-diff
%{_bindir}/php -n run-tests.php -q --show-diff
%if %{with_zts}
cd ../ZTS
@ -170,13 +180,12 @@ cd ../ZTS
: Upstream test suite for ZTS extension
TEST_PHP_EXECUTABLE=%{__ztsphp} \
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{__ztsphp} -n run-tests.php --show-diff
%{__ztsphp} -n run-tests.php -q --show-diff
%endif
%files
%license NTS/LICENSE
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@ -199,6 +208,100 @@ REPORT_EXIT_STATUS=1 \
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Mar 4 2021 Remi Collet <remi@remirepo.net> - 2.1.2-2
- rebuild for https://fedoraproject.org/wiki/Changes/php80
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 2.1.2-1
- update to 2.1.2
* Mon Aug 10 2020 Remi Collet <remi@remirepo.net> - 2.1.1-1
- update to 2.1.1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Mar 2 2020 Remi Collet <remi@remirepo.net> - 2.1.0-1
- update to 2.1.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0~beta1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Dec 20 2019 Remi Collet <remi@remirepo.net> - 2.1.0~beta1-1
- update to 2.1.0beta1
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 2.0.3-4
- rebuild for https://fedoraproject.org/wiki/Changes/php74
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Dec 20 2018 Remi Collet <remi@remirepo.net> - 2.0.3-1
- update to 2.0.3
* Thu Oct 11 2018 Remi Collet <remi@remirepo.net> - 2.0.3-0.1.20171026.943d272
- update to 2.0.3-dev for PHP 7.3 with patches from
https://github.com/msgpack/msgpack-php/pull/124
https://github.com/msgpack/msgpack-php/pull/127
- ignore test suite result for now
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 29 2018 Remi Collet <remi@remirepo.net> - 2.0.2-6
- undefine _strict_symbol_defs_build
* Tue Oct 03 2017 Remi Collet <remi@fedoraproject.org> - 2.0.2-5
- rebuild for https://fedoraproject.org/wiki/Changes/php72
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* 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
* Mon Jun 27 2016 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
- update to 2.0.1 (php 7, beta)
- add patch for PHP 7.1
open https://github.com/msgpack/msgpack-php/pull/87
* Sat Feb 13 2016 Remi Collet <remi@fedoraproject.org> - 0.5.7-3
- drop scriptlets (replaced by file triggers in php-pear)
- cleanup

View File

@ -1 +1 @@
b87b5c5e0dab9f41c824201abfbf363d msgpack-0.5.7.tgz
SHA512 (msgpack-2.2.0RC2.tgz) = 11b7243e6abb7dc58a02e2289433a292e2b2a3298357e3a14468faa06c7d302c442891cdf944e31b22435b9ce449b2ab632e30c1c5ccdec8f6b6e5033a2cdbef