public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-pecl-msgpack] epel10: drop pear/pecl dependency
Date: Tue, 02 Jun 2026 12:22:00 GMT [thread overview]
Message-ID: <178040292064.1.9782462874404195916.rpms-php-pecl-msgpack-f1a53faa13c1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php-pecl-msgpack
Branch : epel10
Commit : f1a53faa13c1f21fdbbd66a6e7eccaeeaec05cbe
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-06-02T14:21:37+02:00
Stats : +37/-39 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-pecl-msgpack/c/f1a53faa13c1f21fdbbd66a6e7eccaeeaec05cbe?branch=epel10
Log:
drop pear/pecl dependency
sources from github
(cherry picked from commit 15f026ef024367735d3748de90031f11067a90d5)
fix release
(cherry picked from commit f4ffec0ad3d2c7e57f72579828b118f095ef1c0b)
cleanup
(cherry picked from commit f88bd62065d40ba281aeaa986bc0abf39d58c47d)
v3.0.1
(cherry picked from commit 281dcaee678c4b84bcb6d2c1cfa82fa6a4f94125)
pie
---
diff --git a/.gitignore b/.gitignore
index f2ad51c..f23d7da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,5 @@ clog
/msgpack-2.2.0RC2.tgz
/msgpack-2.2.0.tgz
/msgpack-3.0.0.tgz
+/msgpack-php-msgpack-3.0.0.tar.gz
+/msgpack-php-3.0.1.tar.gz
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec
index 6c990a4..6d3fb15 100644
--- a/php-pecl-msgpack.spec
+++ b/php-pecl-msgpack.spec
@@ -1,8 +1,8 @@
# Fedora spec file for php-pecl-msgpack
#
-# Copyright (c) 2012-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2012-2026 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -14,27 +14,32 @@
# to disable test suite
%bcond_without tests
-%global upstream_version 3.0.0
+%global upstream_version 3.0.1
#global upstream_prever RC2
#global upstream_lower RC2
-%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
-%global _configure ../%{sources}/configure
+%global pie_vend msgpack
+%global pie_proj msgpack-php
%global pecl_name msgpack
%global ini_name 40-%{pecl_name}.ini
+# Github forge
+%global gh_vend msgpack
+%global gh_proj msgpack-php
+%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
+
Summary: API for communicating with MessagePack serialization
Name: php-pecl-msgpack
+License: BSD-3-Clause
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-3-Clause
-URL: https://pecl.php.net/package/msgpack
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
ExcludeArch: %{ix86}
BuildRequires: php-devel >= 7.0
-BuildRequires: php-pear
BuildRequires: php-pecl-apcu-devel
%if %{with msgpack}
BuildRequires: msgpack-devel
@@ -45,10 +50,12 @@ Provides: bundled(msgpack) = 3.2.0
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
-Provides: php-%{pecl_name} = %{version}
-Provides: php-%{pecl_name}%{?_isa} = %{version}
-Provides: php-pecl(%{pecl_name}) = %{version}
-Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+Provides: php-%{pecl_name} = %{version}
+Provides: php-%{pecl_name}%{?_isa} = %{version}
+Provides: php-pecl(%{pecl_name}) = %{version}
+Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+Provides: php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -75,11 +82,8 @@ These are the files needed to compile programs using MessagePack serializer.
%prep
-%setup -qc
-
-sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
+%forgesetup
-cd %{sources}
%if %{with msgpack}
# use system library
rm -rf msgpack
@@ -91,7 +95,6 @@ if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}
: Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:-dev}.
exit 1
fi
-cd ..
# Drop in the bit of configuration
cat > %{ini_name} << 'EOF'
@@ -105,11 +108,11 @@ extension = %{pecl_name}.so
;msgpack.assoc = On
;msgpack.illegal_key_insert = Off
;msgpack.use_str8_serialization = On
+;msgpack.force_f32 = Off
EOF
%build
-cd %{sources}
%{__phpize}
sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
@@ -122,25 +125,11 @@ sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
: Install the configuration file
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
-: Install the package XML file
-install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
-
-cd %{sources}
: Install the extension
%make_install
-: Install Test and Documentation
-for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-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
-done
-
%check
-cd %{sources}
# Erratic results
rm tests/034.phpt
# too slow
@@ -159,20 +148,27 @@ TEST_PHP_ARGS="-n -d extension=apcu.so -d extension=$PWD/modules/%{pecl_name}.so
%files
-%license %{sources}/LICENSE
-%doc %{pecl_docdir}/%{pecl_name}
-%{pecl_xmldir}/%{name}.xml
+%license LICENSE
+%doc composer.json
+%doc README.md
+%doc CREDITS
%config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so
%files devel
-%doc %{pecl_testdir}/%{pecl_name}
+%doc tests
+
%{php_incldir}/ext/%{pecl_name}
%changelog
+* Tue Jun 2 2026 Remi Collet <remi@remirepo.net> - 3.0.1-1
+- update to 3.0.1
+- drop pear/pecl dependency
+- sources from github
+
* Thu Sep 26 2024 Remi Collet <remi@remirepo.net> - 3.0.0-1
- update to 3.0.0
- modernize spec file
diff --git a/sources b/sources
index 2e7d20c..33b826f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (msgpack-3.0.0.tgz) = 3d0c39166f64ae918375b37cad9a19b938e02df985dd3aacaa71d067535011c369cd0d218a59603a9f4c0dfc740a00b2d6aa586df06fde079428cfb61ed42f9a
+SHA512 (msgpack-php-3.0.1.tar.gz) = f44ffde52000d93ad3385d344954c515d575e4ec2aee36941160ed0ef354786304be1bde3bb5124ebb40a172e854446be3d96fbd88aefc6b3c8d345bd7f56c75
reply other threads:[~2026-06-02 12:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178040292064.1.9782462874404195916.rpms-php-pecl-msgpack-f1a53faa13c1@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox