summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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