summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-bartlett-php-compatinfo-db.spec7
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