summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-10-06 15:30:13 +0200
committerRemi Collet <remi@remirepo.net>2020-10-06 15:30:13 +0200
commit3781fc3220a4ab794f6680e0eb8b032470f68829 (patch)
tree86ef4f6c2a83e8574c04de2a528e6818790e7d0d
parent323064013489986568b8fea1dddfa1b54eeae101 (diff)
add symfony.finder
-rw-r--r--php-bartlett-PHP-CompatInfo.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index 7a0a4d7..c69d985 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -57,10 +57,11 @@ BuildRequires: (php-composer(symfony/config) >= 4.4 with php-comp
BuildRequires: (php-composer(symfony/console) >= 4.4 with php-composer(symfony/console) < 6)
BuildRequires: (php-composer(symfony/dependency-injection) >= 4.4 with php-composer(symfony/dependency-injection) < 6)
BuildRequires: (php-composer(symfony/event-dispatcher) >= 4.4 with php-composer(symfony/event-dispatcher) < 6)
+BuildRequires: (php-composer(symfony/finder) >= 4.4 with php-composer(symfony/finder) < 6)
BuildRequires: (php-composer(symfony/serializer) >= 4.4 with php-composer(symfony/serializer) < 6)
BuildRequires: (php-composer(symfony/stopwatch) >= 4.4 with php-composer(symfony/stopwatch) < 6)
BuildRequires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2)
-# remirepo:13
+# remirepo:14
%else
BuildRequires: php-bartlett-PHP-Reflect >= 4.4
BuildRequires: php-bartlett-php-compatinfo-db >= 1.23
@@ -70,6 +71,7 @@ BuildRequires: php-symfony4-config >= 4.4
BuildRequires: php-symfony4-console >= 4.4
BuildRequires: php-symfony4-dependency-injection >= 4.4
BuildRequires: php-symfony4-event-dispatcher >= 4.4
+BuildRequires: php-symfony4-finder >= 4.4
BuildRequires: php-symfony4-serializer >= 4.4
BuildRequires: php-symfony4-stopwatch >= 4.4
BuildRequires: php-doctrine-collections >= 1.4
@@ -114,10 +116,11 @@ Requires: (php-composer(symfony/config) >= 4.4 with php-comp
Requires: (php-composer(symfony/console) >= 4.4 with php-composer(symfony/console) < 6)
Requires: (php-composer(symfony/dependency-injection) >= 4.4 with php-composer(symfony/dependency-injection) < 6)
Requires: (php-composer(symfony/event-dispatcher) >= 4.4 with php-composer(symfony/event-dispatcher) < 6)
+Requires: (php-composer(symfony/finder) >= 4.4 with php-composer(symfony/finder) < 6)
Requires: (php-composer(symfony/serializer) >= 4.4 with php-composer(symfony/serializer) < 6)
Requires: (php-composer(symfony/stopwatch) >= 4.4 with php-composer(symfony/stopwatch) < 6)
-Requires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2)
-# remirepo:10
+Requires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2)
+# remirepo:14
%else
Requires: php-bartlett-PHP-Reflect >= 4.4
Requires: php-bartlett-php-compatinfo-db >= 1.23
@@ -127,6 +130,7 @@ Requires: php-symfony4-config >= 4.4
Requires: php-symfony4-console >= 4.4
Requires: php-symfony4-dependency-injection >= 4.4
Requires: php-symfony4-event-dispatcher >= 4.4
+Requires: php-symfony4-finder >= 4.4
Requires: php-symfony4-serializer >= 4.4
Requires: php-symfony4-stopwatch >= 4.4
Requires: php-doctrine-collections >= 1.4
@@ -176,6 +180,9 @@ cat << 'EOF' | tee -a src/Bartlett/CompatInfo/autoload.php
'%{_datadir}/php/Symfony5/Component/EventDispatcher/autoload.php',
'%{_datadir}/php/Symfony4/Component/EventDispatcher/autoload.php',
], [
+ '%{_datadir}/php/Symfony5/Component/Finder/autoload.php',
+ '%{_datadir}/php/Symfony4/Component/Finder/autoload.php',
+ ], [
'%{_datadir}/php/Symfony5/Component/Serializer/autoload.php',
'%{_datadir}/php/Symfony4/Component/Serializer/autoload.php',
], [
@@ -263,7 +270,7 @@ fi
- switch to phpunit9
- add dependency on ramsey/uuid
- add dependency on symfony components: config, console, dependency-injection,
- event-dispatcher, serializer and stopwatch
+ event-dispatcher, finder, serializer and stopwatch
- add dependency on doctrine/collections
- drop dependency on doctrine/cache
- switch to classmap autoloader