From b631897760b728865a8e2d86025fb6ed37752322 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jun 2025 10:37:23 +0200 Subject: [PATCH 1/7] v1.0.0 (cherry picked from commit 9661e373f786d6c1d29b8c572a00a3813d19b6a5) --- .gitignore | 2 ++ pie.spec | 7 +++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 82529fd..1135a6a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /pie-0.8.0-108707d.tgz /pie-0.9.0-2c73701.tgz /pie-0.10.0-453a462.tgz +/pie-0.12.0-6f6ce74.tgz +/pie-1.0.0-6b7bbdd.tgz diff --git a/pie.spec b/pie.spec index b227d20..e3db874 100644 --- a/pie.spec +++ b/pie.spec @@ -7,14 +7,14 @@ # Please, preserve the changelog entries # -%global gh_commit 453a46225915d29c714480d4897b7905d91c3236 +%global gh_commit 6b7bbdd405cbc31d81dd94ef4140343ae2062f1e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 0.10.0 +%global upstream_version 1.0.0 #global upstream_prever dev #global upstream_lower DEV @@ -136,6 +136,9 @@ done %changelog +* Wed Jun 18 2025 Remi Collet - 1.0.0-1 +- update to 1.0.0 + * Sun May 4 2025 Remi Collet - 0.10.0-1 - update to 0.10.0 diff --git a/sources b/sources index 242a192..3788dc7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-0.10.0-453a462.tgz) = c96dfa7804c8e16f6aea45c97c667d3ba588a88f73fd03418c7b77b42e04eed7eb758aa412e3e74cc6db7d3d1e4831c48089fc0fb49ed7901173ad1283738c01 +SHA512 (pie-1.0.0-6b7bbdd.tgz) = 706e82fe9c581e52f06f56085cbd1ac4469f5fcb367d5eac050421ce09daa5c50b03dd6612eec4e7d23d9fca8bde213a9ecfad235d35b4d3003e6c873c4113d2 From fc6cc2e72b3b701e8d8edae2aa7f69ac59c20d26 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Aug 2025 09:17:28 +0200 Subject: [PATCH 2/7] v1.1.0 (cherry picked from commit da51af944b27d491245724edb826a08bf4d04af6) --- .gitignore | 1 + pie-nocacert.patch | 2 +- pie.spec | 14 ++++++++------ sources | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 1135a6a..946ce8f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /pie-0.10.0-453a462.tgz /pie-0.12.0-6f6ce74.tgz /pie-1.0.0-6b7bbdd.tgz +/pie-1.1.0-28b3e0d.tgz diff --git a/pie-nocacert.patch b/pie-nocacert.patch index c0b6a45..a93d2a4 100644 --- a/pie-nocacert.patch +++ b/pie-nocacert.patch @@ -6,7 +6,7 @@ diff -up ./vendor/composer/ca-bundle/src/CaBundle.php.rpm ./vendor/composer/ca-b public static function getBundledCaBundlePath() { - $caBundleFile = __DIR__.'/../res/cacert.pem'; -+ $caBundleFile = '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always ++ $caBundleFile = '/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem'; // System CA, always // cURL does not understand 'phar://' paths // see https://github.com/composer/ca-bundle/issues/10 diff --git a/pie.spec b/pie.spec index e3db874..5192b15 100644 --- a/pie.spec +++ b/pie.spec @@ -7,23 +7,22 @@ # Please, preserve the changelog entries # -%global gh_commit 6b7bbdd405cbc31d81dd94ef4140343ae2062f1e +%global gh_commit 28b3e0d324f29034e6c80eed3f63773ca78038dc %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 1.0.0 -#global upstream_prever dev -#global upstream_lower DEV +%global upstream_version 1.1.0 +#global upstream_prever RC1 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) %global bashcomproot %(dirname %{bashcompdir} 2>/dev/null) Name: pie -Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} +Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: PHP Installer for Extensions @@ -60,7 +59,7 @@ Requires: php(language) >= 8.1 Requires: php-cli Requires: php-zip # System certificates -Requires: ca-certificates +Requires: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem # From phpcompatinfo # Ignored: core, date, filter, hash, pcre, random, reflection, spl, standard Requires: php-ctype @@ -136,6 +135,9 @@ done %changelog +* Fri Aug 8 2025 Remi Collet - 1.1.0-1 +- update to 1.1.0 + * Wed Jun 18 2025 Remi Collet - 1.0.0-1 - update to 1.0.0 diff --git a/sources b/sources index 3788dc7..928115f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-1.0.0-6b7bbdd.tgz) = 706e82fe9c581e52f06f56085cbd1ac4469f5fcb367d5eac050421ce09daa5c50b03dd6612eec4e7d23d9fca8bde213a9ecfad235d35b4d3003e6c873c4113d2 +SHA512 (pie-1.1.0-28b3e0d.tgz) = a1b500d8664944b71369fffde91717b3d14a4742c96d7fa89fd79931e935eb4d01e0cb76d0854443cdce5f116e78fbf91863c10129cc55c9edb9fa9009d08602 From 0acfc4e98aaec4fa3dd11251240f727c6fa7883f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 3 Sep 2025 06:31:13 +0200 Subject: [PATCH 3/7] v1.2.0 (cherry picked from commit 4f7d2fb9da2ee57662807a58e232ed8a7f0ffd47) --- .gitignore | 1 + pie-nocacert.patch | 2 +- pie-noxdg.patch | 34 +++++++++++++++++----------------- pie-rpm.patch | 20 ++++++++++---------- pie.spec | 7 +++++-- sources | 2 +- 6 files changed, 35 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 946ce8f..2856ab0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /pie-0.12.0-6f6ce74.tgz /pie-1.0.0-6b7bbdd.tgz /pie-1.1.0-28b3e0d.tgz +/pie-1.2.0-4b20e77.tgz diff --git a/pie-nocacert.patch b/pie-nocacert.patch index a93d2a4..1d744be 100644 --- a/pie-nocacert.patch +++ b/pie-nocacert.patch @@ -1,7 +1,7 @@ diff -up ./vendor/composer/ca-bundle/src/CaBundle.php.rpm ./vendor/composer/ca-bundle/src/CaBundle.php --- ./vendor/composer/ca-bundle/src/CaBundle.php.rpm 2024-09-25 09:49:53.000000000 +0200 +++ ./vendor/composer/ca-bundle/src/CaBundle.php 2024-10-03 07:11:10.752092401 +0200 -@@ -121,7 +121,7 @@ class CaBundle +@@ -122,7 +122,7 @@ class CaBundle */ public static function getBundledCaBundlePath() { diff --git a/pie-noxdg.patch b/pie-noxdg.patch index 896ab51..e0a2703 100644 --- a/pie-noxdg.patch +++ b/pie-noxdg.patch @@ -1,7 +1,21 @@ +diff -up ./src/Platform.php.noxdg ./src/Platform.php +--- ./src/Platform.php.noxdg 2025-08-29 11:49:32.251927241 +0200 ++++ ./src/Platform.php 2025-08-29 11:50:18.737674445 +0200 +@@ -37,6 +37,10 @@ class Platform + + private static function useXdg(): bool + { ++ // As XDG is very partially implemented ++ // resulting in command/code in ~/.config ++ return false; ++ + foreach (array_keys($_SERVER) as $key) { + /** @psalm-suppress RedundantCastGivenDocblockType */ + if (strpos((string) $key, 'XDG_') === 0) { diff -up ./vendor/composer/composer/src/Composer/Factory.php.noxdg ./vendor/composer/composer/src/Composer/Factory.php ---- ./vendor/composer/composer/src/Composer/Factory.php.noxdg 2024-04-20 12:34:54.442117723 +0200 -+++ ./vendor/composer/composer/src/Composer/Factory.php 2024-04-20 12:35:39.497640757 +0200 -@@ -702,6 +702,10 @@ class Factory +--- ./vendor/composer/composer/src/Composer/Factory.php.noxdg 2025-08-21 11:29:39.000000000 +0200 ++++ ./vendor/composer/composer/src/Composer/Factory.php 2025-08-29 11:49:32.251858889 +0200 +@@ -707,6 +707,10 @@ class Factory private static function useXdg(): bool { @@ -12,17 +26,3 @@ diff -up ./vendor/composer/composer/src/Composer/Factory.php.noxdg ./vendor/comp foreach (array_keys($_SERVER) as $key) { if (strpos((string) $key, 'XDG_') === 0) { return true; -diff -up ./src/Platform.php.old ./src/Platform.php ---- ./src/Platform.php.old 2024-12-24 10:01:31.088992537 +0100 -+++ ./src/Platform.php 2024-12-24 10:01:36.394197932 +0100 -@@ -23,6 +23,10 @@ class Platform - { - private static function useXdg(): bool - { -+ // As XDG is very partially implemented -+ // resulting in command/code in ~/.config -+ return false; -+ - foreach (array_keys($_SERVER) as $key) { - /** @psalm-suppress RedundantCastGivenDocblockType */ - if (strpos((string) $key, 'XDG_') === 0) { diff --git a/pie-rpm.patch b/pie-rpm.patch index 319bf15..8203644 100644 --- a/pie-rpm.patch +++ b/pie-rpm.patch @@ -1,8 +1,8 @@ diff -up ./bin/pie.rpm ./bin/pie ---- ./bin/pie.rpm 2025-05-04 07:07:22.613769884 +0200 -+++ ./bin/pie 2025-05-04 07:08:14.674780350 +0200 -@@ -25,7 +25,7 @@ use Symfony\Component\Console\Output\Out - use Symfony\Component\EventDispatcher\EventDispatcher; +--- ./bin/pie.rpm 2025-08-29 11:47:51.021892397 +0200 ++++ ./bin/pie 2025-08-29 11:48:46.211987817 +0200 +@@ -27,7 +27,7 @@ use Symfony\Component\EventDispatcher\Ev + error_reporting(error_reporting() & ~E_DEPRECATED); /** @psalm-suppress UnresolvableInclude */ -include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php'; @@ -11,9 +11,9 @@ diff -up ./bin/pie.rpm ./bin/pie $container = Container::factory(); diff -up ./src/Command/SelfUpdateCommand.php.rpm ./src/Command/SelfUpdateCommand.php ---- ./src/Command/SelfUpdateCommand.php.rpm 2025-05-04 07:07:22.613884103 +0200 -+++ ./src/Command/SelfUpdateCommand.php 2025-05-04 07:08:42.762882203 +0200 -@@ -63,6 +63,7 @@ final class SelfUpdateCommand extends Co +--- ./src/Command/SelfUpdateCommand.php.rpm 2025-08-29 11:47:45.000000000 +0200 ++++ ./src/Command/SelfUpdateCommand.php 2025-08-29 11:47:51.022050330 +0200 +@@ -65,6 +65,7 @@ final class SelfUpdateCommand extends Co { if (! PieVersion::isPharBuild()) { $output->writeln('Aborting! You are not running a PHAR, cannot self-update.'); @@ -22,9 +22,9 @@ diff -up ./src/Command/SelfUpdateCommand.php.rpm ./src/Command/SelfUpdateCommand return Command::FAILURE; } diff -up ./src/Command/SelfVerifyCommand.php.rpm ./src/Command/SelfVerifyCommand.php ---- ./src/Command/SelfVerifyCommand.php.rpm 2025-05-04 07:12:21.285478859 +0200 -+++ ./src/Command/SelfVerifyCommand.php 2025-05-04 07:14:06.624616100 +0200 -@@ -49,6 +49,7 @@ final class SelfVerifyCommand extends Co +--- ./src/Command/SelfVerifyCommand.php.rpm 2025-08-29 11:47:45.000000000 +0200 ++++ ./src/Command/SelfVerifyCommand.php 2025-08-29 11:47:51.022201509 +0200 +@@ -51,6 +51,7 @@ final class SelfVerifyCommand extends Co { if (! PieVersion::isPharBuild()) { $output->writeln('Aborting! You are not running a PHAR, cannot self-verify.'); diff --git a/pie.spec b/pie.spec index 5192b15..a8cae27 100644 --- a/pie.spec +++ b/pie.spec @@ -7,14 +7,14 @@ # Please, preserve the changelog entries # -%global gh_commit 28b3e0d324f29034e6c80eed3f63773ca78038dc +%global gh_commit 4b20e778e116a3e77ece8ad26d4a44dd64bbeaf6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 1.1.0 +%global upstream_version 1.2.0 #global upstream_prever RC1 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) @@ -135,6 +135,9 @@ done %changelog +* Wed Sep 3 2025 Remi Collet - 1.2.0-1 +- update to 1.2.0 + * Fri Aug 8 2025 Remi Collet - 1.1.0-1 - update to 1.1.0 diff --git a/sources b/sources index 928115f..3101704 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-1.1.0-28b3e0d.tgz) = a1b500d8664944b71369fffde91717b3d14a4742c96d7fa89fd79931e935eb4d01e0cb76d0854443cdce5f116e78fbf91863c10129cc55c9edb9fa9009d08602 +SHA512 (pie-1.2.0-4b20e77.tgz) = b7be6ecf24b53bebce9d3d35c03b86775d54db5902c8bb8fe97a7aff66d16ad7b66fc36bf0701b2e2dd2b7ac3058d64f48e2b241b242d1a74b1c30f734d2a82c From 11e96e7c1a2628e92f84177f974b52ed26e8de8c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Sep 2025 13:55:58 +0200 Subject: [PATCH 4/7] update to 1.2.1 supplements php-pear (cherry picked from commit dbc3f36cfa500005c8c96653efe906713ad384ec) --- .gitignore | 1 + pie.spec | 11 +++++++++-- sources | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2856ab0..907e518 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /pie-1.0.0-6b7bbdd.tgz /pie-1.1.0-28b3e0d.tgz /pie-1.2.0-4b20e77.tgz +/pie-1.2.1-8288fd6.tgz diff --git a/pie.spec b/pie.spec index a8cae27..8dd4550 100644 --- a/pie.spec +++ b/pie.spec @@ -7,14 +7,14 @@ # Please, preserve the changelog entries # -%global gh_commit 4b20e778e116a3e77ece8ad26d4a44dd64bbeaf6 +%global gh_commit 8288fd6ed643c9fa8422a7a9b49cecd60bf444be %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 1.2.0 +%global upstream_version 1.2.1 #global upstream_prever RC1 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) @@ -70,6 +70,9 @@ Requires: php-json Requires: php-mbstring Requires: php-posix Requires: php-phar +# PECL is now deprecated +# PIE is designed to replace it +Supplements: php-pear %description @@ -135,6 +138,10 @@ done %changelog +* Wed Sep 10 2025 Remi Collet - 1.2.1-1 +- update to 1.2.1 +- supplements php-pear + * Wed Sep 3 2025 Remi Collet - 1.2.0-1 - update to 1.2.0 diff --git a/sources b/sources index 3101704..6687b84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-1.2.0-4b20e77.tgz) = b7be6ecf24b53bebce9d3d35c03b86775d54db5902c8bb8fe97a7aff66d16ad7b66fc36bf0701b2e2dd2b7ac3058d64f48e2b241b242d1a74b1c30f734d2a82c +SHA512 (pie-1.2.1-8288fd6.tgz) = e97e72ac583a00dd9047f95938554d24150c980cf5f34502876916db6ecef79f79abcdcbbdf8304274841f677309fbfb5ef67585c80fd79ca9eb775450dd5929 From 38b6dec1f41e634e23344e46c157ebede11415c5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 26 Nov 2025 10:04:21 +0100 Subject: [PATCH 5/7] v1.3.0 (cherry picked from commit e37ad716abc9246c0355768d959314b6f6bb0e1e) --- .gitignore | 1 + pie-bash-completion | 2 +- pie-noxdg.patch | 12 ++++++------ pie-rpm.patch | 38 +++++++++++++++++++++++--------------- pie.spec | 16 +++++++++------- sources | 2 +- 6 files changed, 41 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 907e518..20082f7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /pie-1.1.0-28b3e0d.tgz /pie-1.2.0-4b20e77.tgz /pie-1.2.1-8288fd6.tgz +/pie-1.3.0-3a28242.tgz diff --git a/pie-bash-completion b/pie-bash-completion index f189bdc..837f518 100644 --- a/pie-bash-completion +++ b/pie-bash-completion @@ -37,7 +37,7 @@ _sf_pie() { local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-a1") for w in ${words[@]}; do - w=$(printf -- '%b' "$w") + w="${w//\\\\/\\}" # remove quotes from typed values quote="${w:0:1}" if [ "$quote" == \' ]; then diff --git a/pie-noxdg.patch b/pie-noxdg.patch index e0a2703..1ee3f16 100644 --- a/pie-noxdg.patch +++ b/pie-noxdg.patch @@ -1,7 +1,7 @@ diff -up ./src/Platform.php.noxdg ./src/Platform.php ---- ./src/Platform.php.noxdg 2025-08-29 11:49:32.251927241 +0200 -+++ ./src/Platform.php 2025-08-29 11:50:18.737674445 +0200 -@@ -37,6 +37,10 @@ class Platform +--- ./src/Platform.php.noxdg 2025-11-04 07:41:36.891311937 +0100 ++++ ./src/Platform.php 2025-11-04 07:42:29.282702463 +0100 +@@ -35,6 +35,10 @@ class Platform private static function useXdg(): bool { @@ -10,11 +10,11 @@ diff -up ./src/Platform.php.noxdg ./src/Platform.php + return false; + foreach (array_keys($_SERVER) as $key) { - /** @psalm-suppress RedundantCastGivenDocblockType */ if (strpos((string) $key, 'XDG_') === 0) { + return true; diff -up ./vendor/composer/composer/src/Composer/Factory.php.noxdg ./vendor/composer/composer/src/Composer/Factory.php ---- ./vendor/composer/composer/src/Composer/Factory.php.noxdg 2025-08-21 11:29:39.000000000 +0200 -+++ ./vendor/composer/composer/src/Composer/Factory.php 2025-08-29 11:49:32.251858889 +0200 +--- ./vendor/composer/composer/src/Composer/Factory.php.noxdg 2025-09-19 13:41:59.000000000 +0200 ++++ ./vendor/composer/composer/src/Composer/Factory.php 2025-11-04 07:41:36.891444253 +0100 @@ -707,6 +707,10 @@ class Factory private static function useXdg(): bool diff --git a/pie-rpm.patch b/pie-rpm.patch index 8203644..9d4a8d0 100644 --- a/pie-rpm.patch +++ b/pie-rpm.patch @@ -1,34 +1,42 @@ diff -up ./bin/pie.rpm ./bin/pie ---- ./bin/pie.rpm 2025-08-29 11:47:51.021892397 +0200 -+++ ./bin/pie 2025-08-29 11:48:46.211987817 +0200 -@@ -27,7 +27,7 @@ use Symfony\Component\EventDispatcher\Ev - error_reporting(error_reporting() & ~E_DEPRECATED); +--- ./bin/pie.rpm 2025-11-04 07:31:47.045861211 +0100 ++++ ./bin/pie 2025-11-04 07:34:03.568067299 +0100 +@@ -28,13 +28,14 @@ use function error_reporting; - /** @psalm-suppress UnresolvableInclude */ + use const E_DEPRECATED; + +-require_once __DIR__ . '/../src/Util/PieVersion.php'; ++require_once '/usr/share/pie/src/Util/PieVersion.php'; ++ + if (PieVersion::isPharBuild()) { + error_reporting(error_reporting() & ~E_DEPRECATED); + } + + // phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps -include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php'; +include $_composer_autoload_path ?? '/usr/share/pie/vendor/autoload.php'; $container = Container::factory(); diff -up ./src/Command/SelfUpdateCommand.php.rpm ./src/Command/SelfUpdateCommand.php ---- ./src/Command/SelfUpdateCommand.php.rpm 2025-08-29 11:47:45.000000000 +0200 -+++ ./src/Command/SelfUpdateCommand.php 2025-08-29 11:47:51.022050330 +0200 -@@ -65,6 +65,7 @@ final class SelfUpdateCommand extends Co +--- ./src/Command/SelfUpdateCommand.php.rpm 2025-11-04 07:31:47.045962420 +0100 ++++ ./src/Command/SelfUpdateCommand.php 2025-11-04 07:34:56.202111078 +0100 +@@ -85,6 +85,7 @@ final class SelfUpdateCommand extends Co { if (! PieVersion::isPharBuild()) { - $output->writeln('Aborting! You are not running a PHAR, cannot self-update.'); -+ $output->writeln('Update the pie RPM using the package manager (dnf).'); + $this->io->writeError('Aborting! You are not running a PHAR, cannot self-update.'); ++ $this->io->writeError('Update the pie RPM using the package manager (dnf).'); return Command::FAILURE; } diff -up ./src/Command/SelfVerifyCommand.php.rpm ./src/Command/SelfVerifyCommand.php ---- ./src/Command/SelfVerifyCommand.php.rpm 2025-08-29 11:47:45.000000000 +0200 -+++ ./src/Command/SelfVerifyCommand.php 2025-08-29 11:47:51.022201509 +0200 -@@ -51,6 +51,7 @@ final class SelfVerifyCommand extends Co +--- ./src/Command/SelfVerifyCommand.php.rpm 2025-11-04 07:31:47.046045232 +0100 ++++ ./src/Command/SelfVerifyCommand.php 2025-11-04 07:35:34.439595840 +0100 +@@ -43,6 +43,7 @@ final class SelfVerifyCommand extends Co { if (! PieVersion::isPharBuild()) { - $output->writeln('Aborting! You are not running a PHAR, cannot self-verify.'); -+ $output->writeln('Verify the pie RPM using the package manager (rpm).'); + $this->io->writeError('Aborting! You are not running a PHAR, cannot self-verify.'); ++ $this->io->writeError('Verify the pie RPM using the package manager (rpm).'); return Command::FAILURE; } diff --git a/pie.spec b/pie.spec index 8dd4550..408fd8b 100644 --- a/pie.spec +++ b/pie.spec @@ -7,15 +7,15 @@ # Please, preserve the changelog entries # -%global gh_commit 8288fd6ed643c9fa8422a7a9b49cecd60bf444be +%global gh_commit 3a2824243fce9051fb6b99430f7e14053e827495 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 1.2.1 -#global upstream_prever RC1 +%global upstream_version 1.3.0 +#global upstream_prever rc3 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) %global bashcomproot %(dirname %{bashcompdir} 2>/dev/null) @@ -26,7 +26,9 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: PHP Installer for Extensions -# SPDX: pie is BSD-3-Clause, all dependencies are MIT +# SPDX: pie is BSD-3-Clause +# thephpf/attestation is BSD-3-Clause +# others dependencies are MIT License: BSD-3-Clause AND MIT URL: https://github.com/php/pie # tarball generated by makesrc.sh @@ -96,9 +98,6 @@ find . \( -name \*.rpm -o -name \*noxdg -o -name \*nocacert \) -delete -print rm vendor/composer/ca-bundle/res/cacert.pem -: Set version -sed -e 's/@pie_version@/%{upstream_version}%{?upstream_prever}/' -i bin/pie - %build # Nothing @@ -138,6 +137,9 @@ done %changelog +* Wed Nov 26 2025 Remi Collet - 1.3.0-1 +- update to 1.3.0 + * Wed Sep 10 2025 Remi Collet - 1.2.1-1 - update to 1.2.1 - supplements php-pear diff --git a/sources b/sources index 6687b84..9a75927 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-1.2.1-8288fd6.tgz) = e97e72ac583a00dd9047f95938554d24150c980cf5f34502876916db6ecef79f79abcdcbbdf8304274841f677309fbfb5ef67585c80fd79ca9eb775450dd5929 +SHA512 (pie-1.3.0-3a28242.tgz) = 932ef76dff98493a60d1c49f2535c0cdca2aaf888b6786ea2ee0ad01acdb9850496b1e9f04ec3986e4c1aa966cae9f769d8132d396606d2f55b7f9a1175a0845 From 5dc1e96f40f6168d00665c44bbbd8da2ded4aa2b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Jan 2026 10:37:14 +0100 Subject: [PATCH 6/7] v1.3.4 (cherry picked from commit 39b3e346808f660c61402a03eb33a8933e8e11c0) --- .gitignore | 2 ++ pie.spec | 7 +++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 20082f7..9e09741 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ /pie-1.2.0-4b20e77.tgz /pie-1.2.1-8288fd6.tgz /pie-1.3.0-3a28242.tgz +/pie-1.3.1-2ebd9dc.tgz +/pie-1.3.4-d41c81a.tgz diff --git a/pie.spec b/pie.spec index 408fd8b..87a420a 100644 --- a/pie.spec +++ b/pie.spec @@ -7,14 +7,14 @@ # Please, preserve the changelog entries # -%global gh_commit 3a2824243fce9051fb6b99430f7e14053e827495 +%global gh_commit d41c81aeeab8815ae1a49c6282cb309893410c0c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 1.3.0 +%global upstream_version 1.3.4 #global upstream_prever rc3 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) @@ -137,6 +137,9 @@ done %changelog +* Sat Jan 3 2026 Remi Collet - 1.3.4-1 +- update to 1.3.4 + * Wed Nov 26 2025 Remi Collet - 1.3.0-1 - update to 1.3.0 diff --git a/sources b/sources index 9a75927..8217c64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-1.3.0-3a28242.tgz) = 932ef76dff98493a60d1c49f2535c0cdca2aaf888b6786ea2ee0ad01acdb9850496b1e9f04ec3986e4c1aa966cae9f769d8132d396606d2f55b7f9a1175a0845 +SHA512 (pie-1.3.4-d41c81a.tgz) = 4a955e169e9766399f5df1061fe6ba0bcf0d2e9f683b7683f53cb0d54264325459f2d1d40e5e8c2519e0185a01de99c7f2bedd7fe6c31910ed862c8cd47c4ade From ddf582df9fb0ca3fcc744534456c932b3b8685f8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 7 Jan 2026 07:58:54 +0100 Subject: [PATCH 7/7] v1.3.5 (cherry picked from commit ea76054980b62ce46123b34caa75b0d1de3d903b) --- .gitignore | 1 + pie.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9e09741..2451128 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /pie-1.3.0-3a28242.tgz /pie-1.3.1-2ebd9dc.tgz /pie-1.3.4-d41c81a.tgz +/pie-1.3.5-90d6d18.tgz diff --git a/pie.spec b/pie.spec index 87a420a..13b705a 100644 --- a/pie.spec +++ b/pie.spec @@ -1,20 +1,20 @@ # remirepo/fedora spec file for pie # -# SPDX-FileCopyrightText: Copyright 2024-2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2024-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%global gh_commit d41c81aeeab8815ae1a49c6282cb309893410c0c +%global gh_commit 90d6d1850b254540328a8397a9e689ad1bca873e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20241003 %global gh_branch main %global gh_owner php %global gh_project pie -%global upstream_version 1.3.4 +%global upstream_version 1.3.5 #global upstream_prever rc3 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) @@ -137,6 +137,9 @@ done %changelog +* Wed Jan 7 2026 Remi Collet - 1.3.5-1 +- update to 1.3.5 + * Sat Jan 3 2026 Remi Collet - 1.3.4-1 - update to 1.3.4 diff --git a/sources b/sources index 8217c64..e29878f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pie-1.3.4-d41c81a.tgz) = 4a955e169e9766399f5df1061fe6ba0bcf0d2e9f683b7683f53cb0d54264325459f2d1d40e5e8c2519e0185a01de99c7f2bedd7fe6c31910ed862c8cd47c4ade +SHA512 (pie-1.3.5-90d6d18.tgz) = 26b76820bfb5faa045cc70c832ef85a3f8dba9f2f8b131a67f813ee99614300889111c9f4a61157266c4e8543cdbe757a89daf535733071c56a05ac254f5b706