summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--php-bartlett-php-compatinfo-db-1.19.0-rpm.patch2
-rw-r--r--php-bartlett-php-compatinfo-db.spec11
3 files changed, 9 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 529dd29..578013b 100644
--- a/composer.json
+++ b/composer.json
@@ -22,7 +22,7 @@
"ext-pdo_sqlite": "*"
},
"require-dev": {
- "symfony/console": "~2.5",
+ "symfony/console": "~2.5||^3.0",
"psr/log": "~1.0",
"monolog/monolog": "~1.10",
"bartlett/phpunit-loggertestlistener": "~1.5"
diff --git a/php-bartlett-php-compatinfo-db-1.19.0-rpm.patch b/php-bartlett-php-compatinfo-db-1.19.0-rpm.patch
index 4a256a8..4aca8b8 100644
--- a/php-bartlett-php-compatinfo-db-1.19.0-rpm.patch
+++ b/php-bartlett-php-compatinfo-db-1.19.0-rpm.patch
@@ -6,7 +6,7 @@ diff -up ./data/handleDB.php.rpm ./data/handleDB.php
*/
-require_once dirname(__DIR__) . '/vendor/autoload.php';
-+require_once '/usr/share/php/Symfony/Component/autoload.php';
++require_once '/usr/share/php/Symfony3/Component/autoload.php';
+require_once dirname(__DIR__) . '/src/Bartlett/CompatInfoDb/autoload.php';
require_once __DIR__ . '/ReferenceCollection.php';
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index b0c0eb0..d65e86c 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
# See https://github.com/llaville/php-compatinfo-db/releases
-%global gh_commit 4cadde24acf8af008ef5c8c44d2da957fb7bba3b
+%global gh_commit 8fc132bbf1acb0d49d09a0de0b99a49b643943ec
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20151031
%global gh_owner llaville
@@ -27,7 +27,7 @@
%endif
Name: php-%{c_vendor}-%{c_project}
-Version: 1.34.0
+Version: 1.35.0
%global specrel 1
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
@@ -64,12 +64,12 @@ BuildRequires: php-pdo_sqlite
# For our patch / autoloader
BuildRequires: php-composer(fedora/autoloader)
# From composer.json, "require-dev": {
-# "symfony/console": "~2.5",
+# "symfony/console": "~2.5||^3.0",
# "psr/log": "~1.0",
# "monolog/monolog": "~1.10",
# "bartlett/phpunit-loggertestlistener": "~1.5"
BuildRequires: php-cli
-BuildRequires: php-symfony-console
+BuildRequires: php-symfony3-console
%if %{with_tests}
BuildRequires: php-composer(phpunit/phpunit)
%endif
@@ -199,6 +199,9 @@ export BARTLETT_COMPATINFO_DB=%{buildroot}%{_datadir}/%{name}/compatinfo.sqlite
%changelog
+* Wed Aug 29 2018 Remi Collet <remi@remirepo.net> - 1.35.0-1
+- update to 1.35.0
+
* Mon Jul 23 2018 Remi Collet <remi@remirepo.net> - 1.34.0-1
- update to 1.34.0