summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json13
-rw-r--r--pie-noxdg.patch4
-rw-r--r--pie-rpm.patch16
-rw-r--r--pie.spec9
4 files changed, 23 insertions, 19 deletions
diff --git a/composer.json b/composer.json
index aedd38d..abe73a4 100644
--- a/composer.json
+++ b/composer.json
@@ -34,20 +34,21 @@
"fidry/cpu-core-counter": "^1.3.0",
"illuminate/container": "^10.49.0",
"psr/container": "^2.0.2",
- "symfony/console": "^6.4.27",
- "symfony/event-dispatcher": "^6.4.25",
- "symfony/process": "^6.4.26",
+ "symfony/console": "^6.4.34",
+ "symfony/event-dispatcher": "^6.4.32",
+ "symfony/process": "^6.4.33",
"thephpf/attestation": "^0.0.5",
"webmozart/assert": "^1.12.1"
},
"require-dev": {
"ext-openssl": "*",
- "behat/behat": "^3.27.0",
+ "behat/behat": "^3.29.0",
"bnf/phpstan-psr-container": "^1.1",
"doctrine/coding-standard": "^14.0.0",
- "phpstan/phpstan": "^2.1.32",
+ "phpstan/phpstan": "^2.1.40",
+ "phpstan/phpstan-phpunit": "^2.0.16",
"phpstan/phpstan-webmozart-assert": "^2.0",
- "phpunit/phpunit": "^10.5.58"
+ "phpunit/phpunit": "^10.5.63"
},
"replace": {
"symfony/polyfill-php81": "*",
diff --git a/pie-noxdg.patch b/pie-noxdg.patch
index 1ee3f16..c470ffb 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-11-04 07:41:36.891311937 +0100
+++ ./src/Platform.php 2025-11-04 07:42:29.282702463 +0100
-@@ -35,6 +35,10 @@ class Platform
+@@ -37,6 +37,10 @@ class Platform
private static function useXdg(): bool
{
@@ -15,7 +15,7 @@ diff -up ./src/Platform.php.noxdg ./src/Platform.php
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-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
+@@ -700,6 +700,10 @@ class Factory
private static function useXdg(): bool
{
diff --git a/pie-rpm.patch b/pie-rpm.patch
index 9d4a8d0..d72f260 100644
--- a/pie-rpm.patch
+++ b/pie-rpm.patch
@@ -1,6 +1,6 @@
diff -up ./bin/pie.rpm ./bin/pie
---- ./bin/pie.rpm 2025-11-04 07:31:47.045861211 +0100
-+++ ./bin/pie 2025-11-04 07:34:03.568067299 +0100
+--- ./bin/pie.rpm 2026-03-19 15:22:15.000000000 +0100
++++ ./bin/pie 2026-03-19 15:22:31.719304419 +0100
@@ -28,13 +28,14 @@ use function error_reporting;
use const E_DEPRECATED;
@@ -19,19 +19,19 @@ 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-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
+--- ./src/Command/SelfUpdateCommand.php.rpm 2026-03-19 15:22:15.000000000 +0100
++++ ./src/Command/SelfUpdateCommand.php 2026-03-19 15:23:34.903816597 +0100
+@@ -84,6 +84,7 @@ final class SelfUpdateCommand extends Co
{
- if (! PieVersion::isPharBuild()) {
+ if (! PieVersion::isPharBuild() || Platform::isRunningStaticPhp()) {
$this->io->writeError('<comment>Aborting! You are not running a PHAR, cannot self-update.</comment>');
+ $this->io->writeError('<comment>Update the pie RPM using the package manager (dnf).</comment>');
return Command::FAILURE;
}
diff -up ./src/Command/SelfVerifyCommand.php.rpm ./src/Command/SelfVerifyCommand.php
---- ./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
+--- ./src/Command/SelfVerifyCommand.php.rpm 2026-03-19 15:22:15.000000000 +0100
++++ ./src/Command/SelfVerifyCommand.php 2026-03-19 15:22:31.719485375 +0100
@@ -43,6 +43,7 @@ final class SelfVerifyCommand extends Co
{
if (! PieVersion::isPharBuild()) {
diff --git a/pie.spec b/pie.spec
index 77d20ac..147394e 100644
--- a/pie.spec
+++ b/pie.spec
@@ -11,15 +11,15 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit bb8b16f1f0fa5870f9de2ee6276ff5b55a8a22f6
+%global gh_commit 97673090f41e40d081e8747e3ad8c1e87da04409
%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.10
-#global upstream_prever rc3
+%global upstream_version 1.4.0
+%global upstream_prever alpha1
%global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
%global bashcomproot %(dirname %{bashcompdir} 2>/dev/null)
@@ -141,6 +141,9 @@ done
%changelog
+* Thu Mar 19 2026 Remi Collet <remi@remirepo.net> - 1.4.0~alpha1-1
+- update to 1.4.0-alpha.1
+
* Wed Mar 18 2026 Remi Collet <remi@remirepo.net> - 1.3.10-1
- update to 1.3.10