summaryrefslogtreecommitdiffstats
path: root/composer.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-30 08:08:59 +0100
committerRemi Collet <remi@php.net>2024-10-30 08:08:59 +0100
commit7f8d1837b7c5ae330af120647b2daf2174c1519b (patch)
tree425437c087783dfb23b9cf3df6d2d06980027579 /composer.spec
parent877d697f6060f3506214df4cabd44dd3f459cd89 (diff)
fix diagnose command
Diffstat (limited to 'composer.spec')
-rw-r--r--composer.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/composer.spec b/composer.spec
index 9c0b47f..eaa3291 100644
--- a/composer.spec
+++ b/composer.spec
@@ -32,7 +32,7 @@
Name: composer
Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Dependency Manager for PHP
# SPDX: composer and all dependencies are MIT
@@ -179,7 +179,10 @@ rm src/Composer/vendor/composer/ca-bundle/res/cacert.pem
ln -s vendor/autoload.php src/Composer/autoload.php
: fix layout
-sed -e "s:/../..' . '/src/Composer::" -i src/Composer/vendor/composer/autoload_static.php
+sed -e "s:/../..' . '/src/Composer::" \
+ -i src/Composer/vendor/composer/autoload_static.php
+sed -e "s:../../vendor:vendor:" \
+ -i src/Composer/Command/DiagnoseCommand.php src/Composer/Compiler.php
%if %{without generators}
: List bundled libraries and Licenses
@@ -266,6 +269,9 @@ done
%changelog
+* Wed Oct 30 2024 Remi Collet <remi@remirepo.net> - 2.8.2-2
+- fix diagnose command
+
* Wed Oct 30 2024 Remi Collet <remi@remirepo.net> - 2.8.2-1
- update to 2.8.2