summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-08-29 10:28:18 +0200
committerRemi Collet <remi@remirepo.net>2018-08-29 10:28:18 +0200
commitd4f2ce7ea17377fc2315074a2e7607b33d3b65fb (patch)
tree50774985addd968c8cb9349ee39ce418d2bd6040 /php-bartlett-php-compatinfo-db.spec
parent807cec49d7c1543228d2f895ed22bf5e8b6d3c0e (diff)
revert symfony 3
Diffstat (limited to 'php-bartlett-php-compatinfo-db.spec')
-rw-r--r--php-bartlett-php-compatinfo-db.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index d65e86c..a1127a8 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -28,7 +28,7 @@
Name: php-%{c_vendor}-%{c_project}
Version: 1.35.0
-%global specrel 1
+%global specrel 2
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Reference Database to be used with php-compatinfo library
@@ -69,7 +69,8 @@ BuildRequires: php-composer(fedora/autoloader)
# "monolog/monolog": "~1.10",
# "bartlett/phpunit-loggertestlistener": "~1.5"
BuildRequires: php-cli
-BuildRequires: php-symfony3-console
+# Keep symfony v2 because v3 pull some bad dependencies (php-symfony-polyfill)
+BuildRequires: php-symfony-console
%if %{with_tests}
BuildRequires: php-composer(phpunit/phpunit)
%endif
@@ -87,7 +88,7 @@ BuildRequires: php-composer(phpunit/phpunit)
# "ext-pdo_sqlite": "*"
Requires: php(language) >= 5.4.0
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(composer/semver) >= 1.0 with php-composer(composer/semver) < 2)
+Requires: (php-composer(composer/semver) >= 1.0 with php-composer(composer/semver) < 2)
%else
Requires: php-composer(composer/semver) < 2
Requires: php-composer(composer/semver) >= 1.0
@@ -199,7 +200,7 @@ export BARTLETT_COMPATINFO_DB=%{buildroot}%{_datadir}/%{name}/compatinfo.sqlite
%changelog
-* Wed Aug 29 2018 Remi Collet <remi@remirepo.net> - 1.35.0-1
+* Wed Aug 29 2018 Remi Collet <remi@remirepo.net> - 1.35.0-2
- update to 1.35.0
* Mon Jul 23 2018 Remi Collet <remi@remirepo.net> - 1.34.0-1