summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-08-02 09:09:02 +0200
committerRemi Collet <remi@remirepo.net>2021-08-02 09:09:02 +0200
commita5449f377d92ab74bc2f254d3ce6f13c8c4ba9b1 (patch)
tree9328310e65e65e139a7d611ba4232a5ead3f52e7
parentacdbf8b7b6ea156bb553ddc1e767bda46f858d3a (diff)
fix symfony autoloader usage
-rw-r--r--php-sebastian-diff3.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/php-sebastian-diff3.spec b/php-sebastian-diff3.spec
index 716a880..87cc564 100644
--- a/php-sebastian-diff3.spec
+++ b/php-sebastian-diff3.spec
@@ -46,7 +46,6 @@ BuildRequires: php-spl
# "symfony/process": "^2 || ^3.3 || ^4"
BuildRequires: phpunit8
BuildRequires: php-symfony4-process
-BuildRequires: php-symfony-polyfill
%endif
# from composer.json
@@ -86,9 +85,8 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}
mkdir vendor
%{_bindir}/phpab --output vendor/autoload.php tests
cat << 'EOF' | tee -a vendor/autoload.php
-\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Process', '%{php_home}/Symfony4/Component/Process');
\Fedora\Autoloader\Dependencies::required([
- '%{php_home}/Symfony/Polyfill/autoload.php'
+ '%{php_home}/Symfony4/Component/Process/autoload.php',
]);
EOF
@@ -124,7 +122,7 @@ exit $ret
%changelog
* Mon Aug 2 2021 Remi Collet <remi@remirepo.net> - 3.0.3-4
-- add build dependency on symfony/polyfill
+- fix symfony autoloader usage
* Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 3.0.3-1
- update to 3.0.3 (no change)