diff --git a/composer-bash-completion b/composer-bash-completion index 0b6447f..f31bc3a 100644 --- a/composer-bash-completion +++ b/composer-bash-completion @@ -25,7 +25,7 @@ _sf_composer() { local cur prev words cword _get_comp_words_by_ref -n := cur prev words cword - local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-S2.9.3") + local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-S2.8.8") for w in ${words[@]}; do w=$(printf -- '%b' "$w") # remove quotes from typed values diff --git a/composer-rpm.patch b/composer-rpm.patch index 7323225..fdc97ac 100644 --- a/composer-rpm.patch +++ b/composer-rpm.patch @@ -39,7 +39,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/ca-trust/extracted/pem/tls-ca-bundle.pem'; // System CA, always ++ $caBundleFile = '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always // cURL does not understand 'phar://' paths // see https://github.com/composer/ca-bundle/issues/10 diff --git a/composer.spec b/composer.spec index f6de2ad..39081f9 100644 --- a/composer.spec +++ b/composer.spec @@ -8,15 +8,15 @@ # -%global gh_commit fb3bee27676fd852a8a11ebbb1de19b4dada5aba +%global gh_commit 85ff84d6c5260ba21740a7c5c9a111890805d6e7 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_branch 2.0-dev %global gh_owner composer %global gh_project composer -%global api_version 2.9.0 +%global api_version 2.6.0 %global run_version 2.2.2 -%global upstream_version 2.9.3 +%global upstream_version 2.8.8 #global upstream_prever RC1 #global upstream_lower rc1 @@ -56,50 +56,45 @@ BuildRequires: composer-generators # From composer.json, "require": { # "php": "^7.2.5 || ^8.0", -# "ext-json": "*", -# "composer/ca-bundle": "^1.5", -# "composer/class-map-generator": "^1.4.0", +# "composer/ca-bundle": "^1.0", # "composer/metadata-minifier": "^1.0", -# "composer/semver": "^3.3", -# "composer/spdx-licenses": "^1.5.7", +# "composer/semver": "^3.0", +# "composer/spdx-licenses": "^1.2", # "composer/xdebug-handler": "^2.0.2 || ^3.0.3", -# "justinrainbow/json-schema": "^6.5.1", -# "psr/log": "^1.0 || ^2.0 || ^3.0", -# "seld/jsonlint": "^1.4", +# "justinrainbow/json-schema": "^5.2.11", +# "psr/log": "^1.0 || ^2.0 || ^3.0" +# "seld/jsonlint": "~1.4", # "seld/phar-utils": "^1.2", -# "symfony/console": "^5.4.47 || ^6.4.25 || ^7.1.10 || ^8.0", -# "symfony/filesystem": "^5.4.45 || ^6.4.24 || ^7.1.10 || ^8.0", -# "symfony/finder": "^5.4.45 || ^6.4.24 || ^7.1.10 || ^8.0", -# "symfony/process": "^5.4.47 || ^6.4.25 || ^7.1.10 || ^8.0", -# "react/promise": "^3.3", -# "composer/pcre": "^2.3 || ^3.3", +# "symfony/console": "^5.4.1 || ^6.0", +# "symfony/filesystem": "^5.4 || ^6.0", +# "symfony/finder": "^5.4 || ^6.0", +# "symfony/process": "^5.4 || ^6.0", +# "react/promise": "^2.8", +# "composer/pcre": "^2 || ^3" # "symfony/polyfill-php73": "^1.24", -# "symfony/polyfill-php80": "^1.24", -# "symfony/polyfill-php81": "^1.24", -# "seld/signal-handler": "^2.0" +# "symfony/polyfill-php80": "^1.24" Requires: php(language) >= 7.2.5 -Requires: php-json Requires: php-cli # System certificates -Requires: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem +Requires: ca-certificates # From composer.json, suggest -# "ext-curl": "Provides HTTP support (will fallback to PHP streams if missing)", -# "ext-openssl": "Enables access to repositories and packages over HTTPS", -# "ext-zip": "Allows direct extraction of ZIP archives (unzip/7z binaries will be used instead if available)", -# "ext-zlib": "Enables gzip for HTTP requests" -Requires: php-curl +# "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", +# "ext-zip": "Enabling the zip extension allows you to unzip archives", +# "ext-zlib": "Allow gzip compression of HTTP requests" Requires: php-openssl Requires: php-zip Requires: php-zlib # From phpcompatinfo for version 2.2.5 Requires: php-ctype +Requires: php-curl Requires: php-date Requires: php-dom Requires: php-filter Requires: php-hash Requires: php-iconv Requires: php-intl +Requires: php-json Requires: php-libxml Requires: php-mbstring Requires: php-pcntl @@ -116,10 +111,6 @@ Requires: php-zlib Provides: php-composer(composer-plugin-api) = %{api_version} Provides: php-composer(composer-runtime-api) = %{run_version} -# PEAR is now deprecated -# composer is designed to replace it -Supplements: php-pear - %description Composer helps you declare, manage and install dependencies of PHP projects, @@ -214,33 +205,6 @@ php -r ' %changelog -* Wed Dec 31 2025 Remi Collet - 2.9.3-1 -- update to 2.9.3 - -* Thu Nov 20 2025 Remi Collet - 2.9.2-1 -- update to 2.9.2 - -* Thu Nov 13 2025 Remi Collet - 2.9.1-1 -- update to 2.9.1 - -* Thu Nov 13 2025 Remi Collet - 2.9.0-1 -- update to 2.9.0 - -* Fri Sep 19 2025 Remi Collet - 2.8.12-1 -- update to 2.8.12 - -* Wed Aug 27 2025 Remi Collet - 2.8.11-1 -- update to 2.8.11 - -* Wed Jul 23 2025 Fedora Release Engineering - 2.8.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jul 11 2025 Remi Collet - 2.8.10-1 -- update to 2.8.10 - -* Tue May 13 2025 Remi Collet - 2.8.9-1 -- update to 2.8.9 - * Sat Apr 5 2025 Remi Collet - 2.8.8-1 - update to 2.8.8 @@ -250,9 +214,6 @@ php -r ' * Tue Jan 21 2025 Remi Collet - 2.8.5-1 - update to 2.8.5 -* Thu Jan 16 2025 Fedora Release Engineering - 2.8.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - * Wed Dec 11 2024 Remi Collet - 2.8.4-1 - update to 2.8.4 - re-license spec file to CECILL-2.1 @@ -279,9 +240,6 @@ php -r ' * Fri Aug 23 2024 Remi Collet - 2.7.8-1 - update to 2.7.8 -* Wed Jul 17 2024 Fedora Release Engineering - 2.7.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - * Tue Jun 11 2024 Remi Collet - 2.7.7-1 - update to 2.7.7 diff --git a/sources b/sources index 05fc8e8..d87700d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (composer-2.9.3-fb3bee2.tgz) = b8f9a7bc73a7b765f113a22308e2b4b35c14ebfadadc57047a37f210be4099a49abc72c85c5c9ce200baa3e63ad0c1a97da744277ca1da948b419af40379658c +SHA512 (composer-2.8.8-85ff84d.tgz) = c6615d03b7ce75265aa2d4069a5d3cbf163503c67aa57dcf1409c49f9ddff91690ce4f939f3ec46c5a31e396424859b46a052c3d3b799676498320e728b5eeb5