diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-17 07:25:00 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-17 07:25:00 +0100 |
commit | 30935455acf468492dadd19b9584e581f365d728 (patch) | |
tree | 71e9c4fc12435a651475400bb93e40ae04f6ca94 | |
parent | 1e69e7bc68b26962298d568221de6fc9e819afaf (diff) |
fix fedora build
-rw-r--r-- | php-bartlett-php-compatinfo-db.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec index 6da56e4..0574765 100644 --- a/php-bartlett-php-compatinfo-db.spec +++ b/php-bartlett-php-compatinfo-db.spec @@ -63,7 +63,7 @@ BuildRequires: php-spl BuildRequires: (php-composer(composer/semver) >= 3.0 with php-composer(composer/semver) < 4) BuildRequires: (php-composer(doctrine/orm) >= 2.7 with php-composer(doctrine/orm) < 4) BuildRequires: (php-composer(symfony/requirements-checker) >= 2.0 with php-composer(symfony/requirements-checker) < 3) -# remirepo:8 +# remirepo:5 %else BuildRequires: php-composer-semver3 BuildRequires: php-doctrine-orm >= 2.7 @@ -112,7 +112,7 @@ Requires: php-spl Requires: (php-composer(composer/semver) >= 3.0 with php-composer(composer/semver) < 4) Requires: (php-composer(doctrine/orm) >= 2.7 with php-composer(doctrine/orm) < 4) Requires: (php-composer(symfony/requirements-checker) >= 2.0 with php-composer(symfony/requirements-checker) < 3) -# remirepo:8 +# remirepo:5 %else Requires: php-composer-semver3 >= 3.0 Requires: php-doctrine-orm >= 2.7 @@ -244,6 +244,8 @@ require_once '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/config/boot \Fedora\Autoloader\Autoload::addPsr4('Bartlett\\CompatInfoDb\\Tests\\', dirname(__DIR__) . '/tests'); EOF +# https://github.com/llaville/php-compatinfo-db/issues/70 +rm -rf tests/Reference/Extension/PhpBundle/Pcre ret=0 %{_bindir}/phpunit9 \ @@ -255,6 +257,7 @@ exit $ret %files +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json |