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-xdebug3] f44: v3.5.3
Date: Tue, 09 Jun 2026 09:24:25 GMT	[thread overview]
Message-ID: <178099706567.1.1491859492719561317.rpms-php-pecl-xdebug3-ce107f5c29ad@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/php-pecl-xdebug3
            Branch : f44
            Commit : ce107f5c29adbca29212b8440840a543d9b13f72
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-06-09T11:24:16+02:00
            Stats  : +27/-28 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/php-pecl-xdebug3/c/ce107f5c29adbca29212b8440840a543d9b13f72?branch=f44

            Log:
            v3.5.3

(cherry picked from commit 620a6b6ebbdc21f29be0b85a722487f89971ccfa)

---
diff --git a/.gitignore b/.gitignore
index 458ca91..daafc0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,5 @@
 /xdebug-3.5.0alpha3-02e2f16.tar.gz
 /xdebug-3.5.0-32dcc3d.tar.gz
 /xdebug-3.5.1-af9280f.tar.gz
+/xdebug-3.5.1.tar.gz
+/xdebug-3.5.3.tar.gz

diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec
index c044b28..fa73b8b 100644
--- a/php-pecl-xdebug3.spec
+++ b/php-pecl-xdebug3.spec
@@ -16,26 +16,29 @@
 %global pie_vend   xdebug
 %global pie_proj   xdebug
 %global pecl_name  xdebug
-%global gh_commit  af9280fff4eeb014309f8f66633c5e8f40e88b04
-%global gh_short   %(c=%{gh_commit}; echo ${c:0:7})
 
 # version/release
-%global upstream_version 3.5.1
+%global upstream_version 3.5.3
 #global upstream_prever  alpha3
 #global upstream_lower   %%(echo %%{upstream_prever} | tr '[:upper:]' '[:lower:]')
-%global sources          src
+
+# Github forge
+%global gh_vend     %{pecl_name}
+%global gh_proj     %{pecl_name}
+%global forgeurl    https://github.com/%{gh_vend}/%{gh_proj}
+%global tag         %{upstream_version}%{?upstream_prever}
 
 # XDebug should be loaded after opcache
 %global ini_name  15-%{pecl_name}.ini
 
 Name:           %{php_base}-pecl-xdebug3
 Summary:        Provides functions for function traces and profiling
+License:        Xdebug-1.03
 Version:        %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
 Release:        1%{?dist}
-Source0:        https://github.com/%{pecl_name}/%{pecl_name}/archive/%{gh_commit}/%{pecl_name}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz
-
-License:        Xdebug-1.03
+%forgemeta
 URL:            https://xdebug.org/
+Source0:        %{forgesource}
 
 ExcludeArch:    %{ix86}
 
@@ -96,20 +99,14 @@ Documentation: https://xdebug.org/docs/
 
 
 %prep
-%setup -qc
-mv %{pecl_name}-%{gh_commit} %{sources}
-mv %{sources}/package.xml .
+%forgesetup
 
-sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
-
-pushd %{sources}
 # Check extension version
 ver=$(sed -n '/XDEBUG_VERSION/{s/.* "//;s/".*$//;p}' php_xdebug.h)
 if test "$ver" != "%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then
    : Error: Upstream XDEBUG_VERSION version is ${ver}, expecting %{upstream_version}%{?upstream_perver}%{?gh_date:-dev}.
    exit 1
 fi
-popd
 
 cat << 'EOF' >%{ini_name}
 ; Enable xdebug extension module
@@ -118,13 +115,12 @@ zend_extension=%{pecl_name}.so
 ; Configuration
 ; See https://xdebug.org/docs/all_settings
 EOF
-sed -e '1,2d' %{sources}/%{pecl_name}.ini >>%{ini_name}
+sed -e '1,2d' %{pecl_name}.ini >>%{ini_name}
 
 head -n15 <%{ini_name}
 
 
 %build
-cd %{sources}
 %{__phpize}
 sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
 
@@ -146,16 +142,8 @@ install -Dpm 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
 
 
 : Install the extension
-cd %{sources}
 %make_install
 
-: Install the Documentation
-for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-do
-  [ -f contrib/$i ] && j=contrib/$i || j=$i
-  install -Dpm 644 $j %{buildroot}%{pecl_docdir}/%{pecl_name}/$j
-done
-
 
 %check
 # Shared needed extensions
@@ -188,13 +176,15 @@ if [ -s err.log ]; then
 fi
 
 %if %{with tests}
-cd %{sources}
 : Upstream test suite
 
 # see https://bugs.xdebug.org/view.php?id=2048
 rm tests/base/bug02036*.phpt
 # Erratic result
 rm tests/debugger/bug00998-ipv6.phpt
+# see https://bugs.xdebug.org/view.php?id=2434
+rm tests/debugger/bug02424-*.phpt
+rm tests/debugger/maps/map-minimum-path/minimum-path.phpt
 
 # bug00886 is marked as slow as it uses a lot of disk space
 TEST_OPTS="-q -x --show-diff"
@@ -207,8 +197,11 @@ TEST_PHP_ARGS="-n $modules -d zend_extension=%{buildroot}%{php_extdir}/%{pecl_na
 
 
 %files
-%license %{sources}/LICENSE
-%doc %{pecl_docdir}/%{pecl_name}
+%license LICENSE
+%doc composer.json
+%doc CREDITS
+%doc CONTRIBUTING.rst
+%doc README.rst
 %{pecl_xmldir}/%{name}.xml
 
 %config(noreplace) %{php_inidir}/%{ini_name}
@@ -216,6 +209,10 @@ TEST_PHP_ARGS="-n $modules -d zend_extension=%{buildroot}%{php_extdir}/%{pecl_na
 
 
 %changelog
+* Tue Jun  9 2026 Remi Collet <remi@remirepo.net> - 3.5.3-1
+- update to 3.5.3
+- open https://bugs.xdebug.org/view.php?id=2434 test failure on aarch64
+
 * Wed Feb  4 2026 Remi Collet <remi@remirepo.net> - 3.5.1-1
 - update to 3.5.1 (no change on Linux)
 

diff --git a/sources b/sources
index ab014ad..cedfec3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xdebug-3.5.1-af9280f.tar.gz) = 771064c96409d43488dbfe12f87b402ea9db5a9d6e178ab0b2db190577502c023cb0b098db16af90be927b28af4500571d04f6681a5f985624d35b8cfc18a7a2
+SHA512 (xdebug-3.5.3.tar.gz) = 06af6d20cd3ffd10e3d43b3e4493b74aa9577766a18e4ab821ed0a0e022cf10ca7b30592e76b0c59862052212a3cb3e7700c4d4bc4669a68eee34984ba489abc

                 reply	other threads:[~2026-06-09  9:24 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=178099706567.1.1491859492719561317.rpms-php-pecl-xdebug3-ce107f5c29ad@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