From 6bad4a41a6e8a9619c32924274cdb844572e1dda Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 28 Jan 2022 10:12:09 +0100 Subject: update to 6.1.2 --- composer.json | 2 +- makesrc.sh | 7 ++++--- php-bartlett-PHP-CompatInfo.spec | 12 +++++++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index de8d86f..7fe0421 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "ext-libxml": "*", "ext-pcre": "*", "ext-spl": "*", - "bartlett/php-compatinfo-db": "^3.17", + "bartlett/php-compatinfo-db": ">=3.17 <3.19", "bartlett/sarif-php-sdk": "^1.0", "composer-runtime-api": "^2.0", "doctrine/collections": "^1.4", diff --git a/makesrc.sh b/makesrc.sh index 7ea4b27..0d03210 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -14,16 +14,17 @@ git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT echo "Getting commit..." pushd $PROJECT-$COMMIT - rm -rf ${HOME}/.cache/bartlett git checkout $COMMIT || exit 1 cp composer.json ../ composer install --no-interaction --no-progress --no-dev --optimize-autoloader cp vendor/composer/installed.json ../ - bin/phpcompatinfo db:create + export DATABASE_URL=sqlite:///$PWD/data/compatinfo-db.sqlite mkdir data - mv ${HOME}/.cache/bartlett/compatinfo-db.sqlite data + bin/phpcompatinfo db:create + bin/phpcompatinfo diag + bin/phpcompatinfo db:list popd echo "Archiving..." diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 0a4fbfc..ee716bc 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,18 +11,18 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 553a953cf4e823700aff8660a4cf6d354fc4aafd +%global gh_commit df38ea655bde34affa35d10cbc176428b1812b35 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 6.1.1 +%global upstream_version 6.1.2 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 4%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -191,6 +191,12 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Fri Jan 28 2022 Remi Collet - 6.1.2-1 +- update to 6.1.2 + +* Thu Jan 27 2022 Remi Collet - 6.1.1-5 +- properly create the database + * Wed Jan 26 2022 Remi Collet - 6.1.1-4 - properly create the database -- cgit