From fe4fe9aaf02f451bc9129bc4817b5ba45fbd9304 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 01:35:59 +0000 Subject: [PATCH 01/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 2a29053..3a09fe7 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -24,7 +24,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD @@ -228,6 +228,9 @@ fi %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 5.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Mon May 3 2021 Remi Collet - 5.5.3-1 - update to 5.5.3 From 177421242b037925bf7e7e863b815e769433fcd9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Dec 2021 09:31:25 +0100 Subject: [PATCH 02/46] update to 5.5.4 raise dependency on bartlett/php-compatinfo-db 3.6 --- .gitignore | 1 + ...hp-bartlett-PHP-CompatInfo-5.5.4-rpm.patch | 32 +++++++++---------- php-bartlett-PHP-CompatInfo.spec | 24 ++++++++------ sources | 2 +- 4 files changed, 32 insertions(+), 27 deletions(-) rename php-bartlett-PHP-CompatInfo-5.5.2-rpm.patch => php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch (75%) diff --git a/.gitignore b/.gitignore index 4d8593e..b0b1258 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ clog /php-bartlett-PHP-CompatInfo-5.5.1-3829490.tar.gz /php-bartlett-PHP-CompatInfo-5.5.2-547803e.tar.gz /php-bartlett-PHP-CompatInfo-5.5.3-7353738.tar.gz +/php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz diff --git a/php-bartlett-PHP-CompatInfo-5.5.2-rpm.patch b/php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch similarity index 75% rename from php-bartlett-PHP-CompatInfo-5.5.2-rpm.patch rename to php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch index 0ada6f5..80e3196 100644 --- a/php-bartlett-PHP-CompatInfo-5.5.2-rpm.patch +++ b/php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch @@ -1,6 +1,6 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2021-04-12 09:54:09.000000000 +0200 -+++ ./bin/phpcompatinfo 2021-04-13 10:41:27.780928446 +0200 +--- ./bin/phpcompatinfo.rpm 2021-12-10 15:36:22.000000000 +0100 ++++ ./bin/phpcompatinfo 2021-12-10 16:26:30.756115071 +0100 @@ -8,12 +8,12 @@ if (PHP_SAPI !== 'cli') { gc_disable(); // performance boost @@ -17,8 +17,8 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo $app = $container->get(ApplicationInterface::class); $app->setContainer($container); diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php ---- ./config/bootstrap.php.rpm 2021-04-12 09:54:09.000000000 +0200 -+++ ./config/bootstrap.php 2021-04-13 10:41:27.780928446 +0200 +--- ./config/bootstrap.php.rpm 2021-12-10 15:36:22.000000000 +0100 ++++ ./config/bootstrap.php 2021-12-10 16:26:30.757115067 +0100 @@ -6,6 +6,8 @@ if (\Phar::running()) { ]; } else { @@ -29,20 +29,20 @@ diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php __DIR__ . '/../vendor/autoload.php', // dependency diff -up ./config/set/default.php.rpm ./config/set/default.php ---- ./config/set/default.php.rpm 2021-04-12 09:54:09.000000000 +0200 -+++ ./config/set/default.php 2021-04-13 10:41:27.780928446 +0200 -@@ -33,7 +33,7 @@ use function Symfony\Component\Dependenc +--- ./config/set/default.php.rpm 2021-12-10 16:26:30.757115067 +0100 ++++ ./config/set/default.php 2021-12-10 16:28:22.196710654 +0100 +@@ -32,7 +32,7 @@ use function Symfony\Component\Dependenc + * @return void */ - return static function (ContainerConfigurator $containerConfigurator): void - { -- $containerConfigurator->import(dirname(__DIR__,2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'); + return static function (ContainerConfigurator $containerConfigurator): void { +- $containerConfigurator->import(dirname(__DIR__, 2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'); + $containerConfigurator->import('/usr/share/php/Bartlett/CompatInfoDb/config/set/default.php'); $containerConfigurator->import(__DIR__ . '/common.php'); $parameters = $containerConfigurator->parameters(); diff -up ./src/Bartlett/CompatInfo/Console/Application.php.rpm ./src/Bartlett/CompatInfo/Console/Application.php ---- ./src/Bartlett/CompatInfo/Console/Application.php.rpm 2021-04-12 09:54:09.000000000 +0200 -+++ ./src/Bartlett/CompatInfo/Console/Application.php 2021-04-13 10:41:27.780928446 +0200 +--- ./src/Bartlett/CompatInfo/Console/Application.php.rpm 2021-12-10 15:36:22.000000000 +0100 ++++ ./src/Bartlett/CompatInfo/Console/Application.php 2021-12-10 16:26:30.757115067 +0100 @@ -30,8 +30,6 @@ use Symfony\Component\DependencyInjectio use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventDispatcherInterface ; @@ -68,8 +68,8 @@ diff -up ./src/Bartlett/CompatInfo/Console/Application.php.rpm ./src/Bartlett/Co parent::__construct(self::NAME, $version); diff -up ./tests/Reference/ParameterTest.php.rpm ./tests/Reference/ParameterTest.php ---- ./tests/Reference/ParameterTest.php.rpm 2021-04-12 09:54:09.000000000 +0200 -+++ ./tests/Reference/ParameterTest.php 2021-04-13 10:41:27.780928446 +0200 +--- ./tests/Reference/ParameterTest.php.rpm 2021-12-10 15:36:22.000000000 +0100 ++++ ./tests/Reference/ParameterTest.php 2021-12-10 16:26:30.757115067 +0100 @@ -42,7 +42,7 @@ final class ParameterTest extends SniffT */ public function functionProvider() @@ -80,8 +80,8 @@ diff -up ./tests/Reference/ParameterTest.php.rpm ./tests/Reference/ParameterTest $functions = []; foreach ($repository->getAll() as $function) { diff -up ./tests/TestCase.php.rpm ./tests/TestCase.php ---- ./tests/TestCase.php.rpm 2021-04-13 10:41:27.780928446 +0200 -+++ ./tests/TestCase.php 2021-04-13 10:43:04.778512016 +0200 +--- ./tests/TestCase.php.rpm 2021-12-10 15:36:22.000000000 +0100 ++++ ./tests/TestCase.php 2021-12-10 16:26:30.757115067 +0100 @@ -46,7 +46,7 @@ abstract class TestCase extends \PHPUnit */ protected function executeAnalysis(string $dataSource): array diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 3a09fe7..1fde510 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,20 +11,20 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 7353738b51e38b0763e2bf154d05c55ad2fdc105 +%global gh_commit e3b01295c0c46c3b751ef4a01dc41ad696815bc6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville -%global gh_project php-compat-info +%global gh_project php-compatinfo #global prever RC2 %bcond_without tests -%global upstream_version 5.5.3 +%global upstream_version 5.5.4 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD @@ -36,7 +36,7 @@ Source1: fedora-review-check # Autoload and config path # avoid jean85/pretty-package-versions -Patch0: %{name}-5.5.2-rpm.patch +Patch0: %{name}-5.5.4-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 7.2 @@ -44,7 +44,7 @@ BuildRequires: php(language) >= 7.2 # to run test suite BuildRequires: php-pdo_sqlite BuildRequires: (php-composer(bartlett/php-reflect) >= 4.4 with php-composer(bartlett/php-reflect) < 5) -BuildRequires: (php-composer(bartlett/php-compatinfo-db) >= 3.4 with php-composer(bartlett/php-compatinfo-db) < 4) +BuildRequires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4) BuildRequires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) BuildRequires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5) BuildRequires: (php-composer(symfony/config) >= 4.4 with php-composer(symfony/config) < 6) @@ -70,7 +70,7 @@ BuildRequires: php-fedora-autoloader-devel # "ext-pdo": "*", # "ext-pdo_sqlite": "*", # "bartlett/php-reflect": "^4.4", -# "bartlett/php-compatinfo-db": "^3.4", +# "bartlett/php-compatinfo-db": "^3.6", # "doctrine/collections": "^1.4", # "composer/package-versions-deprecated": "^1.8", # "psr/log": "^1.0", @@ -91,7 +91,7 @@ Requires: php-pdo Requires: php-pdo_sqlite Requires: php-spl Requires: (php-composer(bartlett/php-reflect) >= 4.4 with php-composer(bartlett/php-reflect) < 5) -Requires: (php-composer(bartlett/php-compatinfo-db) >= 3.4 with php-composer(bartlett/php-compatinfo-db) < 4) +Requires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4) Requires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) Requires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5) Requires: (php-composer(symfony/config) >= 4.4 with php-composer(symfony/config) < 6) @@ -169,7 +169,7 @@ mv config src/Bartlett/CompatInfo/config # Check package version FILE=src/Bartlett/CompatInfo/Console/Application.php -sed -e 's/5.5.1/%{version}/' -i $FILE +#sed -e 's/5.5.1/#{version}/' -i $FILE grep " VERSION" $FILE grep %{version} $FILE @@ -201,7 +201,7 @@ sed -e 's:@BUILDPATH@:%{buildroot}%{_datadir}/php/Bartlett/CompatInfo:' \ -i tests/TestCase.php tests/Sniffs/SniffTestCase.php tests/Reference/ParameterTest.php ret=0 -for cmdarg in "php %{phpunit}" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1 @@ -228,6 +228,10 @@ fi %changelog +* Fri Dec 10 2021 Remi Collet - 5.5.4-1 +- update to 5.5.4 +- raise dependency on bartlett/php-compatinfo-db 3.6 + * Fri Jul 23 2021 Fedora Release Engineering - 5.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 054f865..9c4421a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-5.5.3-7353738.tar.gz) = ae0d12353505763a55594d98a9856a277f4badd5f654a031c156f3da45f81de7b05920d076f7d3ebcd396050514d57a8ed3655ebe79a54558af81e6c28a91973 +SHA512 (php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz) = 5f46a4b4444bae3a9804d022c37f9b664b03f38e54b9412746112a4bee85383673a1134cdc54b1dc8c02edd207697b1a006afee260743b58385adc9d78715412 From 48611e0b170ac78f4526c9fa3a16456fef3e1185 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Dec 2021 15:04:38 +0100 Subject: [PATCH 03/46] update to 6.0.1 raise dependency on PHP 7.4 drop dependency on bartlett/php-reflect add dependency on nikic/php-parser --- .gitignore | 1 + php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch | 93 --------------------- php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch | 86 +++++++++++++++++++ php-bartlett-PHP-CompatInfo.spec | 49 ++++++----- sources | 2 +- 5 files changed, 115 insertions(+), 116 deletions(-) delete mode 100644 php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch create mode 100644 php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch diff --git a/.gitignore b/.gitignore index b0b1258..b990b54 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ clog /php-bartlett-PHP-CompatInfo-5.5.2-547803e.tar.gz /php-bartlett-PHP-CompatInfo-5.5.3-7353738.tar.gz /php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz +/php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz diff --git a/php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch b/php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch deleted file mode 100644 index 80e3196..0000000 --- a/php-bartlett-PHP-CompatInfo-5.5.4-rpm.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2021-12-10 15:36:22.000000000 +0100 -+++ ./bin/phpcompatinfo 2021-12-10 16:26:30.756115071 +0100 -@@ -8,12 +8,12 @@ if (PHP_SAPI !== 'cli') { - - gc_disable(); // performance boost - --require_once dirname(__DIR__) . '/config/bootstrap.php'; -+require_once '/usr/share/php/Bartlett/CompatInfo/config/bootstrap.php'; - - use Bartlett\CompatInfo\Console\ApplicationInterface; - - /** @var \Symfony\Component\DependencyInjection\ContainerBuilder $container */ --$container = require dirname(__DIR__) . '/config/container.php'; -+$container = require '/usr/share/php/Bartlett/CompatInfo/config/container.php'; - - $app = $container->get(ApplicationInterface::class); - $app->setContainer($container); -diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php ---- ./config/bootstrap.php.rpm 2021-12-10 15:36:22.000000000 +0100 -+++ ./config/bootstrap.php 2021-12-10 16:26:30.757115067 +0100 -@@ -6,6 +6,8 @@ if (\Phar::running()) { - ]; - } else { - $possibleAutoloadPaths = [ -+ // RPM -+ __DIR__ . '/../autoload.php', - // local dev repository - __DIR__ . '/../vendor/autoload.php', - // dependency -diff -up ./config/set/default.php.rpm ./config/set/default.php ---- ./config/set/default.php.rpm 2021-12-10 16:26:30.757115067 +0100 -+++ ./config/set/default.php 2021-12-10 16:28:22.196710654 +0100 -@@ -32,7 +32,7 @@ use function Symfony\Component\Dependenc - * @return void - */ - return static function (ContainerConfigurator $containerConfigurator): void { -- $containerConfigurator->import(dirname(__DIR__, 2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'); -+ $containerConfigurator->import('/usr/share/php/Bartlett/CompatInfoDb/config/set/default.php'); - $containerConfigurator->import(__DIR__ . '/common.php'); - - $parameters = $containerConfigurator->parameters(); -diff -up ./src/Bartlett/CompatInfo/Console/Application.php.rpm ./src/Bartlett/CompatInfo/Console/Application.php ---- ./src/Bartlett/CompatInfo/Console/Application.php.rpm 2021-12-10 15:36:22.000000000 +0100 -+++ ./src/Bartlett/CompatInfo/Console/Application.php 2021-12-10 16:26:30.757115067 +0100 -@@ -30,8 +30,6 @@ use Symfony\Component\DependencyInjectio - use Symfony\Component\EventDispatcher\EventDispatcher; - use Symfony\Component\EventDispatcher\EventDispatcherInterface ; - --use PackageVersions\Versions; -- - use Phar; - use function substr_count; - -@@ -78,14 +76,6 @@ class Application extends BaseApplicatio - $version = self::VERSION; - } elseif (substr_count($version, '.') === 2) { - // release is in X.Y.Z format -- } else { -- // composer or git strategy -- $version = Versions::getVersion('bartlett/php-compatinfo'); -- list($ver, ) = explode('@', $version); -- -- if (strpos($ver, 'dev') === false) { -- $version = $ver; -- } - } - parent::__construct(self::NAME, $version); - -diff -up ./tests/Reference/ParameterTest.php.rpm ./tests/Reference/ParameterTest.php ---- ./tests/Reference/ParameterTest.php.rpm 2021-12-10 15:36:22.000000000 +0100 -+++ ./tests/Reference/ParameterTest.php 2021-12-10 16:26:30.757115067 +0100 -@@ -42,7 +42,7 @@ final class ParameterTest extends SniffT - */ - public function functionProvider() - { -- $container = require __DIR__ . '/../../config/container.php'; -+ $container = require '@BUILDPATH@/config/container.php'; - $repository = $container->get(FunctionRepository::class); - $functions = []; - foreach ($repository->getAll() as $function) { -diff -up ./tests/TestCase.php.rpm ./tests/TestCase.php ---- ./tests/TestCase.php.rpm 2021-12-10 15:36:22.000000000 +0100 -+++ ./tests/TestCase.php 2021-12-10 16:26:30.757115067 +0100 -@@ -46,7 +46,7 @@ abstract class TestCase extends \PHPUnit - */ - protected function executeAnalysis(string $dataSource): array - { -- $container = require __DIR__ . '/../config/container.php'; -+ $container = require '@BUILDPATH@/config/container.php'; - $references = $container->get(ReferenceCollectionInterface::class); - $sniffs = $container->get(SniffCollection::class); - diff --git a/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch new file mode 100644 index 0000000..e511f63 --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch @@ -0,0 +1,86 @@ +diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo +--- ./bin/phpcompatinfo.rpm 2021-12-13 14:10:12.445234956 +0100 ++++ ./bin/phpcompatinfo 2021-12-13 14:11:01.438091460 +0100 +@@ -8,7 +8,7 @@ if (PHP_SAPI !== 'cli') { + + gc_disable(); // performance boost + +-require_once dirname(__DIR__) . '/config/bootstrap.php'; ++require_once '/usr/share/php/Bartlett/CompatInfo/config/bootstrap.php'; + + use Bartlett\CompatInfo\Infrastructure\Framework\Symfony\DependencyInjection\ContainerFactory; + use Bartlett\CompatInfo\Presentation\Console\ApplicationInterface; +diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php +--- ./config/bootstrap.php.rpm 2021-12-13 13:15:10.000000000 +0100 ++++ ./config/bootstrap.php 2021-12-13 14:10:12.445234956 +0100 +@@ -6,6 +6,8 @@ if (\Phar::running()) { + ]; + } else { + $possibleAutoloadPaths = [ ++ // RPM ++ __DIR__ . '/../autoload.php', + // local dev repository + __DIR__ . '/../vendor/autoload.php', + // dependency +diff -up ./config/set/default.php.rpm ./config/set/default.php +--- ./config/set/default.php.rpm 2021-12-13 14:10:12.445234956 +0100 ++++ ./config/set/default.php 2021-12-13 14:14:41.830445824 +0100 +@@ -32,7 +32,7 @@ use function Symfony\Component\Dependenc + * @return void + */ + return static function (ContainerConfigurator $containerConfigurator): void { +- $containerConfigurator->import(dirname(__DIR__, 2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'); ++ $containerConfigurator->import('/usr/share/php/Bartlett/CompatInfoDb/config/set/default.php'); + $containerConfigurator->import(__DIR__ . '/common.php'); + $containerConfigurator->import(__DIR__ . '/../packages/messenger.php'); + +@@ -88,7 +88,9 @@ return static function (ContainerConfigu + ->tag('phpcompatinfo.sniff') + ; + +- $services->load('Bartlett\CompatInfo\\', __DIR__ . '/../../src'); ++ $services->load('Bartlett\CompatInfo\\Application\\', __DIR__ . '/../../Application'); ++ $services->load('Bartlett\CompatInfo\\Infrastructure\\', __DIR__ . '/../../Infrastructure'); ++ $services->load('Bartlett\CompatInfo\\Presentation\\', __DIR__ . '/../../Presentation'); + + // @link https://symfony.com/doc/current/service_container/tags.html#reference-tagged-services + $services->set(SniffCollectionInterface::class, SniffCollection::class) +diff -up ./src/Presentation/Console/Application.php.rpm ./src/Presentation/Console/Application.php +--- ./src/Presentation/Console/Application.php.rpm 2021-12-13 14:16:35.187113793 +0100 ++++ ./src/Presentation/Console/Application.php 2021-12-13 14:16:46.822079705 +0100 +@@ -13,8 +13,6 @@ + + namespace Bartlett\CompatInfo\Presentation\Console; + +-use PackageVersions\Versions; +- + use Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; + use Symfony\Component\Config\FileLocator; + use Symfony\Component\Console\Application as SymfonyApplication; +@@ -71,14 +69,6 @@ class Application extends SymfonyApplica + $version = self::VERSION; + } elseif (substr_count($version, '.') === 2) { + // release is in X.Y.Z format +- } else { +- // composer or git strategy +- $version = Versions::getVersion('bartlett/php-compatinfo'); +- list($ver, ) = explode('@', $version); +- +- if (strpos($ver, 'dev') === false) { +- $version = $ver; +- } + } + parent::__construct(self::NAME, $version); + } +diff -up ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php +--- ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm 2021-12-13 14:26:26.391380450 +0100 ++++ ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php 2021-12-13 14:26:32.148363508 +0100 +@@ -23,7 +23,7 @@ class ContainerFactory + $containerBuilder = new ContainerBuilder(); + $containerBuilder->addCompilerPass(new MessengerPass()); + +- $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 5) . '/config/set')); ++ $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 4) . '/config/set')); + $loader->load($set . '.php'); + $containerBuilder->compile(); // mandatory or the sniffCollection won't be populated + return $containerBuilder; diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 1fde510..6cfb832 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,7 +11,7 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit e3b01295c0c46c3b751ef4a01dc41ad696815bc6 +%global gh_commit 5978aea8eb937157c72b8217dcaac148e6f5ae7d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville @@ -19,7 +19,7 @@ #global prever RC2 %bcond_without tests -%global upstream_version 5.5.4 +%global upstream_version 6.0.1 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -36,14 +36,13 @@ Source1: fedora-review-check # Autoload and config path # avoid jean85/pretty-package-versions -Patch0: %{name}-5.5.4-rpm.patch +Patch0: %{name}-6.0.0-rpm.patch BuildArch: noarch -BuildRequires: php(language) >= 7.2 +BuildRequires: php(language) >= 7.4 %if %{with tests} # to run test suite BuildRequires: php-pdo_sqlite -BuildRequires: (php-composer(bartlett/php-reflect) >= 4.4 with php-composer(bartlett/php-reflect) < 5) BuildRequires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4) BuildRequires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) BuildRequires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5) @@ -55,6 +54,7 @@ BuildRequires: (php-composer(symfony/finder) >= 4.4 with php-comp BuildRequires: (php-composer(symfony/serializer) >= 4.4 with php-composer(symfony/serializer) < 6) BuildRequires: (php-composer(symfony/stopwatch) >= 4.4 with php-composer(symfony/stopwatch) < 6) BuildRequires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2) +BuildRequires: (php-composer(nikic/php-parser) >= 4.10 with php-composer(nikic/php-parser) < 5) %global phpunit %{_bindir}/phpunit9 BuildRequires: %{phpunit} # For our patch / autoloader @@ -62,16 +62,15 @@ BuildRequires: php-fedora-autoloader-devel %endif # From composer.json, "require" -# "php": "^7.2|^8.0", +# "php": "^7.4|^8.0", +# "ext-json": "*", # "ext-libxml": "*", # "ext-pcre": "*", # "ext-spl": "*", -# "ext-json": "*", -# "ext-pdo": "*", -# "ext-pdo_sqlite": "*", # "bartlett/php-reflect": "^4.4", # "bartlett/php-compatinfo-db": "^3.6", # "doctrine/collections": "^1.4", +# "nikic/php-parser": "^4.10", # "composer/package-versions-deprecated": "^1.8", # "psr/log": "^1.0", # "ramsey/uuid": "^3.9|^4.0", @@ -82,15 +81,13 @@ BuildRequires: php-fedora-autoloader-devel # "symfony/dependency-injection": "^4.4|^5.0", # "symfony/serializer": "^4.4|^5.0", # "symfony/stopwatch": "^4.4|^5.0" -Requires: php(language) >= 7.2 +Requires: php(language) >= 7.4 Requires: php-cli Requires: php-json Requires: php-libxml Requires: php-pcre -Requires: php-pdo Requires: php-pdo_sqlite Requires: php-spl -Requires: (php-composer(bartlett/php-reflect) >= 4.4 with php-composer(bartlett/php-reflect) < 5) Requires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4) Requires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) Requires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5) @@ -102,6 +99,7 @@ Requires: (php-composer(symfony/finder) >= 4.4 with php-comp Requires: (php-composer(symfony/serializer) >= 4.4 with php-composer(symfony/serializer) < 6) Requires: (php-composer(symfony/stopwatch) >= 4.4 with php-composer(symfony/stopwatch) < 6) Requires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2) +Requires: (php-composer(nikic/php-parser) >= 4.10 with php-composer(nikic/php-parser) < 5) # Required by autoloader Requires: php-composer(fedora/autoloader) @@ -125,12 +123,12 @@ Documentation: http://php5.laurent-laville.org/compatinfo/manual/current/en/ phpab \ --template fedora \ - --output src/Bartlett/CompatInfo/autoload.php \ - src/Bartlett/CompatInfo -cat << 'EOF' | tee -a src/Bartlett/CompatInfo/autoload.php + --output src/autoload.php \ + src +cat << 'EOF' | tee -a src/autoload.php \Fedora\Autoloader\Dependencies::required([ - '%{_datadir}/php/Bartlett/Reflect/autoload.php', + '%{_datadir}/php/PhpParser4/autoload.php', '%{_datadir}/php/Bartlett/CompatInfoDb/autoload.php', '%{_datadir}/php/Psr/Log/autoload.php', '%{_datadir}/php/Ramsey/Uuid/autoload.php', @@ -157,6 +155,7 @@ cat << 'EOF' | tee -a src/Bartlett/CompatInfo/autoload.php '%{_datadir}/php/Symfony4/Component/Stopwatch/autoload.php', ], '%{_datadir}/php/Doctrine/Common/Collections/autoload.php', + __DIR__ . '/Infrastructure/Framework/Symfony/Polyfill.php', ]); EOF @@ -164,11 +163,11 @@ EOF find src -name \*rpm -delete -print # fix path in configuration -sed -e 's:src/Bartlett/CompatInfo/::' -i config/set/*php -mv config src/Bartlett/CompatInfo/config +sed -e 's:/src::' -i config/set/*php +mv config src/config # Check package version -FILE=src/Bartlett/CompatInfo/Console/Application.php +FILE=src/Presentation/Console/ApplicationInterface.php #sed -e 's/5.5.1/#{version}/' -i $FILE grep " VERSION" $FILE grep %{version} $FILE @@ -179,8 +178,8 @@ grep %{version} $FILE %install -mkdir -p %{buildroot}%{_datadir}/php -cp -pr src/Bartlett %{buildroot}%{_datadir}/php/Bartlett +mkdir -p %{buildroot}%{_datadir}/php/Bartlett +cp -pr src %{buildroot}%{_datadir}/php/Bartlett/CompatInfo install -D -p -m 755 bin/phpcompatinfo %{buildroot}%{_bindir}/phpcompatinfo install -D -p -m 644 bin/phpcompatinfo.1 %{buildroot}%{_mandir}/man1/phpcompatinfo.1 @@ -194,7 +193,7 @@ mkdir config cat << 'EOF' | tee config/bootstrap.php - 6.0.1-1 +- update to 6.0.1 +- raise dependency on PHP 7.4 +- drop dependency on bartlett/php-reflect +- add dependency on nikic/php-parser + * Fri Dec 10 2021 Remi Collet - 5.5.4-1 - update to 5.5.4 - raise dependency on bartlett/php-compatinfo-db 3.6 diff --git a/sources b/sources index 9c4421a..4bd81eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz) = 5f46a4b4444bae3a9804d022c37f9b664b03f38e54b9412746112a4bee85383673a1134cdc54b1dc8c02edd207697b1a006afee260743b58385adc9d78715412 +SHA512 (php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz) = abc4a036ed0d3775980219343eb84bb6fd2e6761137fb37151ecab92ff9ab260d98c0406b32104ef3247d89a4bef62268d325d35a61d7bf41f7b2a088e9733b7 From c3435b8afbbf1b0a34856a44e499c54d547d7e3b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Jan 2022 12:41:36 +0100 Subject: [PATCH 04/46] update to 6.0.2 open https://github.com/llaville/php-compatinfo/issues/316 regression, compatibility with Symfony 4 --- .gitignore | 1 + ...hp-bartlett-PHP-CompatInfo-6.0.2-rpm.patch | 54 ++++++++++--------- php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch | 36 +++++++++++++ php-bartlett-PHP-CompatInfo.spec | 19 +++++-- sources | 2 +- 5 files changed, 81 insertions(+), 31 deletions(-) rename php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch => php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch (74%) create mode 100644 php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch diff --git a/.gitignore b/.gitignore index b990b54..7155f85 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ clog /php-bartlett-PHP-CompatInfo-5.5.3-7353738.tar.gz /php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz /php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz +/php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz diff --git a/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch similarity index 74% rename from php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch rename to php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch index e511f63..8ef71b1 100644 --- a/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch +++ b/php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch @@ -1,6 +1,6 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2021-12-13 14:10:12.445234956 +0100 -+++ ./bin/phpcompatinfo 2021-12-13 14:11:01.438091460 +0100 +--- ./bin/phpcompatinfo.rpm 2021-12-27 16:34:16.000000000 +0100 ++++ ./bin/phpcompatinfo 2022-01-03 07:54:38.530643005 +0100 @@ -8,7 +8,7 @@ if (PHP_SAPI !== 'cli') { gc_disable(); // performance boost @@ -11,8 +11,8 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo use Bartlett\CompatInfo\Infrastructure\Framework\Symfony\DependencyInjection\ContainerFactory; use Bartlett\CompatInfo\Presentation\Console\ApplicationInterface; diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php ---- ./config/bootstrap.php.rpm 2021-12-13 13:15:10.000000000 +0100 -+++ ./config/bootstrap.php 2021-12-13 14:10:12.445234956 +0100 +--- ./config/bootstrap.php.rpm 2021-12-27 16:34:16.000000000 +0100 ++++ ./config/bootstrap.php 2022-01-03 07:54:38.530643005 +0100 @@ -6,6 +6,8 @@ if (\Phar::running()) { ]; } else { @@ -23,18 +23,22 @@ diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php __DIR__ . '/../vendor/autoload.php', // dependency diff -up ./config/set/default.php.rpm ./config/set/default.php ---- ./config/set/default.php.rpm 2021-12-13 14:10:12.445234956 +0100 -+++ ./config/set/default.php 2021-12-13 14:14:41.830445824 +0100 -@@ -32,7 +32,7 @@ use function Symfony\Component\Dependenc +--- ./config/set/default.php.rpm 2021-12-27 16:34:16.000000000 +0100 ++++ ./config/set/default.php 2022-01-03 07:56:00.619428733 +0100 +@@ -32,11 +32,7 @@ use function Symfony\Component\Dependenc * @return void */ return static function (ContainerConfigurator $containerConfigurator): void { -- $containerConfigurator->import(dirname(__DIR__, 2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'); -+ $containerConfigurator->import('/usr/share/php/Bartlett/CompatInfoDb/config/set/default.php'); +- if (file_exists(dirname(__DIR__, 2) . '/vendor')) { +- $configSet = dirname(__DIR__, 2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'; +- } else { +- $configSet = dirname(__DIR__, 3) . '/php-compatinfo-db/config/set/default.php'; +- } ++ $configSet = '/usr/share/php/Bartlett/CompatInfoDb/config/set/default.php'; + $containerConfigurator->import($configSet); $containerConfigurator->import(__DIR__ . '/common.php'); $containerConfigurator->import(__DIR__ . '/../packages/messenger.php'); - -@@ -88,7 +88,9 @@ return static function (ContainerConfigu +@@ -93,7 +89,9 @@ return static function (ContainerConfigu ->tag('phpcompatinfo.sniff') ; @@ -45,9 +49,21 @@ diff -up ./config/set/default.php.rpm ./config/set/default.php // @link https://symfony.com/doc/current/service_container/tags.html#reference-tagged-services $services->set(SniffCollectionInterface::class, SniffCollection::class) +diff -up ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php +--- ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm 2021-12-27 16:34:16.000000000 +0100 ++++ ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php 2022-01-03 07:54:38.530643005 +0100 +@@ -23,7 +23,7 @@ class ContainerFactory + $containerBuilder = new ContainerBuilder(); + $containerBuilder->addCompilerPass(new MessengerPass()); + +- $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 5) . '/config/set')); ++ $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 4) . '/config/set')); + $loader->load($set . '.php'); + $containerBuilder->compile(); // mandatory or the sniffCollection won't be populated + return $containerBuilder; diff -up ./src/Presentation/Console/Application.php.rpm ./src/Presentation/Console/Application.php ---- ./src/Presentation/Console/Application.php.rpm 2021-12-13 14:16:35.187113793 +0100 -+++ ./src/Presentation/Console/Application.php 2021-12-13 14:16:46.822079705 +0100 +--- ./src/Presentation/Console/Application.php.rpm 2021-12-27 16:34:16.000000000 +0100 ++++ ./src/Presentation/Console/Application.php 2022-01-03 07:54:38.530643005 +0100 @@ -13,8 +13,6 @@ namespace Bartlett\CompatInfo\Presentation\Console; @@ -72,15 +88,3 @@ diff -up ./src/Presentation/Console/Application.php.rpm ./src/Presentation/Conso } parent::__construct(self::NAME, $version); } -diff -up ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php ---- ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm 2021-12-13 14:26:26.391380450 +0100 -+++ ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php 2021-12-13 14:26:32.148363508 +0100 -@@ -23,7 +23,7 @@ class ContainerFactory - $containerBuilder = new ContainerBuilder(); - $containerBuilder->addCompilerPass(new MessengerPass()); - -- $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 5) . '/config/set')); -+ $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 4) . '/config/set')); - $loader->load($set . '.php'); - $containerBuilder->compile(); // mandatory or the sniffCollection won't be populated - return $containerBuilder; diff --git a/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch b/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch new file mode 100644 index 0000000..298dc70 --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch @@ -0,0 +1,36 @@ +From b110f1e6cebf3e9e0a946ecb64ba2eebb085589f Mon Sep 17 00:00:00 2001 +From: Laurent Laville +Date: Mon, 13 Dec 2021 12:25:26 +0100 +Subject: [PATCH] fix Symfony 4 compatibility (see issue #310) (#311) + +--- + src/Application/Event/Dispatcher/EventDispatcher.php | 2 +- + src/Presentation/Console/Style.php | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Application/Event/Dispatcher/EventDispatcher.php b/src/Application/Event/Dispatcher/EventDispatcher.php +index 2353e2b8..e6558d03 100644 +--- a/src/Application/Event/Dispatcher/EventDispatcher.php ++++ b/src/Application/Event/Dispatcher/EventDispatcher.php +@@ -75,7 +75,7 @@ public function __construct( + /** + * {@inheritDoc} + */ +- public function dispatch(object $event, string $eventName = null): object ++ public function dispatch($event, string $eventName = null): object + { + $triggered = false; + foreach ($this->extensionLoader->getNames() as $extensionName) { +diff --git a/src/Presentation/Console/Style.php b/src/Presentation/Console/Style.php +index 89bafcd2..14e6c427 100644 +--- a/src/Presentation/Console/Style.php ++++ b/src/Presentation/Console/Style.php +@@ -13,7 +13,7 @@ final class Style extends SymfonyStyle implements StyleInterface + /** + * {@inheritDoc} + */ +- public function createProgressBar(int $max = 0) ++ public function createProgressBar($max = 0) + { + $progressBar = parent::createProgressBar($max); + diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 6cfb832..8328892 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-bartlett-PHP-CompatInfo # -# Copyright (c) 2011-2021 Remi Collet +# Copyright (c) 2011-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -11,7 +11,7 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 5978aea8eb937157c72b8217dcaac148e6f5ae7d +%global gh_commit 4beab5e0a5c27fb81a3ba0b262b3ed85a19500be %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville @@ -19,7 +19,7 @@ #global prever RC2 %bcond_without tests -%global upstream_version 6.0.1 +%global upstream_version 6.0.2 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -36,7 +36,9 @@ Source1: fedora-review-check # Autoload and config path # avoid jean85/pretty-package-versions -Patch0: %{name}-6.0.0-rpm.patch +Patch0: %{name}-6.0.2-rpm.patch +# upstream patch for Symfony 4 +Patch1: %{name}-6.0.2-sf4.patch BuildArch: noarch BuildRequires: php(language) >= 7.4 @@ -120,6 +122,7 @@ Documentation: http://php5.laurent-laville.org/compatinfo/manual/current/en/ %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm +%patch1 -p1 -b .sf4 phpab \ --template fedora \ @@ -160,7 +163,8 @@ cat << 'EOF' | tee -a src/autoload.php EOF # Cleanup patched files -find src -name \*rpm -delete -print +find src -name \*.rpm -delete -print +find src -name \*.sf4 -delete -print # fix path in configuration sed -e 's:/src::' -i config/set/*php @@ -227,6 +231,11 @@ fi %changelog +* Mon Jan 3 2022 Remi Collet - 6.0.2-1 +- update to 6.0.2 +- open https://github.com/llaville/php-compatinfo/issues/316 + regression, compatibility with Symfony 4 + * Mon Dec 13 2021 Remi Collet - 6.0.1-1 - update to 6.0.1 - raise dependency on PHP 7.4 diff --git a/sources b/sources index 4bd81eb..ffdf529 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz) = abc4a036ed0d3775980219343eb84bb6fd2e6761137fb37151ecab92ff9ab260d98c0406b32104ef3247d89a4bef62268d325d35a61d7bf41f7b2a088e9733b7 +SHA512 (php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz) = 039ef2635cfc05f841b48c9479752ce586117cadfdd75686cdd513de447bf77b6e28ee7ca0d32e3f9d353d200b17f71bda863609bde585289c8648cb35090ed9 From 245fd80bc6dca911403647d1f33a0341d4231ae9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 5 Jan 2022 15:55:33 +0100 Subject: [PATCH 05/46] update to 6.0.3 use all PHP bundled libraries instead of system ones --- .gitignore | 1 + makesrc.sh | 50 ++++ php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch | 14 + php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch | 90 ------- php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch | 36 --- php-bartlett-PHP-CompatInfo.spec | 269 ++++++++------------ sources | 2 +- 7 files changed, 175 insertions(+), 287 deletions(-) create mode 100755 makesrc.sh create mode 100644 php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch delete mode 100644 php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch delete mode 100644 php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch diff --git a/.gitignore b/.gitignore index 7155f85..3a672bd 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ clog /php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz /php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz /php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz +/php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..c0e118c --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,50 @@ +#!/bin/bash + +NAME=$(basename $PWD) +OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) +PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) +COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) +SHORT=${COMMIT:0:7} + +echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Commit=$COMMIT\n" + +echo "Cloning..." +git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + +echo "Getting commit..." + pushd $PROJECT-$COMMIT + git checkout $COMMIT || exit 1 + + cp composer.json vendor/composer/installed.json ../ + sed -e 's/"config": {/"config": {"platform": {"php": "7.4.0"},/' -i composer.json + + composer install --no-dev --optimize-autoloader + + mkdir data + cp ${HOME}/.cache/bartlett/compatinfo-db.sqlite data + + php -r ' + $pkgs = file_get_contents("vendor/composer/installed.json"); + $pkgs = json_decode($pkgs, true); + if (!is_array($pkgs) || !isset($pkgs["packages"])) { + echo "cant decode json file\n"; + exit(3); + } + $lic = []; + foreach($pkgs["packages"] as $pkg) { + printf("Provides: bundled(php-%s) = %s\n", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); + $lic = array_merge($lic, $pkg["license"]); + } + sort($lic); + printf("\nLicense: %s\n", implode(" and ", array_unique($lic)));' + popd + +echo "Archiving..." +tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT + +echo "Done." + diff --git a/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch new file mode 100644 index 0000000..92cebab --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch @@ -0,0 +1,14 @@ +diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo +--- ./bin/phpcompatinfo.rpm 2021-12-13 12:09:12.000000000 +0100 ++++ ./bin/phpcompatinfo 2021-12-13 12:12:30.838533965 +0100 +@@ -6,6 +6,10 @@ if (PHP_SAPI !== 'cli') { + return; + } + ++if (!getenv("DATABASE_URL")) { ++ putenv("DATABASE_URL=sqlite:///" . dirname(__DIR__) . "/data/compatinfo-db.sqlite"); ++} ++ + gc_disable(); // performance boost + + require_once dirname(__DIR__) . '/config/bootstrap.php'; diff --git a/php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch b/php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch deleted file mode 100644 index 8ef71b1..0000000 --- a/php-bartlett-PHP-CompatInfo-6.0.2-rpm.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2021-12-27 16:34:16.000000000 +0100 -+++ ./bin/phpcompatinfo 2022-01-03 07:54:38.530643005 +0100 -@@ -8,7 +8,7 @@ if (PHP_SAPI !== 'cli') { - - gc_disable(); // performance boost - --require_once dirname(__DIR__) . '/config/bootstrap.php'; -+require_once '/usr/share/php/Bartlett/CompatInfo/config/bootstrap.php'; - - use Bartlett\CompatInfo\Infrastructure\Framework\Symfony\DependencyInjection\ContainerFactory; - use Bartlett\CompatInfo\Presentation\Console\ApplicationInterface; -diff -up ./config/bootstrap.php.rpm ./config/bootstrap.php ---- ./config/bootstrap.php.rpm 2021-12-27 16:34:16.000000000 +0100 -+++ ./config/bootstrap.php 2022-01-03 07:54:38.530643005 +0100 -@@ -6,6 +6,8 @@ if (\Phar::running()) { - ]; - } else { - $possibleAutoloadPaths = [ -+ // RPM -+ __DIR__ . '/../autoload.php', - // local dev repository - __DIR__ . '/../vendor/autoload.php', - // dependency -diff -up ./config/set/default.php.rpm ./config/set/default.php ---- ./config/set/default.php.rpm 2021-12-27 16:34:16.000000000 +0100 -+++ ./config/set/default.php 2022-01-03 07:56:00.619428733 +0100 -@@ -32,11 +32,7 @@ use function Symfony\Component\Dependenc - * @return void - */ - return static function (ContainerConfigurator $containerConfigurator): void { -- if (file_exists(dirname(__DIR__, 2) . '/vendor')) { -- $configSet = dirname(__DIR__, 2) . '/vendor/bartlett/php-compatinfo-db/config/set/default.php'; -- } else { -- $configSet = dirname(__DIR__, 3) . '/php-compatinfo-db/config/set/default.php'; -- } -+ $configSet = '/usr/share/php/Bartlett/CompatInfoDb/config/set/default.php'; - $containerConfigurator->import($configSet); - $containerConfigurator->import(__DIR__ . '/common.php'); - $containerConfigurator->import(__DIR__ . '/../packages/messenger.php'); -@@ -93,7 +89,9 @@ return static function (ContainerConfigu - ->tag('phpcompatinfo.sniff') - ; - -- $services->load('Bartlett\CompatInfo\\', __DIR__ . '/../../src'); -+ $services->load('Bartlett\CompatInfo\\Application\\', __DIR__ . '/../../Application'); -+ $services->load('Bartlett\CompatInfo\\Infrastructure\\', __DIR__ . '/../../Infrastructure'); -+ $services->load('Bartlett\CompatInfo\\Presentation\\', __DIR__ . '/../../Presentation'); - - // @link https://symfony.com/doc/current/service_container/tags.html#reference-tagged-services - $services->set(SniffCollectionInterface::class, SniffCollection::class) -diff -up ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php ---- ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php.rpm 2021-12-27 16:34:16.000000000 +0100 -+++ ./src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php 2022-01-03 07:54:38.530643005 +0100 -@@ -23,7 +23,7 @@ class ContainerFactory - $containerBuilder = new ContainerBuilder(); - $containerBuilder->addCompilerPass(new MessengerPass()); - -- $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 5) . '/config/set')); -+ $loader = new PhpFileLoader($containerBuilder, new FileLocator(dirname(__DIR__, 4) . '/config/set')); - $loader->load($set . '.php'); - $containerBuilder->compile(); // mandatory or the sniffCollection won't be populated - return $containerBuilder; -diff -up ./src/Presentation/Console/Application.php.rpm ./src/Presentation/Console/Application.php ---- ./src/Presentation/Console/Application.php.rpm 2021-12-27 16:34:16.000000000 +0100 -+++ ./src/Presentation/Console/Application.php 2022-01-03 07:54:38.530643005 +0100 -@@ -13,8 +13,6 @@ - - namespace Bartlett\CompatInfo\Presentation\Console; - --use PackageVersions\Versions; -- - use Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; - use Symfony\Component\Config\FileLocator; - use Symfony\Component\Console\Application as SymfonyApplication; -@@ -71,14 +69,6 @@ class Application extends SymfonyApplica - $version = self::VERSION; - } elseif (substr_count($version, '.') === 2) { - // release is in X.Y.Z format -- } else { -- // composer or git strategy -- $version = Versions::getVersion('bartlett/php-compatinfo'); -- list($ver, ) = explode('@', $version); -- -- if (strpos($ver, 'dev') === false) { -- $version = $ver; -- } - } - parent::__construct(self::NAME, $version); - } diff --git a/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch b/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch deleted file mode 100644 index 298dc70..0000000 --- a/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch +++ /dev/null @@ -1,36 +0,0 @@ -From b110f1e6cebf3e9e0a946ecb64ba2eebb085589f Mon Sep 17 00:00:00 2001 -From: Laurent Laville -Date: Mon, 13 Dec 2021 12:25:26 +0100 -Subject: [PATCH] fix Symfony 4 compatibility (see issue #310) (#311) - ---- - src/Application/Event/Dispatcher/EventDispatcher.php | 2 +- - src/Presentation/Console/Style.php | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/Application/Event/Dispatcher/EventDispatcher.php b/src/Application/Event/Dispatcher/EventDispatcher.php -index 2353e2b8..e6558d03 100644 ---- a/src/Application/Event/Dispatcher/EventDispatcher.php -+++ b/src/Application/Event/Dispatcher/EventDispatcher.php -@@ -75,7 +75,7 @@ public function __construct( - /** - * {@inheritDoc} - */ -- public function dispatch(object $event, string $eventName = null): object -+ public function dispatch($event, string $eventName = null): object - { - $triggered = false; - foreach ($this->extensionLoader->getNames() as $extensionName) { -diff --git a/src/Presentation/Console/Style.php b/src/Presentation/Console/Style.php -index 89bafcd2..14e6c427 100644 ---- a/src/Presentation/Console/Style.php -+++ b/src/Presentation/Console/Style.php -@@ -13,7 +13,7 @@ final class Style extends SymfonyStyle implements StyleInterface - /** - * {@inheritDoc} - */ -- public function createProgressBar(int $max = 0) -+ public function createProgressBar($max = 0) - { - $progressBar = parent::createProgressBar($max); - diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 8328892..7500ca9 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,15 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 4beab5e0a5c27fb81a3ba0b262b3ed85a19500be +%global gh_commit 7f878c7b534f3c4bb4d2200267678d53324b5d08 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville %global gh_project php-compatinfo -#global prever RC2 -%bcond_without tests -%global upstream_version 6.0.2 +%global upstream_version 6.0.3 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -27,86 +25,100 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run -License: BSD -URL: http://php5.laurent-laville.org/compatinfo/ -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}%{?prever}-%{gh_short}.tar.gz - +License: BSD and MIT +URL: https://github.com/llaville/php-compatinfo +Source0: %{name}-%{version}-%{gh_short}.tgz # Script for fedora-review Source1: fedora-review-check +# Generate the archive will all dependencies +Source9: makesrc.sh -# Autoload and config path -# avoid jean85/pretty-package-versions -Patch0: %{name}-6.0.2-rpm.patch -# upstream patch for Symfony 4 -Patch1: %{name}-6.0.2-sf4.patch +# Relocate the database +Patch0: %{name}-6.0.0-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 7.4 -%if %{with tests} -# to run test suite +BuildRequires: php-cli +BuildRequires: php-dom +BuildRequires: php-json +BuildRequires: php-libxml +BuildRequires: php-pcre +BuildRequires: php-phar +BuildRequires: php-pdo BuildRequires: php-pdo_sqlite -BuildRequires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4) -BuildRequires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) -BuildRequires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5) -BuildRequires: (php-composer(symfony/config) >= 4.4 with php-composer(symfony/config) < 6) -BuildRequires: (php-composer(symfony/console) >= 4.4 with php-composer(symfony/console) < 6) -BuildRequires: (php-composer(symfony/dependency-injection) >= 4.4 with php-composer(symfony/dependency-injection) < 6) -BuildRequires: (php-composer(symfony/event-dispatcher) >= 4.4 with php-composer(symfony/event-dispatcher) < 6) -BuildRequires: (php-composer(symfony/finder) >= 4.4 with php-composer(symfony/finder) < 6) -BuildRequires: (php-composer(symfony/serializer) >= 4.4 with php-composer(symfony/serializer) < 6) -BuildRequires: (php-composer(symfony/stopwatch) >= 4.4 with php-composer(symfony/stopwatch) < 6) -BuildRequires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2) -BuildRequires: (php-composer(nikic/php-parser) >= 4.10 with php-composer(nikic/php-parser) < 5) -%global phpunit %{_bindir}/phpunit9 -BuildRequires: %{phpunit} -# For our patch / autoloader -BuildRequires: php-fedora-autoloader-devel -%endif +BuildRequires: php-simplexml +BuildRequires: php-spl +BuildRequires: php-xmlreader -# From composer.json, "require" -# "php": "^7.4|^8.0", -# "ext-json": "*", -# "ext-libxml": "*", -# "ext-pcre": "*", -# "ext-spl": "*", -# "bartlett/php-reflect": "^4.4", -# "bartlett/php-compatinfo-db": "^3.6", -# "doctrine/collections": "^1.4", -# "nikic/php-parser": "^4.10", -# "composer/package-versions-deprecated": "^1.8", -# "psr/log": "^1.0", -# "ramsey/uuid": "^3.9|^4.0", -# "symfony/config": "^4.4|^5.0", -# "symfony/console": "^4.4|^5.0", -# "symfony/event-dispatcher": "^4.4|^5.0", -# "symfony/finder": "^4.4|^5.0", -# "symfony/dependency-injection": "^4.4|^5.0", -# "symfony/serializer": "^4.4|^5.0", -# "symfony/stopwatch": "^4.4|^5.0" Requires: php(language) >= 7.4 Requires: php-cli +Requires: php-dom Requires: php-json Requires: php-libxml Requires: php-pcre +Requires: php-phar +Requires: php-pdo Requires: php-pdo_sqlite +Requires: php-simplexml Requires: php-spl -Requires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4) -Requires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) -Requires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5) -Requires: (php-composer(symfony/config) >= 4.4 with php-composer(symfony/config) < 6) -Requires: (php-composer(symfony/console) >= 4.4 with php-composer(symfony/console) < 6) -Requires: (php-composer(symfony/dependency-injection) >= 4.4 with php-composer(symfony/dependency-injection) < 6) -Requires: (php-composer(symfony/event-dispatcher) >= 4.4 with php-composer(symfony/event-dispatcher) < 6) -Requires: (php-composer(symfony/finder) >= 4.4 with php-composer(symfony/finder) < 6) -Requires: (php-composer(symfony/serializer) >= 4.4 with php-composer(symfony/serializer) < 6) -Requires: (php-composer(symfony/stopwatch) >= 4.4 with php-composer(symfony/stopwatch) < 6) -Requires: (php-composer(doctrine/collections) >= 1.4 with php-composer(doctrine/collections) < 2) -Requires: (php-composer(nikic/php-parser) >= 4.10 with php-composer(nikic/php-parser) < 5) -# Required by autoloader -Requires: php-composer(fedora/autoloader) +Requires: php-xmlreader -Provides: phpcompatinfo = %{version} -Provides: php-composer(bartlett/php-compatinfo) = %{version} +# Bundled libraries +Provides: bundled(php-bartlett-php-compatinfo-db) = 3.16.1 +Provides: bundled(php-brick-math) = 0.9.3 +Provides: bundled(php-composer-package-versions-deprecated) = 1.11.99.4 +Provides: bundled(php-composer-semver) = 3.2.7 +Provides: bundled(php-doctrine-annotations) = 1.13.2 +Provides: bundled(php-doctrine-cache) = 2.1.1 +Provides: bundled(php-doctrine-collections) = 1.6.8 +Provides: bundled(php-doctrine-common) = 3.2.1 +Provides: bundled(php-doctrine-dbal) = 3.2.0 +Provides: bundled(php-doctrine-deprecations) = v0.5.3 +Provides: bundled(php-doctrine-event-manager) = 1.1.1 +Provides: bundled(php-doctrine-inflector) = 2.0.4 +Provides: bundled(php-doctrine-instantiator) = 1.4.0 +Provides: bundled(php-doctrine-lexer) = 1.2.1 +Provides: bundled(php-doctrine-orm) = 2.10.4 +Provides: bundled(php-doctrine-persistence) = 2.2.3 +Provides: bundled(php-nikic-php-parser) = v4.13.2 +Provides: bundled(php-psr-cache) = 2.0.0 +Provides: bundled(php-psr-container) = 1.1.2 +Provides: bundled(php-psr-event-dispatcher) = 1.0.0 +Provides: bundled(php-psr-log) = 1.1.4 +Provides: bundled(php-ramsey-collection) = 1.2.2 +Provides: bundled(php-ramsey-uuid) = 4.2.3 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.0 +Provides: bundled(php-symfony-cache) = v5.4.2 +Provides: bundled(php-symfony-cache-contracts) = v2.5.0 +Provides: bundled(php-symfony-config) = v5.4.2 +Provides: bundled(php-symfony-console) = v5.4.2 +Provides: bundled(php-symfony-dependency-injection) = v5.4.2 +Provides: bundled(php-symfony-deprecation-contracts) = v3.0.0 +Provides: bundled(php-symfony-doctrine-messenger) = v6.0.2 +Provides: bundled(php-symfony-event-dispatcher) = v5.4.0 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.0.0 +Provides: bundled(php-symfony-filesystem) = v6.0.0 +Provides: bundled(php-symfony-finder) = v5.4.2 +Provides: bundled(php-symfony-messenger) = v5.4.2 +Provides: bundled(php-symfony-polyfill-ctype) = v1.24.0 +Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.24.0 +Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.24.0 +Provides: bundled(php-symfony-polyfill-mbstring) = v1.24.0 +Provides: bundled(php-symfony-polyfill-php72) = v1.24.0 +Provides: bundled(php-symfony-polyfill-php73) = v1.24.0 +Provides: bundled(php-symfony-polyfill-php80) = v1.24.0 +Provides: bundled(php-symfony-polyfill-php81) = v1.24.0 +Provides: bundled(php-symfony-process) = v5.4.2 +Provides: bundled(php-symfony-redis-messenger) = v6.0.2 +Provides: bundled(php-symfony-requirements-checker) = v2.0.1 +Provides: bundled(php-symfony-serializer) = v5.4.2 +Provides: bundled(php-symfony-service-contracts) = v2.4.1 +Provides: bundled(php-symfony-stopwatch) = v5.4.0 +Provides: bundled(php-symfony-string) = v6.0.2 +Provides: bundled(php-symfony-var-exporter) = v6.0.0 + +Provides: phpcompatinfo = %{version} +Provides: php-composer(bartlett/php-compatinfo) = %{version} %description @@ -115,122 +127,59 @@ version and extensions required for it to run. CLI version has many reports (extension, interface, class, function, constant) to display and ability to show content of dictionary references. -Documentation: http://php5.laurent-laville.org/compatinfo/manual/current/en/ - %prep %setup -q -n %{gh_project}-%{gh_commit} - %patch0 -p1 -b .rpm -%patch1 -p1 -b .sf4 - -phpab \ - --template fedora \ - --output src/autoload.php \ - src -cat << 'EOF' | tee -a src/autoload.php - -\Fedora\Autoloader\Dependencies::required([ - '%{_datadir}/php/PhpParser4/autoload.php', - '%{_datadir}/php/Bartlett/CompatInfoDb/autoload.php', - '%{_datadir}/php/Psr/Log/autoload.php', - '%{_datadir}/php/Ramsey/Uuid/autoload.php', - [ - '%{_datadir}/php/Symfony5/Component/Config/autoload.php', - '%{_datadir}/php/Symfony4/Component/Config/autoload.php', - ], [ - '%{_datadir}/php/Symfony5/Component/Console/autoload.php', - '%{_datadir}/php/Symfony4/Component/Console/autoload.php', - ], [ - '%{_datadir}/php/Symfony5/Component/DependencyInjection/autoload.php', - '%{_datadir}/php/Symfony4/Component/DependencyInjection/autoload.php', - ], [ - '%{_datadir}/php/Symfony5/Component/EventDispatcher/autoload.php', - '%{_datadir}/php/Symfony4/Component/EventDispatcher/autoload.php', - ], [ - '%{_datadir}/php/Symfony5/Component/Finder/autoload.php', - '%{_datadir}/php/Symfony4/Component/Finder/autoload.php', - ], [ - '%{_datadir}/php/Symfony5/Component/Serializer/autoload.php', - '%{_datadir}/php/Symfony4/Component/Serializer/autoload.php', - ], [ - '%{_datadir}/php/Symfony5/Component/Stopwatch/autoload.php', - '%{_datadir}/php/Symfony4/Component/Stopwatch/autoload.php', - ], - '%{_datadir}/php/Doctrine/Common/Collections/autoload.php', - __DIR__ . '/Infrastructure/Framework/Symfony/Polyfill.php', -]); -EOF - -# Cleanup patched files -find src -name \*.rpm -delete -print -find src -name \*.sf4 -delete -print - -# fix path in configuration -sed -e 's:/src::' -i config/set/*php -mv config src/config - -# Check package version -FILE=src/Presentation/Console/ApplicationInterface.php -#sed -e 's/5.5.1/#{version}/' -i $FILE -grep " VERSION" $FILE -grep %{version} $FILE +# Gather all license files and cleanup tests +mv vendor/composer/LICENSE composer_LICENSE +for vendor in $(ls vendor) +do + for proj in $(ls vendor/$vendor) + do + [ -d vendor/$vendor/$proj/tests ] && rm -r vendor/$vendor/$proj/tests + [ -f vendor/$vendor/$proj/LICENSE ] && mv vendor/$vendor/$proj/LICENSE ${vendor}_${proj}_LICENSE + done +done +rm -r tests %build # Nothing %install -mkdir -p %{buildroot}%{_datadir}/php/Bartlett -cp -pr src %{buildroot}%{_datadir}/php/Bartlett/CompatInfo +mkdir -p %{buildroot}%{_datadir} +cp -pr . %{buildroot}%{_datadir}/%{name} +rm %{buildroot}%{_datadir}/%{name}/*LICENSE -install -D -p -m 755 bin/phpcompatinfo %{buildroot}%{_bindir}/phpcompatinfo -install -D -p -m 644 bin/phpcompatinfo.1 %{buildroot}%{_mandir}/man1/phpcompatinfo.1 +mkdir -p %{buildroot}%{_bindir} +ln -s ../share/%{name}/bin/phpcompatinfo %{buildroot}%{_bindir}/phpcompatinfo -install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora-review-check +mkdir -p %{buildroot}%{_mandir}/man1 +mv %{buildroot}%{_datadir}/%{name}/bin/phpcompatinfo.1 \ + %{buildroot}%{_mandir}/man1/phpcompatinfo.1 + +install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora-review-check -%if %{with tests} %check -mkdir config -cat << 'EOF' | tee config/bootstrap.php -/dev/null || : -fi +%{buildroot}%{_bindir}/phpcompatinfo --version || grep %{version} %files -%license LICENSE -%doc composer.json README.* +%license *LICENSE +%doc README.* %{_bindir}/phpcompatinfo -%{_datadir}/php/Bartlett/CompatInfo -%{_mandir}/man1/phpcompatinfo.1* %{_datadir}/%{name} +%{_mandir}/man1/phpcompatinfo.1* %changelog +* Wed Jan 5 2022 Remi Collet - 6.0.3-1 +- update to 6.0.3 +- use all PHP bundled libraries instead of system ones + * Mon Jan 3 2022 Remi Collet - 6.0.2-1 - update to 6.0.2 - open https://github.com/llaville/php-compatinfo/issues/316 diff --git a/sources b/sources index ffdf529..2b2503c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz) = 039ef2635cfc05f841b48c9479752ce586117cadfdd75686cdd513de447bf77b6e28ee7ca0d32e3f9d353d200b17f71bda863609bde585289c8648cb35090ed9 +SHA512 (php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz) = 025435331c9a804d477902e78aa1e36b4b7a76d273a5bf546dc12d5ce22fc6b9a9ef954e59bbad8bf6edc2d5a6df99e2cc032f4131cccc27fe9ee07c0600ed54 From 5591debf191249507b4b8e404a7d824617cc1ecc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Jan 2022 12:05:41 +0100 Subject: [PATCH 06/46] v6.1.0 --- .gitignore | 1 + makesrc.sh | 2 -- php-bartlett-PHP-CompatInfo.spec | 30 +++++++++++++++++------------- sources | 2 +- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 3a672bd..40c59b5 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ clog /php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz /php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz /php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz +/php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz diff --git a/makesrc.sh b/makesrc.sh index c0e118c..f912313 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -17,8 +17,6 @@ echo "Getting commit..." git checkout $COMMIT || exit 1 cp composer.json vendor/composer/installed.json ../ - sed -e 's/"config": {/"config": {"platform": {"php": "7.4.0"},/' -i composer.json - composer install --no-dev --optimize-autoloader mkdir data diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 7500ca9..8502ffa 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 7f878c7b534f3c4bb4d2200267678d53324b5d08 +%global gh_commit e40303a34d7657a92c82cc7cc61c50b5a1f095bd %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.0.3 +%global upstream_version 6.1.0 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -64,7 +64,8 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 3.16.1 +Provides: bundled(php-bartlett-php-compatinfo-db) = 3.17.0 +Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-package-versions-deprecated) = 1.11.99.4 Provides: bundled(php-composer-semver) = 3.2.7 @@ -72,7 +73,7 @@ Provides: bundled(php-doctrine-annotations) = 1.13.2 Provides: bundled(php-doctrine-cache) = 2.1.1 Provides: bundled(php-doctrine-collections) = 1.6.8 Provides: bundled(php-doctrine-common) = 3.2.1 -Provides: bundled(php-doctrine-dbal) = 3.2.0 +Provides: bundled(php-doctrine-dbal) = 3.2.1 Provides: bundled(php-doctrine-deprecations) = v0.5.3 Provides: bundled(php-doctrine-event-manager) = 1.1.1 Provides: bundled(php-doctrine-inflector) = 2.0.4 @@ -81,7 +82,7 @@ Provides: bundled(php-doctrine-lexer) = 1.2.1 Provides: bundled(php-doctrine-orm) = 2.10.4 Provides: bundled(php-doctrine-persistence) = 2.2.3 Provides: bundled(php-nikic-php-parser) = v4.13.2 -Provides: bundled(php-psr-cache) = 2.0.0 +Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 @@ -93,11 +94,11 @@ Provides: bundled(php-symfony-cache-contracts) = v2.5.0 Provides: bundled(php-symfony-config) = v5.4.2 Provides: bundled(php-symfony-console) = v5.4.2 Provides: bundled(php-symfony-dependency-injection) = v5.4.2 -Provides: bundled(php-symfony-deprecation-contracts) = v3.0.0 -Provides: bundled(php-symfony-doctrine-messenger) = v6.0.2 +Provides: bundled(php-symfony-deprecation-contracts) = v2.5.0 +Provides: bundled(php-symfony-doctrine-messenger) = v5.4.0 Provides: bundled(php-symfony-event-dispatcher) = v5.4.0 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.0.0 -Provides: bundled(php-symfony-filesystem) = v6.0.0 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.0 +Provides: bundled(php-symfony-filesystem) = v5.4.0 Provides: bundled(php-symfony-finder) = v5.4.2 Provides: bundled(php-symfony-messenger) = v5.4.2 Provides: bundled(php-symfony-polyfill-ctype) = v1.24.0 @@ -109,13 +110,13 @@ Provides: bundled(php-symfony-polyfill-php73) = v1.24.0 Provides: bundled(php-symfony-polyfill-php80) = v1.24.0 Provides: bundled(php-symfony-polyfill-php81) = v1.24.0 Provides: bundled(php-symfony-process) = v5.4.2 -Provides: bundled(php-symfony-redis-messenger) = v6.0.2 +Provides: bundled(php-symfony-redis-messenger) = v5.4.2 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 Provides: bundled(php-symfony-serializer) = v5.4.2 -Provides: bundled(php-symfony-service-contracts) = v2.4.1 +Provides: bundled(php-symfony-service-contracts) = v2.5.0 Provides: bundled(php-symfony-stopwatch) = v5.4.0 -Provides: bundled(php-symfony-string) = v6.0.2 -Provides: bundled(php-symfony-var-exporter) = v6.0.0 +Provides: bundled(php-symfony-string) = v5.4.2 +Provides: bundled(php-symfony-var-exporter) = v5.4.2 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -176,6 +177,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Thu Jan 6 2022 Remi Collet - 6.1.0-1 +- update to 6.1.0 + * Wed Jan 5 2022 Remi Collet - 6.0.3-1 - update to 6.0.3 - use all PHP bundled libraries instead of system ones diff --git a/sources b/sources index 2b2503c..1166c21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz) = 025435331c9a804d477902e78aa1e36b4b7a76d273a5bf546dc12d5ce22fc6b9a9ef954e59bbad8bf6edc2d5a6df99e2cc032f4131cccc27fe9ee07c0600ed54 +SHA512 (php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz) = 8b0f5c6277540d3b2d3babb2f5cca5fb876729b7cebc4674e1be56a35be0fd3e1d75d69aecc9dc7dab29d920c066d2d5bcdff5c5bccb46302f52d782ee3a8d65 From df1867d39476514bb8730c65952fc559d0e3104d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Jan 2022 11:44:53 +0100 Subject: [PATCH 07/46] update to 6.1.1 update bundled bartlett/php-compatinfo-db 3.17.1 --- .gitignore | 1 + makesrc.sh | 20 ++----------- php-bartlett-PHP-CompatInfo.spec | 49 ++++++++++++++++++++------------ sources | 2 +- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index 40c59b5..280ada2 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ clog /php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz /php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz /php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz +/php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz diff --git a/makesrc.sh b/makesrc.sh index f912313..048f267 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -16,26 +16,12 @@ echo "Getting commit..." pushd $PROJECT-$COMMIT git checkout $COMMIT || exit 1 - cp composer.json vendor/composer/installed.json ../ - composer install --no-dev --optimize-autoloader + cp composer.json ../ + composer install --no-interaction --no-progress --no-dev --optimize-autoloader + cp vendor/composer/installed.json ../ mkdir data cp ${HOME}/.cache/bartlett/compatinfo-db.sqlite data - - php -r ' - $pkgs = file_get_contents("vendor/composer/installed.json"); - $pkgs = json_decode($pkgs, true); - if (!is_array($pkgs) || !isset($pkgs["packages"])) { - echo "cant decode json file\n"; - exit(3); - } - $lic = []; - foreach($pkgs["packages"] as $pkg) { - printf("Provides: bundled(php-%s) = %s\n", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); - $lic = array_merge($lic, $pkg["license"]); - } - sort($lic); - printf("\nLicense: %s\n", implode(" and ", array_unique($lic)));' popd echo "Archiving..." diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 8502ffa..e3a2966 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit e40303a34d7657a92c82cc7cc61c50b5a1f095bd +%global gh_commit 553a953cf4e823700aff8660a4cf6d354fc4aafd %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.0 +%global upstream_version 6.1.1 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -39,16 +39,7 @@ Patch0: %{name}-6.0.0-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 7.4 BuildRequires: php-cli -BuildRequires: php-dom BuildRequires: php-json -BuildRequires: php-libxml -BuildRequires: php-pcre -BuildRequires: php-phar -BuildRequires: php-pdo -BuildRequires: php-pdo_sqlite -BuildRequires: php-simplexml -BuildRequires: php-spl -BuildRequires: php-xmlreader Requires: php(language) >= 7.4 Requires: php-cli @@ -64,23 +55,22 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 3.17.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 3.17.1 Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 -Provides: bundled(php-composer-package-versions-deprecated) = 1.11.99.4 Provides: bundled(php-composer-semver) = 3.2.7 Provides: bundled(php-doctrine-annotations) = 1.13.2 Provides: bundled(php-doctrine-cache) = 2.1.1 Provides: bundled(php-doctrine-collections) = 1.6.8 Provides: bundled(php-doctrine-common) = 3.2.1 -Provides: bundled(php-doctrine-dbal) = 3.2.1 +Provides: bundled(php-doctrine-dbal) = 3.3.0 Provides: bundled(php-doctrine-deprecations) = v0.5.3 Provides: bundled(php-doctrine-event-manager) = 1.1.1 Provides: bundled(php-doctrine-inflector) = 2.0.4 Provides: bundled(php-doctrine-instantiator) = 1.4.0 -Provides: bundled(php-doctrine-lexer) = 1.2.1 -Provides: bundled(php-doctrine-orm) = 2.10.4 -Provides: bundled(php-doctrine-persistence) = 2.2.3 +Provides: bundled(php-doctrine-lexer) = 1.2.2 +Provides: bundled(php-doctrine-orm) = 2.11.0 +Provides: bundled(php-doctrine-persistence) = 2.3.0 Provides: bundled(php-nikic-php-parser) = v4.13.2 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 @@ -133,7 +123,7 @@ show content of dictionary references. %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm -# Gather all license files and cleanup tests +: Gather all license files and cleanup tests mv vendor/composer/LICENSE composer_LICENSE for vendor in $(ls vendor) do @@ -145,6 +135,23 @@ do done rm -r tests +: List bundled libraries and Licenses +php -r ' + $pkgs = file_get_contents("vendor/composer/installed.json"); + $pkgs = json_decode($pkgs, true); + if (!is_array($pkgs) || !isset($pkgs["packages"])) { + echo "cant decode json file\n"; + exit(3); + } + $lic = []; + foreach($pkgs["packages"] as $pkg) { + printf("Provides: bundled(php-%s) = %s\n", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); + $lic = array_merge($lic, $pkg["license"]); + } + sort($lic); + printf("\nLicense: %s\n", implode(" and ", array_unique($lic)));' + + %build # Nothing @@ -171,12 +178,18 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %files %license *LICENSE %doc README.* +%doc composer.json +%doc vendor/composer/installed.json %{_bindir}/phpcompatinfo %{_datadir}/%{name} %{_mandir}/man1/phpcompatinfo.1* %changelog +* Tue Jan 18 2022 Remi Collet - 6.1.1-1 +- update to 6.1.1 +- update bundled bartlett/php-compatinfo-db 3.17.1 + * Thu Jan 6 2022 Remi Collet - 6.1.0-1 - update to 6.1.0 diff --git a/sources b/sources index 1166c21..f67ee57 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz) = 8b0f5c6277540d3b2d3babb2f5cca5fb876729b7cebc4674e1be56a35be0fd3e1d75d69aecc9dc7dab29d920c066d2d5bcdff5c5bccb46302f52d782ee3a8d65 +SHA512 (php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz) = aea64d7008e75e586d0f2c19310fc24b44a4fe20101efe08834205ef891278d162fada342b4119f5d89d51de135b6c9473514c4171e5a0754a0d99e2d15f7e02 From 76fb3e2584360a458d6b9c12952ed5ec17cf5a80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 07:18:51 +0000 Subject: [PATCH 08/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index e3a2966..68f96e8 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -186,6 +186,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 6.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Jan 18 2022 Remi Collet - 6.1.1-1 - update to 6.1.1 - update bundled bartlett/php-compatinfo-db 3.17.1 From 8f8a46629c3377c7eaa0d817ea6596d8ee51ad80 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 27 Jan 2022 10:39:58 +0100 Subject: [PATCH 09/46] update bundled bartlett/php-compatinfo-db 3.18.0 use better process to create the database, as discussed on https://github.com/llaville/php-compatinfo-db/issues/113 silent touch on read only database, reported as https://github.com/llaville/php-compatinfo-db/issues/112 --- makesrc.sh | 7 +++++-- php-bartlett-PHP-CompatInfo.spec | 14 ++++++++++++-- sources | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/makesrc.sh b/makesrc.sh index 048f267..0d03210 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -20,8 +20,11 @@ echo "Getting commit..." composer install --no-interaction --no-progress --no-dev --optimize-autoloader cp vendor/composer/installed.json ../ - mkdir data - cp ${HOME}/.cache/bartlett/compatinfo-db.sqlite data + export DATABASE_URL=sqlite:///$PWD/data/compatinfo-db.sqlite + mkdir 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 68f96e8..e02cc77 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 5%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -55,7 +55,7 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 3.17.1 +Provides: bundled(php-bartlett-php-compatinfo-db) = 3.18.0 Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.2.7 @@ -123,6 +123,9 @@ show content of dictionary references. %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm +# https://github.com/llaville/php-compatinfo-db/issues/112 +sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php + : Gather all license files and cleanup tests mv vendor/composer/LICENSE composer_LICENSE for vendor in $(ls vendor) @@ -186,6 +189,13 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Thu Jan 27 2022 Remi Collet - 6.1.1-5 +- update bundled bartlett/php-compatinfo-db 3.18.0 +- use better process to create the database, as discussed on + https://github.com/llaville/php-compatinfo-db/issues/113 +- silent touch on read only database, reported as + https://github.com/llaville/php-compatinfo-db/issues/112 + * Fri Jan 21 2022 Fedora Release Engineering - 6.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index f67ee57..8680cc4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz) = aea64d7008e75e586d0f2c19310fc24b44a4fe20101efe08834205ef891278d162fada342b4119f5d89d51de135b6c9473514c4171e5a0754a0d99e2d15f7e02 +SHA512 (php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz) = e5a3f750382da6f0486bfa20e52ed4a86eee2c931e636bcf134ef9d70139edf612a635f962fbec25a91c003b5d8bf5323ded394cfc2f4a38d858609ee1e22262 From 2c685a276c4704e654929c4b2aa06186125481f3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 28 Jan 2022 10:13:25 +0100 Subject: [PATCH 10/46] v6.1.2 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 280ada2..76c8f53 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ clog /php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz /php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz /php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz +/php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index e02cc77..443e5e5 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: 5%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -189,6 +189,9 @@ 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 - update bundled bartlett/php-compatinfo-db 3.18.0 - use better process to create the database, as discussed on diff --git a/sources b/sources index 8680cc4..5b0212a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz) = e5a3f750382da6f0486bfa20e52ed4a86eee2c931e636bcf134ef9d70139edf612a635f962fbec25a91c003b5d8bf5323ded394cfc2f4a38d858609ee1e22262 +SHA512 (php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz) = dd1f9360e5a40efa5d9e4b98b450d686d4f57ad9373e4f984be1701b1b709c987824f777372e25a8af983fb19609f5b8532667ef908580253e24e5009422f359 From 13cb37357e15883bf67ed888ad8c1de9c6bd58e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Feb 2022 11:00:46 +0100 Subject: [PATCH 11/46] update to 6.2.0 update bundled bartlett/php-compatinfo-db to 4.0.0 --- .gitignore | 1 + makesrc.sh | 2 +- php-bartlett-PHP-CompatInfo.spec | 50 +++++++++++++++++--------------- sources | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 76c8f53..fbd6a66 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ clog /php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz /php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz /php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz +/php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz diff --git a/makesrc.sh b/makesrc.sh index 0d03210..cfb4a17 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -23,8 +23,8 @@ echo "Getting commit..." export DATABASE_URL=sqlite:///$PWD/data/compatinfo-db.sqlite mkdir data bin/phpcompatinfo db:create + bin/phpcompatinfo db:init 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 443e5e5..a610a1e 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit df38ea655bde34affa35d10cbc176428b1812b35 +%global gh_commit dcb0d522b1916933a5d5a00ca64dbb6d5ae34041 %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.2 +%global upstream_version 6.2.0 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -55,21 +55,21 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 3.18.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.0.0 Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 -Provides: bundled(php-composer-semver) = 3.2.7 +Provides: bundled(php-composer-semver) = 3.2.9 Provides: bundled(php-doctrine-annotations) = 1.13.2 Provides: bundled(php-doctrine-cache) = 2.1.1 Provides: bundled(php-doctrine-collections) = 1.6.8 -Provides: bundled(php-doctrine-common) = 3.2.1 -Provides: bundled(php-doctrine-dbal) = 3.3.0 +Provides: bundled(php-doctrine-common) = 3.2.2 +Provides: bundled(php-doctrine-dbal) = 3.3.2 Provides: bundled(php-doctrine-deprecations) = v0.5.3 Provides: bundled(php-doctrine-event-manager) = 1.1.1 Provides: bundled(php-doctrine-inflector) = 2.0.4 Provides: bundled(php-doctrine-instantiator) = 1.4.0 Provides: bundled(php-doctrine-lexer) = 1.2.2 -Provides: bundled(php-doctrine-orm) = 2.11.0 +Provides: bundled(php-doctrine-orm) = 2.11.1 Provides: bundled(php-doctrine-persistence) = 2.3.0 Provides: bundled(php-nikic-php-parser) = v4.13.2 Provides: bundled(php-psr-cache) = 1.0.1 @@ -78,19 +78,19 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-ramsey-collection) = 1.2.2 Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.0 -Provides: bundled(php-symfony-cache) = v5.4.2 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.3 +Provides: bundled(php-symfony-cache) = v5.4.3 Provides: bundled(php-symfony-cache-contracts) = v2.5.0 -Provides: bundled(php-symfony-config) = v5.4.2 -Provides: bundled(php-symfony-console) = v5.4.2 -Provides: bundled(php-symfony-dependency-injection) = v5.4.2 +Provides: bundled(php-symfony-config) = v5.4.3 +Provides: bundled(php-symfony-console) = v5.4.3 +Provides: bundled(php-symfony-dependency-injection) = v5.4.3 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.0 -Provides: bundled(php-symfony-doctrine-messenger) = v5.4.0 -Provides: bundled(php-symfony-event-dispatcher) = v5.4.0 +Provides: bundled(php-symfony-doctrine-messenger) = v5.4.3 +Provides: bundled(php-symfony-event-dispatcher) = v5.4.3 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.0 -Provides: bundled(php-symfony-filesystem) = v5.4.0 -Provides: bundled(php-symfony-finder) = v5.4.2 -Provides: bundled(php-symfony-messenger) = v5.4.2 +Provides: bundled(php-symfony-filesystem) = v5.4.3 +Provides: bundled(php-symfony-finder) = v5.4.3 +Provides: bundled(php-symfony-messenger) = v5.4.3 Provides: bundled(php-symfony-polyfill-ctype) = v1.24.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.24.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.24.0 @@ -99,14 +99,14 @@ Provides: bundled(php-symfony-polyfill-php72) = v1.24.0 Provides: bundled(php-symfony-polyfill-php73) = v1.24.0 Provides: bundled(php-symfony-polyfill-php80) = v1.24.0 Provides: bundled(php-symfony-polyfill-php81) = v1.24.0 -Provides: bundled(php-symfony-process) = v5.4.2 -Provides: bundled(php-symfony-redis-messenger) = v5.4.2 +Provides: bundled(php-symfony-process) = v5.4.3 +Provides: bundled(php-symfony-redis-messenger) = v5.4.3 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.2 +Provides: bundled(php-symfony-serializer) = v5.4.3 Provides: bundled(php-symfony-service-contracts) = v2.5.0 -Provides: bundled(php-symfony-stopwatch) = v5.4.0 -Provides: bundled(php-symfony-string) = v5.4.2 -Provides: bundled(php-symfony-var-exporter) = v5.4.2 +Provides: bundled(php-symfony-stopwatch) = v5.4.3 +Provides: bundled(php-symfony-string) = v5.4.3 +Provides: bundled(php-symfony-var-exporter) = v5.4.3 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -189,6 +189,10 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Mon Feb 7 2022 Remi Collet - 6.2.0-1 +- update to 6.2.0 +- update bundled bartlett/php-compatinfo-db to 4.0.0 + * Fri Jan 28 2022 Remi Collet - 6.1.2-1 - update to 6.1.2 diff --git a/sources b/sources index 5b0212a..a8c72b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz) = dd1f9360e5a40efa5d9e4b98b450d686d4f57ad9373e4f984be1701b1b709c987824f777372e25a8af983fb19609f5b8532667ef908580253e24e5009422f359 +SHA512 (php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz) = d2441a3bd51a5b062043d9e19c1d325f98528b7e5776815baedbf632598f1579f77cc03d3fce46b483eabf7f3341dd3fa10aedd741baf145790dcfafad85e196 From a9a219dc9e41c019b7927a96ab551dc327142f9b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Mar 2022 10:10:53 +0100 Subject: [PATCH 12/46] update to 6.3.0 update bundled bartlett/php-compatinfo-db to 4.1.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 50 +++++++++++++++++--------------- sources | 2 +- 3 files changed, 29 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index fbd6a66..76efb80 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ clog /php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz /php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz /php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz +/php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index a610a1e..2aae408 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit dcb0d522b1916933a5d5a00ca64dbb6d5ae34041 +%global gh_commit 2b7c3f9b9819f26882667c612d8882132381ca1e %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.2.0 +%global upstream_version 6.3.0 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -55,7 +55,7 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.0.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.1.0 Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.2.9 @@ -67,8 +67,8 @@ Provides: bundled(php-doctrine-dbal) = 3.3.2 Provides: bundled(php-doctrine-deprecations) = v0.5.3 Provides: bundled(php-doctrine-event-manager) = 1.1.1 Provides: bundled(php-doctrine-inflector) = 2.0.4 -Provides: bundled(php-doctrine-instantiator) = 1.4.0 -Provides: bundled(php-doctrine-lexer) = 1.2.2 +Provides: bundled(php-doctrine-instantiator) = 1.4.1 +Provides: bundled(php-doctrine-lexer) = 1.2.3 Provides: bundled(php-doctrine-orm) = 2.11.1 Provides: bundled(php-doctrine-persistence) = 2.3.0 Provides: bundled(php-nikic-php-parser) = v4.13.2 @@ -78,35 +78,35 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-ramsey-collection) = 1.2.2 Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.3 -Provides: bundled(php-symfony-cache) = v5.4.3 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.5 +Provides: bundled(php-symfony-cache) = v5.4.6 Provides: bundled(php-symfony-cache-contracts) = v2.5.0 Provides: bundled(php-symfony-config) = v5.4.3 -Provides: bundled(php-symfony-console) = v5.4.3 -Provides: bundled(php-symfony-dependency-injection) = v5.4.3 +Provides: bundled(php-symfony-console) = v5.4.5 +Provides: bundled(php-symfony-dependency-injection) = v5.4.6 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.0 Provides: bundled(php-symfony-doctrine-messenger) = v5.4.3 Provides: bundled(php-symfony-event-dispatcher) = v5.4.3 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.0 -Provides: bundled(php-symfony-filesystem) = v5.4.3 +Provides: bundled(php-symfony-filesystem) = v5.4.6 Provides: bundled(php-symfony-finder) = v5.4.3 Provides: bundled(php-symfony-messenger) = v5.4.3 -Provides: bundled(php-symfony-polyfill-ctype) = v1.24.0 -Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.24.0 -Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.24.0 -Provides: bundled(php-symfony-polyfill-mbstring) = v1.24.0 -Provides: bundled(php-symfony-polyfill-php72) = v1.24.0 -Provides: bundled(php-symfony-polyfill-php73) = v1.24.0 -Provides: bundled(php-symfony-polyfill-php80) = v1.24.0 -Provides: bundled(php-symfony-polyfill-php81) = v1.24.0 -Provides: bundled(php-symfony-process) = v5.4.3 -Provides: bundled(php-symfony-redis-messenger) = v5.4.3 +Provides: bundled(php-symfony-polyfill-ctype) = v1.25.0 +Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.25.0 +Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.25.0 +Provides: bundled(php-symfony-polyfill-mbstring) = v1.25.0 +Provides: bundled(php-symfony-polyfill-php72) = v1.25.0 +Provides: bundled(php-symfony-polyfill-php73) = v1.25.0 +Provides: bundled(php-symfony-polyfill-php80) = v1.25.0 +Provides: bundled(php-symfony-polyfill-php81) = v1.25.0 +Provides: bundled(php-symfony-process) = v5.4.5 +Provides: bundled(php-symfony-redis-messenger) = v5.4.6 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.3 +Provides: bundled(php-symfony-serializer) = v5.4.6 Provides: bundled(php-symfony-service-contracts) = v2.5.0 -Provides: bundled(php-symfony-stopwatch) = v5.4.3 +Provides: bundled(php-symfony-stopwatch) = v5.4.5 Provides: bundled(php-symfony-string) = v5.4.3 -Provides: bundled(php-symfony-var-exporter) = v5.4.3 +Provides: bundled(php-symfony-var-exporter) = v5.4.6 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -189,6 +189,10 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Mon Mar 7 2022 Remi Collet - 6.3.0-1 +- update to 6.3.0 +- update bundled bartlett/php-compatinfo-db to 4.1.0 + * Mon Feb 7 2022 Remi Collet - 6.2.0-1 - update to 6.2.0 - update bundled bartlett/php-compatinfo-db to 4.0.0 diff --git a/sources b/sources index a8c72b5..a3fecb2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz) = d2441a3bd51a5b062043d9e19c1d325f98528b7e5776815baedbf632598f1579f77cc03d3fce46b483eabf7f3341dd3fa10aedd741baf145790dcfafad85e196 +SHA512 (php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz) = 19df98da80753ef8e86f9838280afcbd4622ab5be1e94d0c1249b842558471cdcaee56404fe5c1e7ae3ab77a5bebc430999190a7db6fd7d9275a088adaf41dc6 From caa29e20e470d9e763e27f638436d6bcdd83d4ff Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 6 Apr 2022 14:07:33 +0200 Subject: [PATCH 13/46] update to 6.4.0 update bundled bartlett/php-compatinfo-db to 4.2.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 46 ++++++++++++++++++-------------- sources | 2 +- 3 files changed, 28 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 76efb80..f2b370d 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ clog /php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz /php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz /php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz +/php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 2aae408..bb5614e 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 2b7c3f9b9819f26882667c612d8882132381ca1e +%global gh_commit 3e23268c2c486c8ea1a6e63694c77ade7715c397 %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.3.0 +%global upstream_version 6.4.0 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -55,22 +55,22 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.1.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.2.0 Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 -Provides: bundled(php-composer-semver) = 3.2.9 +Provides: bundled(php-composer-semver) = 3.3.2 Provides: bundled(php-doctrine-annotations) = 1.13.2 Provides: bundled(php-doctrine-cache) = 2.1.1 Provides: bundled(php-doctrine-collections) = 1.6.8 Provides: bundled(php-doctrine-common) = 3.2.2 -Provides: bundled(php-doctrine-dbal) = 3.3.2 +Provides: bundled(php-doctrine-dbal) = 3.3.5 Provides: bundled(php-doctrine-deprecations) = v0.5.3 Provides: bundled(php-doctrine-event-manager) = 1.1.1 Provides: bundled(php-doctrine-inflector) = 2.0.4 Provides: bundled(php-doctrine-instantiator) = 1.4.1 Provides: bundled(php-doctrine-lexer) = 1.2.3 -Provides: bundled(php-doctrine-orm) = 2.11.1 -Provides: bundled(php-doctrine-persistence) = 2.3.0 +Provides: bundled(php-doctrine-orm) = 2.11.2 +Provides: bundled(php-doctrine-persistence) = 2.4.1 Provides: bundled(php-nikic-php-parser) = v4.13.2 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 @@ -79,17 +79,19 @@ Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-ramsey-collection) = 1.2.2 Provides: bundled(php-ramsey-uuid) = 4.2.3 Provides: bundled(php-symfony-amqp-messenger) = v5.4.5 -Provides: bundled(php-symfony-cache) = v5.4.6 -Provides: bundled(php-symfony-cache-contracts) = v2.5.0 -Provides: bundled(php-symfony-config) = v5.4.3 -Provides: bundled(php-symfony-console) = v5.4.5 -Provides: bundled(php-symfony-dependency-injection) = v5.4.6 -Provides: bundled(php-symfony-deprecation-contracts) = v2.5.0 -Provides: bundled(php-symfony-doctrine-messenger) = v5.4.3 +Provides: bundled(php-symfony-cache) = v5.4.7 +Provides: bundled(php-symfony-cache-contracts) = v2.5.1 +Provides: bundled(php-symfony-config) = v5.4.7 +Provides: bundled(php-symfony-console) = v5.4.7 +Provides: bundled(php-symfony-dependency-injection) = v5.4.7 +Provides: bundled(php-symfony-deprecation-contracts) = v2.5.1 +Provides: bundled(php-symfony-doctrine-messenger) = v5.4.7 Provides: bundled(php-symfony-event-dispatcher) = v5.4.3 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.0 -Provides: bundled(php-symfony-filesystem) = v5.4.6 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.1 +Provides: bundled(php-symfony-filesystem) = v5.4.7 Provides: bundled(php-symfony-finder) = v5.4.3 +Provides: bundled(php-symfony-http-client) = v5.4.7 +Provides: bundled(php-symfony-http-client-contracts) = v2.5.1 Provides: bundled(php-symfony-messenger) = v5.4.3 Provides: bundled(php-symfony-polyfill-ctype) = v1.25.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.25.0 @@ -99,14 +101,14 @@ Provides: bundled(php-symfony-polyfill-php72) = v1.25.0 Provides: bundled(php-symfony-polyfill-php73) = v1.25.0 Provides: bundled(php-symfony-polyfill-php80) = v1.25.0 Provides: bundled(php-symfony-polyfill-php81) = v1.25.0 -Provides: bundled(php-symfony-process) = v5.4.5 +Provides: bundled(php-symfony-process) = v5.4.7 Provides: bundled(php-symfony-redis-messenger) = v5.4.6 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.6 -Provides: bundled(php-symfony-service-contracts) = v2.5.0 +Provides: bundled(php-symfony-serializer) = v5.4.7 +Provides: bundled(php-symfony-service-contracts) = v2.5.1 Provides: bundled(php-symfony-stopwatch) = v5.4.5 Provides: bundled(php-symfony-string) = v5.4.3 -Provides: bundled(php-symfony-var-exporter) = v5.4.6 +Provides: bundled(php-symfony-var-exporter) = v5.4.7 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -189,6 +191,10 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Wed Apr 6 2022 Remi Collet - 6.4.0-1 +- update to 6.4.0 +- update bundled bartlett/php-compatinfo-db to 4.2.0 + * Mon Mar 7 2022 Remi Collet - 6.3.0-1 - update to 6.3.0 - update bundled bartlett/php-compatinfo-db to 4.1.0 diff --git a/sources b/sources index a3fecb2..1a20bd1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz) = 19df98da80753ef8e86f9838280afcbd4622ab5be1e94d0c1249b842558471cdcaee56404fe5c1e7ae3ab77a5bebc430999190a7db6fd7d9275a088adaf41dc6 +SHA512 (php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz) = f38e260ff844fc2cfa8faf59b16970b90c5c7bec5a0539b99486265ac402842e52533ae177c25f5256d889d61eb854941cb1126136667c3c57855364d56519d3 From 66422b4e3a690ac5faadb86fedfe00bf4645d365 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Apr 2022 13:57:27 +0200 Subject: [PATCH 14/46] v6.4.1 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f2b370d..d9be001 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ clog /php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz /php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz /php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz +/php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index bb5614e..77488e7 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 3e23268c2c486c8ea1a6e63694c77ade7715c397 +%global gh_commit 07bb648c3b0e853bac78e8e4b946a3aafa0271ac %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.4.0 +%global upstream_version 6.4.1 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -191,6 +191,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Thu Apr 7 2022 Remi Collet - 6.4.1-1 +- update to 6.4.1 + * Wed Apr 6 2022 Remi Collet - 6.4.0-1 - update to 6.4.0 - update bundled bartlett/php-compatinfo-db to 4.2.0 diff --git a/sources b/sources index 1a20bd1..9156559 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz) = f38e260ff844fc2cfa8faf59b16970b90c5c7bec5a0539b99486265ac402842e52533ae177c25f5256d889d61eb854941cb1126136667c3c57855364d56519d3 +SHA512 (php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz) = a607426fcd25494e41ded618917f9645b4054ba959505b48551c2d8d3bff5486c6ce6ce3670eef0874d6cdbafc39dbf410756bc6c3b4541da1ef3f8e99de7916 From e1e8d17107507e8797b216fa219a95b4ee876333 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Apr 2022 14:43:50 +0200 Subject: [PATCH 15/46] update bundled bartlett/php-compatinfo-db to 4.2.0 --- php-bartlett-PHP-CompatInfo.spec | 32 ++++++++++++++++++++------------ sources | 2 +- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 77488e7..7070813 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -55,23 +55,25 @@ Requires: php-spl Requires: php-xmlreader # Bundled libraries -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.2.0 +# License BSD-3-Clause +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.3.0 +Provides: bundled(php-nikic-php-parser) = v4.13.2 +# License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.3.2 Provides: bundled(php-doctrine-annotations) = 1.13.2 Provides: bundled(php-doctrine-cache) = 2.1.1 Provides: bundled(php-doctrine-collections) = 1.6.8 -Provides: bundled(php-doctrine-common) = 3.2.2 +Provides: bundled(php-doctrine-common) = 3.3.0 Provides: bundled(php-doctrine-dbal) = 3.3.5 Provides: bundled(php-doctrine-deprecations) = v0.5.3 Provides: bundled(php-doctrine-event-manager) = 1.1.1 Provides: bundled(php-doctrine-inflector) = 2.0.4 Provides: bundled(php-doctrine-instantiator) = 1.4.1 Provides: bundled(php-doctrine-lexer) = 1.2.3 -Provides: bundled(php-doctrine-orm) = 2.11.2 -Provides: bundled(php-doctrine-persistence) = 2.4.1 -Provides: bundled(php-nikic-php-parser) = v4.13.2 +Provides: bundled(php-doctrine-orm) = 2.12.0 +Provides: bundled(php-doctrine-persistence) = 3.0.0 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 @@ -148,14 +150,17 @@ php -r ' echo "cant decode json file\n"; exit(3); } - $lic = []; + $res = []; foreach($pkgs["packages"] as $pkg) { - printf("Provides: bundled(php-%s) = %s\n", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); - $lic = array_merge($lic, $pkg["license"]); + $lic = implode(" and ", $pkg["license"]); + if (!isset($res[$lic])) $res[$lic] = []; + $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); } - sort($lic); - printf("\nLicense: %s\n", implode(" and ", array_unique($lic)));' - + foreach($res as $lic => $lib) { + sort($lib); + printf("# License %s\n%s\n", $lic, implode("\n", $lib)); + } +' %build # Nothing @@ -191,6 +196,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Wed Apr 20 2022 Remi Collet - 6.4.1-2 +- update bundled bartlett/php-compatinfo-db to 4.2.0 + * Thu Apr 7 2022 Remi Collet - 6.4.1-1 - update to 6.4.1 diff --git a/sources b/sources index 9156559..f8ef389 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz) = a607426fcd25494e41ded618917f9645b4054ba959505b48551c2d8d3bff5486c6ce6ce3670eef0874d6cdbafc39dbf410756bc6c3b4541da1ef3f8e99de7916 +SHA512 (php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz) = ca1ba8be6c116418bbf1cbb97178877eb4fa62d260688ebab90e69f644d17a3958d2dce3b42984fdbf4014c81e2dfb8dfb568fc49d6e794da800af8cf20745dd From 074c086621bada50bee5c1fc8fef08fd0fe09934 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 13:12:31 +0000 Subject: [PATCH 16/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 7070813..360ca44 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -196,6 +196,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 6.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Apr 20 2022 Remi Collet - 6.4.1-2 - update bundled bartlett/php-compatinfo-db to 4.2.0 From ae4eb7b26503e79783a842d4720358c2960e7102 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Sep 2022 17:25:14 +0200 Subject: [PATCH 17/46] v6.4.2 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 87 +++++++++++++++++--------------- sources | 2 +- 3 files changed, 47 insertions(+), 43 deletions(-) diff --git a/.gitignore b/.gitignore index d9be001..75aa10d 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ clog /php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz /php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz /php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz +/php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 360ca44..d807baf 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 07bb648c3b0e853bac78e8e4b946a3aafa0271ac +%global gh_commit 041352673a390b3e0822fc4b0e295ac6267dffbf %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.4.1 +%global upstream_version 6.4.2 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run License: BSD and MIT @@ -57,60 +57,60 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause Provides: bundled(php-bartlett-php-compatinfo-db) = 4.3.0 -Provides: bundled(php-nikic-php-parser) = v4.13.2 +Provides: bundled(php-nikic-php-parser) = v4.15.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.3.2 -Provides: bundled(php-doctrine-annotations) = 1.13.2 -Provides: bundled(php-doctrine-cache) = 2.1.1 -Provides: bundled(php-doctrine-collections) = 1.6.8 -Provides: bundled(php-doctrine-common) = 3.3.0 -Provides: bundled(php-doctrine-dbal) = 3.3.5 -Provides: bundled(php-doctrine-deprecations) = v0.5.3 -Provides: bundled(php-doctrine-event-manager) = 1.1.1 -Provides: bundled(php-doctrine-inflector) = 2.0.4 +Provides: bundled(php-doctrine-annotations) = 1.13.3 +Provides: bundled(php-doctrine-cache) = 2.2.0 +Provides: bundled(php-doctrine-collections) = 1.7.3 +Provides: bundled(php-doctrine-common) = 3.4.1 +Provides: bundled(php-doctrine-dbal) = 3.4.5 +Provides: bundled(php-doctrine-deprecations) = v1.0.0 +Provides: bundled(php-doctrine-event-manager) = 1.1.2 +Provides: bundled(php-doctrine-inflector) = 2.0.5 Provides: bundled(php-doctrine-instantiator) = 1.4.1 Provides: bundled(php-doctrine-lexer) = 1.2.3 -Provides: bundled(php-doctrine-orm) = 2.12.0 -Provides: bundled(php-doctrine-persistence) = 3.0.0 +Provides: bundled(php-doctrine-orm) = 2.13.2 +Provides: bundled(php-doctrine-persistence) = 3.0.3 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-ramsey-collection) = 1.2.2 Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.5 -Provides: bundled(php-symfony-cache) = v5.4.7 -Provides: bundled(php-symfony-cache-contracts) = v2.5.1 -Provides: bundled(php-symfony-config) = v5.4.7 -Provides: bundled(php-symfony-console) = v5.4.7 -Provides: bundled(php-symfony-dependency-injection) = v5.4.7 -Provides: bundled(php-symfony-deprecation-contracts) = v2.5.1 -Provides: bundled(php-symfony-doctrine-messenger) = v5.4.7 -Provides: bundled(php-symfony-event-dispatcher) = v5.4.3 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.1 -Provides: bundled(php-symfony-filesystem) = v5.4.7 -Provides: bundled(php-symfony-finder) = v5.4.3 -Provides: bundled(php-symfony-http-client) = v5.4.7 -Provides: bundled(php-symfony-http-client-contracts) = v2.5.1 -Provides: bundled(php-symfony-messenger) = v5.4.3 -Provides: bundled(php-symfony-polyfill-ctype) = v1.25.0 -Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.25.0 -Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.25.0 -Provides: bundled(php-symfony-polyfill-mbstring) = v1.25.0 -Provides: bundled(php-symfony-polyfill-php72) = v1.25.0 -Provides: bundled(php-symfony-polyfill-php73) = v1.25.0 -Provides: bundled(php-symfony-polyfill-php80) = v1.25.0 -Provides: bundled(php-symfony-polyfill-php81) = v1.25.0 -Provides: bundled(php-symfony-process) = v5.4.7 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.11 +Provides: bundled(php-symfony-cache) = v5.4.11 +Provides: bundled(php-symfony-cache-contracts) = v2.5.2 +Provides: bundled(php-symfony-config) = v5.4.11 +Provides: bundled(php-symfony-console) = v5.4.12 +Provides: bundled(php-symfony-dependency-injection) = v5.4.11 +Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 +Provides: bundled(php-symfony-doctrine-messenger) = v5.4.12 +Provides: bundled(php-symfony-event-dispatcher) = v5.4.9 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 +Provides: bundled(php-symfony-filesystem) = v5.4.12 +Provides: bundled(php-symfony-finder) = v5.4.11 +Provides: bundled(php-symfony-http-client) = v5.4.12 +Provides: bundled(php-symfony-http-client-contracts) = v2.5.2 +Provides: bundled(php-symfony-messenger) = v5.4.11 +Provides: bundled(php-symfony-polyfill-ctype) = v1.26.0 +Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.26.0 +Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.26.0 +Provides: bundled(php-symfony-polyfill-mbstring) = v1.26.0 +Provides: bundled(php-symfony-polyfill-php72) = v1.26.0 +Provides: bundled(php-symfony-polyfill-php73) = v1.26.0 +Provides: bundled(php-symfony-polyfill-php80) = v1.26.0 +Provides: bundled(php-symfony-polyfill-php81) = v1.26.0 +Provides: bundled(php-symfony-process) = v5.4.11 Provides: bundled(php-symfony-redis-messenger) = v5.4.6 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.7 -Provides: bundled(php-symfony-service-contracts) = v2.5.1 +Provides: bundled(php-symfony-serializer) = v5.4.12 +Provides: bundled(php-symfony-service-contracts) = v2.5.2 Provides: bundled(php-symfony-stopwatch) = v5.4.5 -Provides: bundled(php-symfony-string) = v5.4.3 -Provides: bundled(php-symfony-var-exporter) = v5.4.7 +Provides: bundled(php-symfony-string) = v5.4.12 +Provides: bundled(php-symfony-var-exporter) = v5.4.10 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -196,6 +196,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue Sep 27 2022 Remi Collet - 6.4.2-1 +- update to 6.4.2 + * Fri Jul 22 2022 Fedora Release Engineering - 6.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index f8ef389..ca100e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz) = ca1ba8be6c116418bbf1cbb97178877eb4fa62d260688ebab90e69f644d17a3958d2dce3b42984fdbf4014c81e2dfb8dfb568fc49d6e794da800af8cf20745dd +SHA512 (php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz) = 411f65565bf02a6d298095265bb776b435e97058ec28fabaab9ee77a1cb82d2f64a7b55b668fa24c254bf168e6e34fd4260a35b2682fe6e9cdf0c623a699b72e From 43b731511703788fef75bbe3cd9f536011660c79 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 25 Oct 2022 14:59:30 +0200 Subject: [PATCH 18/46] v6.5.2 --- .gitignore | 1 + makesrc.sh | 2 + php-bartlett-PHP-CompatInfo.spec | 76 +++++++++++++++++--------------- sources | 2 +- 4 files changed, 44 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 75aa10d..64f9b29 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ clog /php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz /php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz /php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz +/php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz diff --git a/makesrc.sh b/makesrc.sh index cfb4a17..124d01a 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -10,6 +10,7 @@ SHORT=${COMMIT:0:7} echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Commit=$COMMIT\n" echo "Cloning..." +rm -rf $HOME/.cache/bartlett git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT echo "Getting commit..." @@ -32,6 +33,7 @@ tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT echo "Cleaning..." rm -rf $PROJECT-$COMMIT +rm -rf $HOME/.cache/bartlett echo "Done." diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index d807baf..6efeea8 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 041352673a390b3e0822fc4b0e295ac6267dffbf +%global gh_commit 832e40edc6e818f10f432803ddd9350b37f07d8f %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.4.2 +%global upstream_version 6.5.2 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -25,7 +25,8 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run -License: BSD and MIT +# see bundled libraries list below +License: BSD-3-Clause and MIT URL: https://github.com/llaville/php-compatinfo Source0: %{name}-%{version}-%{gh_short}.tgz # Script for fedora-review @@ -56,7 +57,7 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.3.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.6.1 Provides: bundled(php-nikic-php-parser) = v4.15.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 @@ -64,37 +65,37 @@ Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.3.2 Provides: bundled(php-doctrine-annotations) = 1.13.3 Provides: bundled(php-doctrine-cache) = 2.2.0 -Provides: bundled(php-doctrine-collections) = 1.7.3 -Provides: bundled(php-doctrine-common) = 3.4.1 -Provides: bundled(php-doctrine-dbal) = 3.4.5 +Provides: bundled(php-doctrine-collections) = 1.8.0 +Provides: bundled(php-doctrine-common) = 3.4.3 +Provides: bundled(php-doctrine-dbal) = 3.5.1 Provides: bundled(php-doctrine-deprecations) = v1.0.0 -Provides: bundled(php-doctrine-event-manager) = 1.1.2 -Provides: bundled(php-doctrine-inflector) = 2.0.5 +Provides: bundled(php-doctrine-event-manager) = 1.2.0 +Provides: bundled(php-doctrine-inflector) = 2.0.6 Provides: bundled(php-doctrine-instantiator) = 1.4.1 Provides: bundled(php-doctrine-lexer) = 1.2.3 -Provides: bundled(php-doctrine-orm) = 2.13.2 -Provides: bundled(php-doctrine-persistence) = 3.0.3 +Provides: bundled(php-doctrine-orm) = 2.13.3 +Provides: bundled(php-doctrine-persistence) = 3.0.4 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-ramsey-collection) = 1.2.2 Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.11 -Provides: bundled(php-symfony-cache) = v5.4.11 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.13 +Provides: bundled(php-symfony-cache) = v5.4.13 Provides: bundled(php-symfony-cache-contracts) = v2.5.2 Provides: bundled(php-symfony-config) = v5.4.11 -Provides: bundled(php-symfony-console) = v5.4.12 -Provides: bundled(php-symfony-dependency-injection) = v5.4.11 +Provides: bundled(php-symfony-console) = v5.4.14 +Provides: bundled(php-symfony-dependency-injection) = v5.4.13 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 Provides: bundled(php-symfony-doctrine-messenger) = v5.4.12 Provides: bundled(php-symfony-event-dispatcher) = v5.4.9 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 -Provides: bundled(php-symfony-filesystem) = v5.4.12 +Provides: bundled(php-symfony-filesystem) = v5.4.13 Provides: bundled(php-symfony-finder) = v5.4.11 -Provides: bundled(php-symfony-http-client) = v5.4.12 +Provides: bundled(php-symfony-http-client) = v5.4.14 Provides: bundled(php-symfony-http-client-contracts) = v2.5.2 -Provides: bundled(php-symfony-messenger) = v5.4.11 +Provides: bundled(php-symfony-messenger) = v5.4.14 Provides: bundled(php-symfony-polyfill-ctype) = v1.26.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.26.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.26.0 @@ -104,12 +105,12 @@ Provides: bundled(php-symfony-polyfill-php73) = v1.26.0 Provides: bundled(php-symfony-polyfill-php80) = v1.26.0 Provides: bundled(php-symfony-polyfill-php81) = v1.26.0 Provides: bundled(php-symfony-process) = v5.4.11 -Provides: bundled(php-symfony-redis-messenger) = v5.4.6 +Provides: bundled(php-symfony-redis-messenger) = v5.4.13 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.12 +Provides: bundled(php-symfony-serializer) = v5.4.14 Provides: bundled(php-symfony-service-contracts) = v2.5.2 -Provides: bundled(php-symfony-stopwatch) = v5.4.5 -Provides: bundled(php-symfony-string) = v5.4.12 +Provides: bundled(php-symfony-stopwatch) = v5.4.13 +Provides: bundled(php-symfony-string) = v5.4.14 Provides: bundled(php-symfony-var-exporter) = v5.4.10 Provides: phpcompatinfo = %{version} @@ -144,22 +145,22 @@ rm -r tests : List bundled libraries and Licenses php -r ' - $pkgs = file_get_contents("vendor/composer/installed.json"); - $pkgs = json_decode($pkgs, true); - if (!is_array($pkgs) || !isset($pkgs["packages"])) { + $pkgs = file_get_contents("vendor/composer/installed.json"); + $pkgs = json_decode($pkgs, true); + if (!is_array($pkgs) || !isset($pkgs["packages"])) { echo "cant decode json file\n"; - exit(3); - } - $res = []; + exit(3); + } + $res = []; foreach($pkgs["packages"] as $pkg) { - $lic = implode(" and ", $pkg["license"]); - if (!isset($res[$lic])) $res[$lic] = []; - $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); - } - foreach($res as $lic => $lib) { - sort($lib); - printf("# License %s\n%s\n", $lic, implode("\n", $lib)); - } + $lic = implode(" and ", $pkg["license"]); + if (!isset($res[$lic])) $res[$lic] = []; + $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); + } + foreach($res as $lic => $lib) { + sort($lib); + printf("# License %s\n%s\n", $lic, implode("\n", $lib)); + } ' %build @@ -196,6 +197,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue Oct 25 2022 Remi Collet - 6.5.2-1 +- update to 6.5.2 + * Tue Sep 27 2022 Remi Collet - 6.4.2-1 - update to 6.4.2 diff --git a/sources b/sources index ca100e1..e841691 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz) = 411f65565bf02a6d298095265bb776b435e97058ec28fabaab9ee77a1cb82d2f64a7b55b668fa24c254bf168e6e34fd4260a35b2682fe6e9cdf0c623a699b72e +SHA512 (php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz) = feb10b8e9b3f4c72ebb373e9316d7c3d0bd79ad1108e834ae74140907de1ed6e6d0fd1e27a9a03b4a9cc5ae0b66d5f36e8aa923c00ca8e47ef6dc0b567e718a7 From bc6ccaf7f637880a10d06cfe22ed04c7096cd662 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Nov 2022 12:16:50 +0100 Subject: [PATCH 19/46] update to 6.5.3 update bundled bartlett/php-compatinfo-db to 4.8.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 26 +++++++++++++++----------- sources | 2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 64f9b29..c01f64c 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ clog /php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz /php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz /php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz +/php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 6efeea8..dec4927 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 832e40edc6e818f10f432803ddd9350b37f07d8f +%global gh_commit e2bc72e017addab11d68e4733d84c77d3ff30b19 %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.5.2 +%global upstream_version 6.5.3 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -25,7 +25,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run -# see bundled libraries list below +# SPDX: see bundled libraries list below License: BSD-3-Clause and MIT URL: https://github.com/llaville/php-compatinfo Source0: %{name}-%{version}-%{gh_short}.tgz @@ -57,7 +57,7 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.6.1 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.8.0 Provides: bundled(php-nikic-php-parser) = v4.15.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 @@ -81,11 +81,11 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-ramsey-collection) = 1.2.2 Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.13 -Provides: bundled(php-symfony-cache) = v5.4.13 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.15 +Provides: bundled(php-symfony-cache) = v5.4.15 Provides: bundled(php-symfony-cache-contracts) = v2.5.2 Provides: bundled(php-symfony-config) = v5.4.11 -Provides: bundled(php-symfony-console) = v5.4.14 +Provides: bundled(php-symfony-console) = v5.4.15 Provides: bundled(php-symfony-dependency-injection) = v5.4.13 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 Provides: bundled(php-symfony-doctrine-messenger) = v5.4.12 @@ -93,7 +93,7 @@ Provides: bundled(php-symfony-event-dispatcher) = v5.4.9 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 Provides: bundled(php-symfony-filesystem) = v5.4.13 Provides: bundled(php-symfony-finder) = v5.4.11 -Provides: bundled(php-symfony-http-client) = v5.4.14 +Provides: bundled(php-symfony-http-client) = v5.4.15 Provides: bundled(php-symfony-http-client-contracts) = v2.5.2 Provides: bundled(php-symfony-messenger) = v5.4.14 Provides: bundled(php-symfony-polyfill-ctype) = v1.26.0 @@ -105,12 +105,12 @@ Provides: bundled(php-symfony-polyfill-php73) = v1.26.0 Provides: bundled(php-symfony-polyfill-php80) = v1.26.0 Provides: bundled(php-symfony-polyfill-php81) = v1.26.0 Provides: bundled(php-symfony-process) = v5.4.11 -Provides: bundled(php-symfony-redis-messenger) = v5.4.13 +Provides: bundled(php-symfony-redis-messenger) = v5.4.15 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.14 +Provides: bundled(php-symfony-serializer) = v5.4.15 Provides: bundled(php-symfony-service-contracts) = v2.5.2 Provides: bundled(php-symfony-stopwatch) = v5.4.13 -Provides: bundled(php-symfony-string) = v5.4.14 +Provides: bundled(php-symfony-string) = v5.4.15 Provides: bundled(php-symfony-var-exporter) = v5.4.10 Provides: phpcompatinfo = %{version} @@ -197,6 +197,10 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Mon Nov 7 2022 Remi Collet - 6.5.3-1 +- update to 6.5.3 +- update bundled bartlett/php-compatinfo-db to 4.8.0 + * Tue Oct 25 2022 Remi Collet - 6.5.2-1 - update to 6.5.2 diff --git a/sources b/sources index e841691..b6c064a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz) = feb10b8e9b3f4c72ebb373e9316d7c3d0bd79ad1108e834ae74140907de1ed6e6d0fd1e27a9a03b4a9cc5ae0b66d5f36e8aa923c00ca8e47ef6dc0b567e718a7 +SHA512 (php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz) = 1a611ceba7ff85e1d2d90617d112347db090e8b51c686087b6e8c56f2a7d76bf2d1c9ec8bf3bc189af07d31e62566d82b3fd9eb04a2d15390eb919966d9105d2 From 5075642278658949171963d603109e9d847c1e37 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 Dec 2022 11:17:38 +0100 Subject: [PATCH 20/46] update to 6.5.4 update bundled bartlett/php-compatinfo-db to 4.10.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 44 +++++++++++++++++--------------- sources | 2 +- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index c01f64c..6ed0492 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ clog /php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz /php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz /php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz +/php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index dec4927..7f0f98f 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit e2bc72e017addab11d68e4733d84c77d3ff30b19 +%global gh_commit d3e93196393b6efe6f359d128ed3638d40687574 %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.5.3 +%global upstream_version 6.5.4 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -57,13 +57,13 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.8.0 -Provides: bundled(php-nikic-php-parser) = v4.15.1 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.10.0 +Provides: bundled(php-nikic-php-parser) = v4.15.2 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.3.2 -Provides: bundled(php-doctrine-annotations) = 1.13.3 +Provides: bundled(php-doctrine-annotations) = 1.14.1 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 @@ -73,8 +73,8 @@ Provides: bundled(php-doctrine-event-manager) = 1.2.0 Provides: bundled(php-doctrine-inflector) = 2.0.6 Provides: bundled(php-doctrine-instantiator) = 1.4.1 Provides: bundled(php-doctrine-lexer) = 1.2.3 -Provides: bundled(php-doctrine-orm) = 2.13.3 -Provides: bundled(php-doctrine-persistence) = 3.0.4 +Provides: bundled(php-doctrine-orm) = 2.13.4 +Provides: bundled(php-doctrine-persistence) = 3.1.1 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 @@ -85,25 +85,25 @@ Provides: bundled(php-symfony-amqp-messenger) = v5.4.15 Provides: bundled(php-symfony-cache) = v5.4.15 Provides: bundled(php-symfony-cache-contracts) = v2.5.2 Provides: bundled(php-symfony-config) = v5.4.11 -Provides: bundled(php-symfony-console) = v5.4.15 -Provides: bundled(php-symfony-dependency-injection) = v5.4.13 +Provides: bundled(php-symfony-console) = v5.4.16 +Provides: bundled(php-symfony-dependency-injection) = v5.4.16 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 -Provides: bundled(php-symfony-doctrine-messenger) = v5.4.12 +Provides: bundled(php-symfony-doctrine-messenger) = v5.4.16 Provides: bundled(php-symfony-event-dispatcher) = v5.4.9 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 Provides: bundled(php-symfony-filesystem) = v5.4.13 Provides: bundled(php-symfony-finder) = v5.4.11 -Provides: bundled(php-symfony-http-client) = v5.4.15 +Provides: bundled(php-symfony-http-client) = v5.4.16 Provides: bundled(php-symfony-http-client-contracts) = v2.5.2 -Provides: bundled(php-symfony-messenger) = v5.4.14 -Provides: bundled(php-symfony-polyfill-ctype) = v1.26.0 -Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.26.0 -Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.26.0 -Provides: bundled(php-symfony-polyfill-mbstring) = v1.26.0 -Provides: bundled(php-symfony-polyfill-php72) = v1.26.0 -Provides: bundled(php-symfony-polyfill-php73) = v1.26.0 -Provides: bundled(php-symfony-polyfill-php80) = v1.26.0 -Provides: bundled(php-symfony-polyfill-php81) = v1.26.0 +Provides: bundled(php-symfony-messenger) = v5.4.16 +Provides: bundled(php-symfony-polyfill-ctype) = v1.27.0 +Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.27.0 +Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.27.0 +Provides: bundled(php-symfony-polyfill-mbstring) = v1.27.0 +Provides: bundled(php-symfony-polyfill-php72) = v1.27.0 +Provides: bundled(php-symfony-polyfill-php73) = v1.27.0 +Provides: bundled(php-symfony-polyfill-php80) = v1.27.0 +Provides: bundled(php-symfony-polyfill-php81) = v1.27.0 Provides: bundled(php-symfony-process) = v5.4.11 Provides: bundled(php-symfony-redis-messenger) = v5.4.15 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 @@ -197,6 +197,10 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Wed Dec 14 2022 Remi Collet - 6.5.4-1 +- update to 6.5.4 +- update bundled bartlett/php-compatinfo-db to 4.10.0 + * Mon Nov 7 2022 Remi Collet - 6.5.3-1 - update to 6.5.3 - update bundled bartlett/php-compatinfo-db to 4.8.0 diff --git a/sources b/sources index b6c064a..d767ddb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz) = 1a611ceba7ff85e1d2d90617d112347db090e8b51c686087b6e8c56f2a7d76bf2d1c9ec8bf3bc189af07d31e62566d82b3fd9eb04a2d15390eb919966d9105d2 +SHA512 (php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz) = 022f503021107acaca67d1f326ff69de0bf4797fc1a9da7bc786b49eceb1d6a5ecdfb069d77701c93e7c1ffa10baca25e9f6d714fad26547816d4cc115b79ec6 From 4da8eb61a8721661b4219521b317b4ae1680013c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 10 Jan 2023 15:14:40 +0100 Subject: [PATCH 21/46] update bundled bartlett/php-compatinfo-db to 4.11.0 --- php-bartlett-PHP-CompatInfo.spec | 45 +++++++++++++++++--------------- sources | 2 +- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 7f0f98f..f964042 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-bartlett-PHP-CompatInfo # -# Copyright (c) 2011-2022 Remi Collet +# Copyright (c) 2011-2023 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -57,45 +57,45 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.10.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 4.11.0 Provides: bundled(php-nikic-php-parser) = v4.15.2 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.9.3 Provides: bundled(php-composer-semver) = 3.3.2 -Provides: bundled(php-doctrine-annotations) = 1.14.1 +Provides: bundled(php-doctrine-annotations) = 1.14.2 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 -Provides: bundled(php-doctrine-dbal) = 3.5.1 +Provides: bundled(php-doctrine-dbal) = 3.5.2 Provides: bundled(php-doctrine-deprecations) = v1.0.0 Provides: bundled(php-doctrine-event-manager) = 1.2.0 Provides: bundled(php-doctrine-inflector) = 2.0.6 -Provides: bundled(php-doctrine-instantiator) = 1.4.1 -Provides: bundled(php-doctrine-lexer) = 1.2.3 -Provides: bundled(php-doctrine-orm) = 2.13.4 -Provides: bundled(php-doctrine-persistence) = 3.1.1 +Provides: bundled(php-doctrine-instantiator) = 1.5.0 +Provides: bundled(php-doctrine-lexer) = 2.1.0 +Provides: bundled(php-doctrine-orm) = 2.14.0 +Provides: bundled(php-doctrine-persistence) = 3.1.2 Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 -Provides: bundled(php-ramsey-collection) = 1.2.2 +Provides: bundled(php-ramsey-collection) = 1.3.0 Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.15 -Provides: bundled(php-symfony-cache) = v5.4.15 +Provides: bundled(php-symfony-amqp-messenger) = v5.4.17 +Provides: bundled(php-symfony-cache) = v5.4.18 Provides: bundled(php-symfony-cache-contracts) = v2.5.2 Provides: bundled(php-symfony-config) = v5.4.11 -Provides: bundled(php-symfony-console) = v5.4.16 -Provides: bundled(php-symfony-dependency-injection) = v5.4.16 +Provides: bundled(php-symfony-console) = v5.4.17 +Provides: bundled(php-symfony-dependency-injection) = v5.4.17 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 Provides: bundled(php-symfony-doctrine-messenger) = v5.4.16 -Provides: bundled(php-symfony-event-dispatcher) = v5.4.9 +Provides: bundled(php-symfony-event-dispatcher) = v5.4.17 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 Provides: bundled(php-symfony-filesystem) = v5.4.13 -Provides: bundled(php-symfony-finder) = v5.4.11 -Provides: bundled(php-symfony-http-client) = v5.4.16 +Provides: bundled(php-symfony-finder) = v5.4.17 +Provides: bundled(php-symfony-http-client) = v5.4.17 Provides: bundled(php-symfony-http-client-contracts) = v2.5.2 -Provides: bundled(php-symfony-messenger) = v5.4.16 +Provides: bundled(php-symfony-messenger) = v5.4.17 Provides: bundled(php-symfony-polyfill-ctype) = v1.27.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.27.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.27.0 @@ -107,11 +107,11 @@ Provides: bundled(php-symfony-polyfill-php81) = v1.27.0 Provides: bundled(php-symfony-process) = v5.4.11 Provides: bundled(php-symfony-redis-messenger) = v5.4.15 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.15 +Provides: bundled(php-symfony-serializer) = v5.4.17 Provides: bundled(php-symfony-service-contracts) = v2.5.2 Provides: bundled(php-symfony-stopwatch) = v5.4.13 -Provides: bundled(php-symfony-string) = v5.4.15 -Provides: bundled(php-symfony-var-exporter) = v5.4.10 +Provides: bundled(php-symfony-string) = v5.4.17 +Provides: bundled(php-symfony-var-exporter) = v5.4.17 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -197,6 +197,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue Jan 10 2023 Remi Collet - 6.5.4-2 +- update bundled bartlett/php-compatinfo-db to 4.11.0 + * Wed Dec 14 2022 Remi Collet - 6.5.4-1 - update to 6.5.4 - update bundled bartlett/php-compatinfo-db to 4.10.0 diff --git a/sources b/sources index d767ddb..a698cb1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz) = 022f503021107acaca67d1f326ff69de0bf4797fc1a9da7bc786b49eceb1d6a5ecdfb069d77701c93e7c1ffa10baca25e9f6d714fad26547816d4cc115b79ec6 +SHA512 (php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz) = d1a84f8ce0c5eaeb4b596e16b99e1f91554e0cf3dbe0df8950ec5db289d5a59e26b8a050f294c361701744e1a6472aec9c94662e462da3a6c667fc86b50e3bb4 From ed90792fc2507243a26ba2a5016f87a4bf7cc1fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 08:17:57 +0000 Subject: [PATCH 22/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index f964042..be5a595 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -197,6 +197,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 6.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 10 2023 Remi Collet - 6.5.4-2 - update bundled bartlett/php-compatinfo-db to 4.11.0 From 564879ef1f8dab95848b560f7cf23d690f996db8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 May 2023 11:51:38 +0200 Subject: [PATCH 23/46] update to 7.0.0 raise dependency on PHP 8.0 update bundled bartlett/php-compatinfo-db to 5.5.0 --- .gitignore | 1 + makesrc.sh | 1 + php-bartlett-PHP-CompatInfo.spec | 87 +++++++++++++++++--------------- sources | 2 +- 4 files changed, 49 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index 6ed0492..e38ab10 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,4 @@ clog /php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz /php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz /php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz +/php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz diff --git a/makesrc.sh b/makesrc.sh index 124d01a..381e35a 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -18,6 +18,7 @@ echo "Getting commit..." git checkout $COMMIT || exit 1 cp composer.json ../ + composer config platform.php 8.0.99 composer install --no-interaction --no-progress --no-dev --optimize-autoloader cp vendor/composer/installed.json ../ diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index be5a595..9a054d2 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-bartlett-PHP-CompatInfo # # Copyright (c) 2011-2023 Remi Collet -# License: CC-BY-SA +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -11,18 +11,18 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit d3e93196393b6efe6f359d128ed3638d40687574 +%global gh_commit 7b053000a684d1fa3840e0ab3c5833fecdf02dc3 %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.5.4 +%global upstream_version 7.0.0 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -38,11 +38,11 @@ Source9: makesrc.sh Patch0: %{name}-6.0.0-rpm.patch BuildArch: noarch -BuildRequires: php(language) >= 7.4 +BuildRequires: php(language) >= 8.0 BuildRequires: php-cli BuildRequires: php-json -Requires: php(language) >= 7.4 +Requires: php(language) >= 8.0 Requires: php-cli Requires: php-dom Requires: php-json @@ -57,61 +57,57 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 4.11.0 -Provides: bundled(php-nikic-php-parser) = v4.15.2 +Provides: bundled(php-bartlett-php-compatinfo-db) = 5.5.0 +Provides: bundled(php-nikic-php-parser) = v4.15.4 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 -Provides: bundled(php-brick-math) = 0.9.3 +Provides: bundled(php-brick-math) = 0.11.0 Provides: bundled(php-composer-semver) = 3.3.2 -Provides: bundled(php-doctrine-annotations) = 1.14.2 +Provides: bundled(php-doctrine-annotations) = 1.14.3 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 -Provides: bundled(php-doctrine-dbal) = 3.5.2 +Provides: bundled(php-doctrine-dbal) = 3.6.2 Provides: bundled(php-doctrine-deprecations) = v1.0.0 Provides: bundled(php-doctrine-event-manager) = 1.2.0 Provides: bundled(php-doctrine-inflector) = 2.0.6 Provides: bundled(php-doctrine-instantiator) = 1.5.0 Provides: bundled(php-doctrine-lexer) = 2.1.0 -Provides: bundled(php-doctrine-orm) = 2.14.0 -Provides: bundled(php-doctrine-persistence) = 3.1.2 -Provides: bundled(php-psr-cache) = 1.0.1 -Provides: bundled(php-psr-container) = 1.1.2 +Provides: bundled(php-doctrine-orm) = 2.15.1 +Provides: bundled(php-doctrine-persistence) = 3.1.4 +Provides: bundled(php-psr-cache) = 3.0.0 +Provides: bundled(php-psr-container) = 2.0.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 -Provides: bundled(php-psr-log) = 1.1.4 +Provides: bundled(php-psr-log) = 3.0.0 Provides: bundled(php-ramsey-collection) = 1.3.0 -Provides: bundled(php-ramsey-uuid) = 4.2.3 -Provides: bundled(php-symfony-amqp-messenger) = v5.4.17 -Provides: bundled(php-symfony-cache) = v5.4.18 -Provides: bundled(php-symfony-cache-contracts) = v2.5.2 -Provides: bundled(php-symfony-config) = v5.4.11 -Provides: bundled(php-symfony-console) = v5.4.17 -Provides: bundled(php-symfony-dependency-injection) = v5.4.17 -Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 -Provides: bundled(php-symfony-doctrine-messenger) = v5.4.16 -Provides: bundled(php-symfony-event-dispatcher) = v5.4.17 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 -Provides: bundled(php-symfony-filesystem) = v5.4.13 -Provides: bundled(php-symfony-finder) = v5.4.17 -Provides: bundled(php-symfony-http-client) = v5.4.17 -Provides: bundled(php-symfony-http-client-contracts) = v2.5.2 -Provides: bundled(php-symfony-messenger) = v5.4.17 +Provides: bundled(php-ramsey-uuid) = 4.7.4 +Provides: bundled(php-symfony-cache) = v6.0.19 +Provides: bundled(php-symfony-cache-contracts) = v3.0.2 +Provides: bundled(php-symfony-config) = v6.0.19 +Provides: bundled(php-symfony-console) = v6.0.19 +Provides: bundled(php-symfony-dependency-injection) = v6.0.20 +Provides: bundled(php-symfony-deprecation-contracts) = v3.0.2 +Provides: bundled(php-symfony-event-dispatcher) = v6.0.19 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.0.2 +Provides: bundled(php-symfony-filesystem) = v6.0.19 +Provides: bundled(php-symfony-finder) = v6.0.19 +Provides: bundled(php-symfony-http-client) = v6.0.20 +Provides: bundled(php-symfony-http-client-contracts) = v3.0.2 +Provides: bundled(php-symfony-messenger) = v6.0.19 Provides: bundled(php-symfony-polyfill-ctype) = v1.27.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.27.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.27.0 Provides: bundled(php-symfony-polyfill-mbstring) = v1.27.0 Provides: bundled(php-symfony-polyfill-php72) = v1.27.0 -Provides: bundled(php-symfony-polyfill-php73) = v1.27.0 Provides: bundled(php-symfony-polyfill-php80) = v1.27.0 Provides: bundled(php-symfony-polyfill-php81) = v1.27.0 -Provides: bundled(php-symfony-process) = v5.4.11 -Provides: bundled(php-symfony-redis-messenger) = v5.4.15 +Provides: bundled(php-symfony-process) = v6.0.19 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v5.4.17 -Provides: bundled(php-symfony-service-contracts) = v2.5.2 -Provides: bundled(php-symfony-stopwatch) = v5.4.13 -Provides: bundled(php-symfony-string) = v5.4.17 -Provides: bundled(php-symfony-var-exporter) = v5.4.17 +Provides: bundled(php-symfony-serializer) = v6.0.19 +Provides: bundled(php-symfony-service-contracts) = v3.0.2 +Provides: bundled(php-symfony-stopwatch) = v6.0.19 +Provides: bundled(php-symfony-string) = v6.0.19 +Provides: bundled(php-symfony-var-exporter) = v6.0.19 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -126,7 +122,7 @@ show content of dictionary references. %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p1 -b .rpm +%patch -P0 -p1 -b .rpm # https://github.com/llaville/php-compatinfo-db/issues/112 sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php @@ -142,6 +138,10 @@ do done done rm -r tests +rm -r .github +rm -r .changes +rm -r vendor/bartlett/*/.github +rm -r vendor/bartlett/*/.changes : List bundled libraries and Licenses php -r ' @@ -197,6 +197,11 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue May 16 2023 Remi Collet - 7.0.0-1 +- update to 7.0.0 +- raise dependency on PHP 8.0 +- update bundled bartlett/php-compatinfo-db to 5.5.0 + * Fri Jan 20 2023 Fedora Release Engineering - 6.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index a698cb1..bf22db2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz) = d1a84f8ce0c5eaeb4b596e16b99e1f91554e0cf3dbe0df8950ec5db289d5a59e26b8a050f294c361701744e1a6472aec9c94662e462da3a6c667fc86b50e3bb4 +SHA512 (php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz) = 9917308a1e972b846e0daa822656c03d0a3d4e5dffd2db16c2716e195fa07a3abb2bee434f5a6d5e9aa83272c5b99652eedb0a61468c29b87634f0bea369e67b From 1bc9d0e9a15d0c22b88f867c4a036df8ba4aaa8b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 04:05:17 +0000 Subject: [PATCH 24/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 9a054d2..89cda5f 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -197,6 +197,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 7.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue May 16 2023 Remi Collet - 7.0.0-1 - update to 7.0.0 - raise dependency on PHP 8.0 From e918577e9f6ea82ee1c636a639959ba449467d7c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Nov 2023 12:05:04 +0100 Subject: [PATCH 25/46] update bundled bartlett/php-compatinfo-db to 5.12.0 --- php-bartlett-PHP-CompatInfo.spec | 37 +++++++++++++++++--------------- sources | 2 +- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 89cda5f..67472ab 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -57,30 +57,30 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 5.5.0 -Provides: bundled(php-nikic-php-parser) = v4.15.4 +Provides: bundled(php-bartlett-php-compatinfo-db) = 5.12.0 +Provides: bundled(php-nikic-php-parser) = v4.17.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.11.0 -Provides: bundled(php-composer-semver) = 3.3.2 +Provides: bundled(php-composer-semver) = 3.4.0 Provides: bundled(php-doctrine-annotations) = 1.14.3 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 -Provides: bundled(php-doctrine-dbal) = 3.6.2 -Provides: bundled(php-doctrine-deprecations) = v1.0.0 +Provides: bundled(php-doctrine-dbal) = 3.7.1 +Provides: bundled(php-doctrine-deprecations) = 1.1.2 Provides: bundled(php-doctrine-event-manager) = 1.2.0 -Provides: bundled(php-doctrine-inflector) = 2.0.6 +Provides: bundled(php-doctrine-inflector) = 2.0.8 Provides: bundled(php-doctrine-instantiator) = 1.5.0 Provides: bundled(php-doctrine-lexer) = 2.1.0 -Provides: bundled(php-doctrine-orm) = 2.15.1 -Provides: bundled(php-doctrine-persistence) = 3.1.4 +Provides: bundled(php-doctrine-orm) = 2.16.2 +Provides: bundled(php-doctrine-persistence) = 3.2.0 Provides: bundled(php-psr-cache) = 3.0.0 Provides: bundled(php-psr-container) = 2.0.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 3.0.0 Provides: bundled(php-ramsey-collection) = 1.3.0 -Provides: bundled(php-ramsey-uuid) = 4.7.4 +Provides: bundled(php-ramsey-uuid) = 4.7.5 Provides: bundled(php-symfony-cache) = v6.0.19 Provides: bundled(php-symfony-cache-contracts) = v3.0.2 Provides: bundled(php-symfony-config) = v6.0.19 @@ -94,13 +94,13 @@ Provides: bundled(php-symfony-finder) = v6.0.19 Provides: bundled(php-symfony-http-client) = v6.0.20 Provides: bundled(php-symfony-http-client-contracts) = v3.0.2 Provides: bundled(php-symfony-messenger) = v6.0.19 -Provides: bundled(php-symfony-polyfill-ctype) = v1.27.0 -Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.27.0 -Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.27.0 -Provides: bundled(php-symfony-polyfill-mbstring) = v1.27.0 -Provides: bundled(php-symfony-polyfill-php72) = v1.27.0 -Provides: bundled(php-symfony-polyfill-php80) = v1.27.0 -Provides: bundled(php-symfony-polyfill-php81) = v1.27.0 +Provides: bundled(php-symfony-polyfill-ctype) = v1.28.0 +Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.28.0 +Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.28.0 +Provides: bundled(php-symfony-polyfill-mbstring) = v1.28.0 +Provides: bundled(php-symfony-polyfill-php72) = v1.28.0 +Provides: bundled(php-symfony-polyfill-php80) = v1.28.0 +Provides: bundled(php-symfony-polyfill-php81) = v1.28.0 Provides: bundled(php-symfony-process) = v6.0.19 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 Provides: bundled(php-symfony-serializer) = v6.0.19 @@ -197,6 +197,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Mon Nov 13 2023 Remi Collet - 7.0.0-3 +- update bundled bartlett/php-compatinfo-db to 5.12.0 + * Fri Jul 21 2023 Fedora Release Engineering - 7.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index bf22db2..2d0a544 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz) = 9917308a1e972b846e0daa822656c03d0a3d4e5dffd2db16c2716e195fa07a3abb2bee434f5a6d5e9aa83272c5b99652eedb0a61468c29b87634f0bea369e67b +SHA512 (php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz) = d7a67a7f6f9e7568eb079d04b96cdf29f8c53f7b13d76c3886c0f09c779538d4a1437e8b0ad8f1a6d7e59e8b0dab2c7bf853322ec86f6aadb848d72b4ba19e81 From 21c9aaaac548f70ee603484102523f58426d6fa1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Nov 2023 12:13:57 +0100 Subject: [PATCH 26/46] fix check --- php-bartlett-PHP-CompatInfo.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 67472ab..a3719e6 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -183,7 +183,7 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %check -%{buildroot}%{_bindir}/phpcompatinfo --version || grep %{version} +%{buildroot}%{_bindir}/phpcompatinfo --version | grep %{version} && exit 0 %files From 2419c59d4e701ba6f5e8f89806353257e2ea1f17 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Nov 2023 12:29:10 +0100 Subject: [PATCH 27/46] missing file --- php-bartlett-PHP-CompatInfo.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index a3719e6..192c4c7 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -127,6 +127,9 @@ show content of dictionary references. # https://github.com/llaville/php-compatinfo-db/issues/112 sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php +# https://github.com/llaville/php-compatinfo/issues/364 +[ -f config/set/up-to-php83.php ] || ln -s up-to-php82.php config/set/up-to-php83.php + : Gather all license files and cleanup tests mv vendor/composer/LICENSE composer_LICENSE for vendor in $(ls vendor) From 37b0b9b8b1b1417d7ab8a9fee06dbdcc23a4a02e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Nov 2023 15:46:39 +0100 Subject: [PATCH 28/46] update to 7.0.1 update bundled bartlett/php-compatinfo-db to 5.13.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 18 +++++++++++------- sources | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index e38ab10..588d93e 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ clog /php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz /php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz /php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz +/php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 192c4c7..bd7582e 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 7b053000a684d1fa3840e0ab3c5833fecdf02dc3 +%global gh_commit c94491403ade577b5a1d6f0a460339394e039f3c %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 7.0.0 +%global upstream_version 7.0.1 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -36,6 +36,8 @@ Source9: makesrc.sh # Relocate the database Patch0: %{name}-6.0.0-rpm.patch +# Allow PHP 8.3 +Patch1: %{name}-7.0.0-php83.patch BuildArch: noarch BuildRequires: php(language) >= 8.0 @@ -57,7 +59,7 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 5.12.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 5.13.0 Provides: bundled(php-nikic-php-parser) = v4.17.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 @@ -123,13 +125,11 @@ show content of dictionary references. %prep %setup -q -n %{gh_project}-%{gh_commit} %patch -P0 -p1 -b .rpm +%patch -P1 -p1 # https://github.com/llaville/php-compatinfo-db/issues/112 sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php -# https://github.com/llaville/php-compatinfo/issues/364 -[ -f config/set/up-to-php83.php ] || ln -s up-to-php82.php config/set/up-to-php83.php - : Gather all license files and cleanup tests mv vendor/composer/LICENSE composer_LICENSE for vendor in $(ls vendor) @@ -200,6 +200,10 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue Nov 14 2023 Remi Collet - 7.0.1-1 +- update to 7.0.1 +- update bundled bartlett/php-compatinfo-db to 5.13.0 + * Mon Nov 13 2023 Remi Collet - 7.0.0-3 - update bundled bartlett/php-compatinfo-db to 5.12.0 diff --git a/sources b/sources index 2d0a544..427f18f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz) = d7a67a7f6f9e7568eb079d04b96cdf29f8c53f7b13d76c3886c0f09c779538d4a1437e8b0ad8f1a6d7e59e8b0dab2c7bf853322ec86f6aadb848d72b4ba19e81 +SHA512 (php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz) = 1b95489c5fbbaeca81333d63784bddc6dc314515233fd5034752c83558348aeb5564e0aae6687694de4dd8fa17b9f91c951a3387d16cfda6a2684a69ca96f746 From d59205839e06e8c29ad3f5b96d5174136d0ed12b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Nov 2023 16:10:44 +0100 Subject: [PATCH 29/46] missing patch --- php-bartlett-PHP-CompatInfo-7.0.0-php83.patch | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 php-bartlett-PHP-CompatInfo-7.0.0-php83.patch diff --git a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch b/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch new file mode 100644 index 0000000..eeb3b98 --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch @@ -0,0 +1,70 @@ +From bc069b672d65748fdc257e23c667310946e7837e Mon Sep 17 00:00:00 2001 +From: Laurent Laville +Date: Thu, 2 Nov 2023 06:52:05 +0000 +Subject: [PATCH] initialize PHP 8.3 support + +--- + composer.json | 2 +- + config/set/php83.php | 18 ++++++++++++++++++ + config/set/up-to-php83.php | 14 ++++++++++++++ + 3 files changed, 33 insertions(+), 1 deletion(-) + create mode 100644 config/set/php83.php + create mode 100644 config/set/up-to-php83.php + +diff --git a/composer.json b/composer.json +index 34446906..9afc85cd 100644 +--- a/composer.json ++++ b/composer.json +@@ -70,7 +70,7 @@ + "extra": { + "enable-patching": true, + "branch-alias": { +- "dev-master": "7.0.x-dev" ++ "dev-master": "8.0.x-dev" + } + } + } +diff --git a/config/set/php83.php b/config/set/php83.php +new file mode 100644 +index 00000000..32531fb1 +--- /dev/null ++++ b/config/set/php83.php +@@ -0,0 +1,18 @@ ++import(__DIR__ . '/up-to-php82.php'); ++ $containerConfigurator->import(__DIR__ . '/php83.php'); ++}; From 87a6fa4f3419e29db340648d36f056343228d8a2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 6 Dec 2023 11:47:13 +0100 Subject: [PATCH 30/46] update to 7.0.2 update bundled bartlett/php-compatinfo-db to 6.0.0 open https://github.com/llaville/php-compatinfo/issues/365 8.0 compatibility raise dependency on PHP 8.1 --- .gitignore | 1 + makesrc.sh | 3 +- php-bartlett-PHP-CompatInfo-7.0.0-php83.patch | 13 ---- php-bartlett-PHP-CompatInfo.spec | 69 ++++++++++--------- sources | 2 +- 5 files changed, 42 insertions(+), 46 deletions(-) diff --git a/.gitignore b/.gitignore index 588d93e..c8ff94b 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ clog /php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz /php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz /php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz +/php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz diff --git a/makesrc.sh b/makesrc.sh index 381e35a..c3a64e2 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -18,7 +18,8 @@ echo "Getting commit..." git checkout $COMMIT || exit 1 cp composer.json ../ - composer config platform.php 8.0.99 + module load php81 + composer config platform.php 8.1.99 composer install --no-interaction --no-progress --no-dev --optimize-autoloader cp vendor/composer/installed.json ../ diff --git a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch b/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch index eeb3b98..443555c 100644 --- a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch +++ b/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch @@ -11,19 +11,6 @@ Subject: [PATCH] initialize PHP 8.3 support create mode 100644 config/set/php83.php create mode 100644 config/set/up-to-php83.php -diff --git a/composer.json b/composer.json -index 34446906..9afc85cd 100644 ---- a/composer.json -+++ b/composer.json -@@ -70,7 +70,7 @@ - "extra": { - "enable-patching": true, - "branch-alias": { -- "dev-master": "7.0.x-dev" -+ "dev-master": "8.0.x-dev" - } - } - } diff --git a/config/set/php83.php b/config/set/php83.php new file mode 100644 index 00000000..32531fb1 diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index bd7582e..6258743 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit c94491403ade577b5a1d6f0a460339394e039f3c +%global gh_commit cff8a7aa5a0fcccb0ef8bcb11dc55480b88538bd %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 7.0.1 +%global upstream_version 7.0.2 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -40,11 +40,11 @@ Patch0: %{name}-6.0.0-rpm.patch Patch1: %{name}-7.0.0-php83.patch BuildArch: noarch -BuildRequires: php(language) >= 8.0 +BuildRequires: php(language) >= 8.1 BuildRequires: php-cli BuildRequires: php-json -Requires: php(language) >= 8.0 +Requires: php(language) >= 8.1 Requires: php-cli Requires: php-dom Requires: php-json @@ -59,57 +59,58 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 5.13.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 6.0.0 Provides: bundled(php-nikic-php-parser) = v4.17.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.11.0 Provides: bundled(php-composer-semver) = 3.4.0 -Provides: bundled(php-doctrine-annotations) = 1.14.3 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 -Provides: bundled(php-doctrine-dbal) = 3.7.1 +Provides: bundled(php-doctrine-dbal) = 3.7.2 Provides: bundled(php-doctrine-deprecations) = 1.1.2 -Provides: bundled(php-doctrine-event-manager) = 1.2.0 +Provides: bundled(php-doctrine-event-manager) = 2.0.0 Provides: bundled(php-doctrine-inflector) = 2.0.8 -Provides: bundled(php-doctrine-instantiator) = 1.5.0 +Provides: bundled(php-doctrine-instantiator) = 2.0.0 Provides: bundled(php-doctrine-lexer) = 2.1.0 -Provides: bundled(php-doctrine-orm) = 2.16.2 +Provides: bundled(php-doctrine-orm) = 2.17.1 Provides: bundled(php-doctrine-persistence) = 3.2.0 Provides: bundled(php-psr-cache) = 3.0.0 +Provides: bundled(php-psr-clock) = 1.0.0 Provides: bundled(php-psr-container) = 2.0.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 3.0.0 -Provides: bundled(php-ramsey-collection) = 1.3.0 +Provides: bundled(php-ramsey-collection) = 2.0.0 Provides: bundled(php-ramsey-uuid) = 4.7.5 -Provides: bundled(php-symfony-cache) = v6.0.19 -Provides: bundled(php-symfony-cache-contracts) = v3.0.2 -Provides: bundled(php-symfony-config) = v6.0.19 -Provides: bundled(php-symfony-console) = v6.0.19 -Provides: bundled(php-symfony-dependency-injection) = v6.0.20 -Provides: bundled(php-symfony-deprecation-contracts) = v3.0.2 -Provides: bundled(php-symfony-event-dispatcher) = v6.0.19 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.0.2 -Provides: bundled(php-symfony-filesystem) = v6.0.19 -Provides: bundled(php-symfony-finder) = v6.0.19 -Provides: bundled(php-symfony-http-client) = v6.0.20 -Provides: bundled(php-symfony-http-client-contracts) = v3.0.2 -Provides: bundled(php-symfony-messenger) = v6.0.19 +Provides: bundled(php-symfony-cache) = v6.4.0 +Provides: bundled(php-symfony-cache-contracts) = v3.4.0 +Provides: bundled(php-symfony-clock) = v6.4.0 +Provides: bundled(php-symfony-config) = v6.4.0 +Provides: bundled(php-symfony-console) = v6.4.1 +Provides: bundled(php-symfony-dependency-injection) = v6.4.1 +Provides: bundled(php-symfony-deprecation-contracts) = v3.4.0 +Provides: bundled(php-symfony-event-dispatcher) = v6.4.0 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.0 +Provides: bundled(php-symfony-filesystem) = v6.4.0 +Provides: bundled(php-symfony-finder) = v6.4.0 +Provides: bundled(php-symfony-http-client) = v6.4.0 +Provides: bundled(php-symfony-http-client-contracts) = v3.4.0 +Provides: bundled(php-symfony-messenger) = v6.4.0 Provides: bundled(php-symfony-polyfill-ctype) = v1.28.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.28.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.28.0 Provides: bundled(php-symfony-polyfill-mbstring) = v1.28.0 Provides: bundled(php-symfony-polyfill-php72) = v1.28.0 Provides: bundled(php-symfony-polyfill-php80) = v1.28.0 -Provides: bundled(php-symfony-polyfill-php81) = v1.28.0 -Provides: bundled(php-symfony-process) = v6.0.19 +Provides: bundled(php-symfony-polyfill-php83) = v1.28.0 +Provides: bundled(php-symfony-process) = v6.4.0 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v6.0.19 -Provides: bundled(php-symfony-service-contracts) = v3.0.2 -Provides: bundled(php-symfony-stopwatch) = v6.0.19 -Provides: bundled(php-symfony-string) = v6.0.19 -Provides: bundled(php-symfony-var-exporter) = v6.0.19 +Provides: bundled(php-symfony-serializer) = v6.4.1 +Provides: bundled(php-symfony-service-contracts) = v3.4.0 +Provides: bundled(php-symfony-stopwatch) = v6.4.0 +Provides: bundled(php-symfony-string) = v6.4.0 +Provides: bundled(php-symfony-var-exporter) = v6.4.1 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -200,6 +201,12 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Wed Dec 6 2023 Remi Collet - 7.0.2-1 +- update to 7.0.2 +- update bundled bartlett/php-compatinfo-db to 6.0.0 +- open https://github.com/llaville/php-compatinfo/issues/365 8.0 compatibility +- raise dependency on PHP 8.1 + * Tue Nov 14 2023 Remi Collet - 7.0.1-1 - update to 7.0.1 - update bundled bartlett/php-compatinfo-db to 5.13.0 diff --git a/sources b/sources index 427f18f..8992631 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz) = 1b95489c5fbbaeca81333d63784bddc6dc314515233fd5034752c83558348aeb5564e0aae6687694de4dd8fa17b9f91c951a3387d16cfda6a2684a69ca96f746 +SHA512 (php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz) = 31b236acd7473342f14e7d0600865659982384ea6687ca71aacc18baab70e494b41685f87f8cc73cbc87cc6c23bf02c8e653b5d11e9746b9361aef4f1e31686d From c7f5b354acf66197129589f25a26a550416646c2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jan 2024 07:40:13 +0100 Subject: [PATCH 31/46] v7.1.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo-7.0.0-php83.patch | 57 ------------------- php-bartlett-PHP-CompatInfo.spec | 38 ++++++------- sources | 2 +- 4 files changed, 21 insertions(+), 77 deletions(-) delete mode 100644 php-bartlett-PHP-CompatInfo-7.0.0-php83.patch diff --git a/.gitignore b/.gitignore index c8ff94b..25d01c9 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ clog /php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz /php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz /php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz +/php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz diff --git a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch b/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch deleted file mode 100644 index 443555c..0000000 --- a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch +++ /dev/null @@ -1,57 +0,0 @@ -From bc069b672d65748fdc257e23c667310946e7837e Mon Sep 17 00:00:00 2001 -From: Laurent Laville -Date: Thu, 2 Nov 2023 06:52:05 +0000 -Subject: [PATCH] initialize PHP 8.3 support - ---- - composer.json | 2 +- - config/set/php83.php | 18 ++++++++++++++++++ - config/set/up-to-php83.php | 14 ++++++++++++++ - 3 files changed, 33 insertions(+), 1 deletion(-) - create mode 100644 config/set/php83.php - create mode 100644 config/set/up-to-php83.php - -diff --git a/config/set/php83.php b/config/set/php83.php -new file mode 100644 -index 00000000..32531fb1 ---- /dev/null -+++ b/config/set/php83.php -@@ -0,0 +1,18 @@ -+import(__DIR__ . '/up-to-php82.php'); -+ $containerConfigurator->import(__DIR__ . '/php83.php'); -+}; diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 6258743..623dacf 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit cff8a7aa5a0fcccb0ef8bcb11dc55480b88538bd +%global gh_commit 26b0219fde16933f67d991fdc3974d304eec3ead %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 7.0.2 +%global upstream_version 7.1.0 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -36,8 +36,6 @@ Source9: makesrc.sh # Relocate the database Patch0: %{name}-6.0.0-rpm.patch -# Allow PHP 8.3 -Patch1: %{name}-7.0.0-php83.patch BuildArch: noarch BuildRequires: php(language) >= 8.1 @@ -59,8 +57,8 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 6.0.0 -Provides: bundled(php-nikic-php-parser) = v4.17.1 +Provides: bundled(php-bartlett-php-compatinfo-db) = 6.1.1 +Provides: bundled(php-nikic-php-parser) = v4.18.0 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 Provides: bundled(php-brick-math) = 0.11.0 @@ -74,7 +72,7 @@ Provides: bundled(php-doctrine-event-manager) = 2.0.0 Provides: bundled(php-doctrine-inflector) = 2.0.8 Provides: bundled(php-doctrine-instantiator) = 2.0.0 Provides: bundled(php-doctrine-lexer) = 2.1.0 -Provides: bundled(php-doctrine-orm) = 2.17.1 +Provides: bundled(php-doctrine-orm) = 2.17.2 Provides: bundled(php-doctrine-persistence) = 3.2.0 Provides: bundled(php-psr-cache) = 3.0.0 Provides: bundled(php-psr-clock) = 1.0.0 @@ -83,18 +81,18 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 3.0.0 Provides: bundled(php-ramsey-collection) = 2.0.0 Provides: bundled(php-ramsey-uuid) = 4.7.5 -Provides: bundled(php-symfony-cache) = v6.4.0 +Provides: bundled(php-symfony-cache) = v6.4.2 Provides: bundled(php-symfony-cache-contracts) = v3.4.0 -Provides: bundled(php-symfony-clock) = v6.4.0 +Provides: bundled(php-symfony-clock) = v6.4.2 Provides: bundled(php-symfony-config) = v6.4.0 -Provides: bundled(php-symfony-console) = v6.4.1 -Provides: bundled(php-symfony-dependency-injection) = v6.4.1 +Provides: bundled(php-symfony-console) = v6.4.2 +Provides: bundled(php-symfony-dependency-injection) = v6.4.2 Provides: bundled(php-symfony-deprecation-contracts) = v3.4.0 -Provides: bundled(php-symfony-event-dispatcher) = v6.4.0 +Provides: bundled(php-symfony-event-dispatcher) = v6.4.2 Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.0 Provides: bundled(php-symfony-filesystem) = v6.4.0 Provides: bundled(php-symfony-finder) = v6.4.0 -Provides: bundled(php-symfony-http-client) = v6.4.0 +Provides: bundled(php-symfony-http-client) = v6.4.2 Provides: bundled(php-symfony-http-client-contracts) = v3.4.0 Provides: bundled(php-symfony-messenger) = v6.4.0 Provides: bundled(php-symfony-polyfill-ctype) = v1.28.0 @@ -104,13 +102,13 @@ Provides: bundled(php-symfony-polyfill-mbstring) = v1.28.0 Provides: bundled(php-symfony-polyfill-php72) = v1.28.0 Provides: bundled(php-symfony-polyfill-php80) = v1.28.0 Provides: bundled(php-symfony-polyfill-php83) = v1.28.0 -Provides: bundled(php-symfony-process) = v6.4.0 +Provides: bundled(php-symfony-process) = v6.4.2 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v6.4.1 -Provides: bundled(php-symfony-service-contracts) = v3.4.0 +Provides: bundled(php-symfony-serializer) = v6.4.2 +Provides: bundled(php-symfony-service-contracts) = v3.4.1 Provides: bundled(php-symfony-stopwatch) = v6.4.0 -Provides: bundled(php-symfony-string) = v6.4.0 -Provides: bundled(php-symfony-var-exporter) = v6.4.1 +Provides: bundled(php-symfony-string) = v6.4.2 +Provides: bundled(php-symfony-var-exporter) = v6.4.2 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -126,7 +124,6 @@ show content of dictionary references. %prep %setup -q -n %{gh_project}-%{gh_commit} %patch -P0 -p1 -b .rpm -%patch -P1 -p1 # https://github.com/llaville/php-compatinfo-db/issues/112 sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php @@ -201,6 +198,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue Jan 2 2024 Remi Collet - 7.1.0-1 +- update to 7.1.0 + * Wed Dec 6 2023 Remi Collet - 7.0.2-1 - update to 7.0.2 - update bundled bartlett/php-compatinfo-db to 6.0.0 diff --git a/sources b/sources index 8992631..c51abcf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz) = 31b236acd7473342f14e7d0600865659982384ea6687ca71aacc18baab70e494b41685f87f8cc73cbc87cc6c23bf02c8e653b5d11e9746b9361aef4f1e31686d +SHA512 (php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz) = 59b790ba5c12e22c0d9db18fe7bae4e3dde3ff142464825cc6a165f1b3ace0e64609e6fd306d74d18005e3f566cce9747b69a023835129ae690ed901fe0197f5 From 7b0aa52c6d9ce7b8b92f1dc50a7bcfcdb1c95b15 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 18 Jan 2024 11:02:44 +0100 Subject: [PATCH 32/46] update to 7.1.1 cleanup installation tree move docs and examples in package documentation --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 37 +++++++++++++++++++------------- sources | 2 +- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 25d01c9..a96af03 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ clog /php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz /php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz /php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz +/php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 623dacf..4238362 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,13 +11,13 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 26b0219fde16933f67d991fdc3974d304eec3ead +%global gh_commit d9504f525abfbdb8fc7d7850cbd58229471526ba %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 7.1.0 +%global upstream_version 7.1.1 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -58,9 +58,9 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause Provides: bundled(php-bartlett-php-compatinfo-db) = 6.1.1 -Provides: bundled(php-nikic-php-parser) = v4.18.0 +Provides: bundled(php-nikic-php-parser) = v5.0.0 # License MIT -Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 +Provides: bundled(php-bartlett-sarif-php-sdk) = 1.1.0 Provides: bundled(php-brick-math) = 0.11.0 Provides: bundled(php-composer-semver) = 3.4.0 Provides: bundled(php-doctrine-cache) = 2.2.0 @@ -69,10 +69,10 @@ Provides: bundled(php-doctrine-common) = 3.4.3 Provides: bundled(php-doctrine-dbal) = 3.7.2 Provides: bundled(php-doctrine-deprecations) = 1.1.2 Provides: bundled(php-doctrine-event-manager) = 2.0.0 -Provides: bundled(php-doctrine-inflector) = 2.0.8 +Provides: bundled(php-doctrine-inflector) = 2.0.9 Provides: bundled(php-doctrine-instantiator) = 2.0.0 Provides: bundled(php-doctrine-lexer) = 2.1.0 -Provides: bundled(php-doctrine-orm) = 2.17.2 +Provides: bundled(php-doctrine-orm) = 2.17.3 Provides: bundled(php-doctrine-persistence) = 3.2.0 Provides: bundled(php-psr-cache) = 3.0.0 Provides: bundled(php-psr-clock) = 1.0.0 @@ -124,6 +124,7 @@ show content of dictionary references. %prep %setup -q -n %{gh_project}-%{gh_commit} %patch -P0 -p1 -b .rpm +rm bin/*rpm # https://github.com/llaville/php-compatinfo-db/issues/112 sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php @@ -138,9 +139,6 @@ do [ -f vendor/$vendor/$proj/LICENSE ] && mv vendor/$vendor/$proj/LICENSE ${vendor}_${proj}_LICENSE done done -rm -r tests -rm -r .github -rm -r .changes rm -r vendor/bartlett/*/.github rm -r vendor/bartlett/*/.changes @@ -169,18 +167,20 @@ php -r ' %install -mkdir -p %{buildroot}%{_datadir} -cp -pr . %{buildroot}%{_datadir}/%{name} -rm %{buildroot}%{_datadir}/%{name}/*LICENSE +mkdir -p %{buildroot}%{_datadir}/%{name} +for i in bin config data resources src vendor composer.* +do cp -pr $i %{buildroot}%{_datadir}/%{name}/$i +done mkdir -p %{buildroot}%{_bindir} ln -s ../share/%{name}/bin/phpcompatinfo %{buildroot}%{_bindir}/phpcompatinfo mkdir -p %{buildroot}%{_mandir}/man1 mv %{buildroot}%{_datadir}/%{name}/bin/phpcompatinfo.1 \ - %{buildroot}%{_mandir}/man1/phpcompatinfo.1 + %{buildroot}%{_mandir}/man1/phpcompatinfo.1 -install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora-review-check +install -D -p -m 755 %{SOURCE1} \ + %{buildroot}%{_datadir}/%{name}/fedora-review-check %check @@ -189,7 +189,9 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %files %license *LICENSE -%doc README.* +%doc *md +%doc docs +%doc examples %doc composer.json %doc vendor/composer/installed.json %{_bindir}/phpcompatinfo @@ -198,6 +200,11 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Thu Jan 18 2024 Remi Collet - 7.1.1-1 +- update to 7.1.1 +- cleanup installation tree +- move docs and examples in package documentation + * Tue Jan 2 2024 Remi Collet - 7.1.0-1 - update to 7.1.0 diff --git a/sources b/sources index c51abcf..06ddd7e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz) = 59b790ba5c12e22c0d9db18fe7bae4e3dde3ff142464825cc6a165f1b3ace0e64609e6fd306d74d18005e3f566cce9747b69a023835129ae690ed901fe0197f5 +SHA512 (php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz) = 92b8b768f49d76c6fc0b5a21cc44f2185ebe7cca1a525aa590ecf95d6a65e4cc305085cb6a877a71ca2008134319fd4ddabfa98d8eaf3cd97198db9257a73b9b From 818b4b858877ca31db4a7b2b9cd036405f9076af Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 20:42:57 +0000 Subject: [PATCH 33/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 4238362..d4bfc86 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -200,6 +200,9 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 7.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jan 18 2024 Remi Collet - 7.1.1-1 - update to 7.1.1 - cleanup installation tree From b06f7dd0a801e4632b88af9aa0938aa9f773f0a1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 22:29:02 +0000 Subject: [PATCH 34/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index d4bfc86..0fa638f 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -200,6 +200,9 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 7.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 7.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From fd6eabf939d7329579777bdfff9ff0348cdce44a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Feb 2024 09:33:55 +0100 Subject: [PATCH 35/46] update to 7.1.2 update bundled bartlett/php-compatinfo-db to 6.2.1 --- .gitignore | 1 + makesrc.sh | 5 ++- php-bartlett-PHP-CompatInfo.spec | 67 +++++++++++++++++--------------- sources | 2 +- 4 files changed, 41 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index a96af03..55b2ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ clog /php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz /php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz /php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz +/php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz diff --git a/makesrc.sh b/makesrc.sh index c3a64e2..a2d4c80 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -1,17 +1,20 @@ #!/bin/bash NAME=$(basename $PWD) +DATE=$(sed -n '/^%global gh_date/{s/.* //;p}' $NAME.spec) OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} +DATE=$(date -d "$DATE -4 days" +%Y-%m-%d) + echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Commit=$COMMIT\n" echo "Cloning..." rm -rf $HOME/.cache/bartlett -git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT +git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT echo "Getting commit..." pushd $PROJECT-$COMMIT diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 0fa638f..3817f2d 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -1,28 +1,27 @@ # remirepo/fedora spec file for php-bartlett-PHP-CompatInfo # -# Copyright (c) 2011-2023 Remi Collet +# Copyright (c) 2011-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -# For compatibility with SCL %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit d9504f525abfbdb8fc7d7850cbd58229471526ba +%global gh_commit 072d0f8637341f880b6844cd50d2c2c9918a69b2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -#global gh_date 20151005 +%global gh_date 2024-02-08 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.1.1 +%global upstream_version 7.1.2 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -57,7 +56,7 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 6.1.1 +Provides: bundled(php-bartlett-php-compatinfo-db) = 6.2.1 Provides: bundled(php-nikic-php-parser) = v5.0.0 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.1.0 @@ -66,13 +65,13 @@ Provides: bundled(php-composer-semver) = 3.4.0 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 -Provides: bundled(php-doctrine-dbal) = 3.7.2 -Provides: bundled(php-doctrine-deprecations) = 1.1.2 +Provides: bundled(php-doctrine-dbal) = 3.8.1 +Provides: bundled(php-doctrine-deprecations) = 1.1.3 Provides: bundled(php-doctrine-event-manager) = 2.0.0 Provides: bundled(php-doctrine-inflector) = 2.0.9 Provides: bundled(php-doctrine-instantiator) = 2.0.0 -Provides: bundled(php-doctrine-lexer) = 2.1.0 -Provides: bundled(php-doctrine-orm) = 2.17.3 +Provides: bundled(php-doctrine-lexer) = 3.0.1 +Provides: bundled(php-doctrine-orm) = 2.18.0 Provides: bundled(php-doctrine-persistence) = 3.2.0 Provides: bundled(php-psr-cache) = 3.0.0 Provides: bundled(php-psr-clock) = 1.0.0 @@ -81,34 +80,34 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 3.0.0 Provides: bundled(php-ramsey-collection) = 2.0.0 Provides: bundled(php-ramsey-uuid) = 4.7.5 -Provides: bundled(php-symfony-cache) = v6.4.2 +Provides: bundled(php-symfony-cache) = v6.4.3 Provides: bundled(php-symfony-cache-contracts) = v3.4.0 -Provides: bundled(php-symfony-clock) = v6.4.2 -Provides: bundled(php-symfony-config) = v6.4.0 -Provides: bundled(php-symfony-console) = v6.4.2 -Provides: bundled(php-symfony-dependency-injection) = v6.4.2 +Provides: bundled(php-symfony-clock) = v6.4.3 +Provides: bundled(php-symfony-config) = v6.4.3 +Provides: bundled(php-symfony-console) = v6.4.3 +Provides: bundled(php-symfony-dependency-injection) = v6.4.3 Provides: bundled(php-symfony-deprecation-contracts) = v3.4.0 -Provides: bundled(php-symfony-event-dispatcher) = v6.4.2 +Provides: bundled(php-symfony-event-dispatcher) = v6.4.3 Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.0 -Provides: bundled(php-symfony-filesystem) = v6.4.0 +Provides: bundled(php-symfony-filesystem) = v6.4.3 Provides: bundled(php-symfony-finder) = v6.4.0 -Provides: bundled(php-symfony-http-client) = v6.4.2 +Provides: bundled(php-symfony-http-client) = v6.4.3 Provides: bundled(php-symfony-http-client-contracts) = v3.4.0 -Provides: bundled(php-symfony-messenger) = v6.4.0 -Provides: bundled(php-symfony-polyfill-ctype) = v1.28.0 -Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.28.0 -Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.28.0 -Provides: bundled(php-symfony-polyfill-mbstring) = v1.28.0 -Provides: bundled(php-symfony-polyfill-php72) = v1.28.0 -Provides: bundled(php-symfony-polyfill-php80) = v1.28.0 -Provides: bundled(php-symfony-polyfill-php83) = v1.28.0 -Provides: bundled(php-symfony-process) = v6.4.2 +Provides: bundled(php-symfony-messenger) = v6.4.3 +Provides: bundled(php-symfony-polyfill-ctype) = v1.29.0 +Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.29.0 +Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.29.0 +Provides: bundled(php-symfony-polyfill-mbstring) = v1.29.0 +Provides: bundled(php-symfony-polyfill-php72) = v1.29.0 +Provides: bundled(php-symfony-polyfill-php80) = v1.29.0 +Provides: bundled(php-symfony-polyfill-php83) = v1.29.0 +Provides: bundled(php-symfony-process) = v6.4.3 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v6.4.2 +Provides: bundled(php-symfony-serializer) = v6.4.3 Provides: bundled(php-symfony-service-contracts) = v3.4.1 -Provides: bundled(php-symfony-stopwatch) = v6.4.0 -Provides: bundled(php-symfony-string) = v6.4.2 -Provides: bundled(php-symfony-var-exporter) = v6.4.2 +Provides: bundled(php-symfony-stopwatch) = v6.4.3 +Provides: bundled(php-symfony-string) = v6.4.3 +Provides: bundled(php-symfony-var-exporter) = v6.4.3 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -200,6 +199,10 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Thu Feb 8 2024 Remi Collet - 7.1.2-1 +- update to 7.1.2 +- update bundled bartlett/php-compatinfo-db to 6.2.1 + * Thu Jan 25 2024 Fedora Release Engineering - 7.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 06ddd7e..797a3b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz) = 92b8b768f49d76c6fc0b5a21cc44f2185ebe7cca1a525aa590ecf95d6a65e4cc305085cb6a877a71ca2008134319fd4ddabfa98d8eaf3cd97198db9257a73b9b +SHA512 (php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz) = 62727a2675eb3045013278c13805d82173500b2b46a33fb9f81047e6108f55cca2348ac4795a85e67e086b9c531991e2b7e6fcc9ea791da31505fcf95840d991 From 0830fa1dd912221284fcbc8e42a10b5f6f42ccd8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Mar 2024 14:53:21 +0100 Subject: [PATCH 36/46] update to 7.1.3 update bundled bartlett/php-compatinfo-db to 6.4.2 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 45 +++++++++++++++++--------------- sources | 2 +- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 55b2ab4..38a24ee 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ clog /php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz /php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz /php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz +/php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 3817f2d..8017975 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -7,16 +7,15 @@ # Please, preserve the changelog entries # -%undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 072d0f8637341f880b6844cd50d2c2c9918a69b2 +%global gh_commit 7a74bd0ad8fda76930c23ebc180cd6ca190c7a19 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date 2024-02-08 +%global gh_date 2024-03-19 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.1.2 +%global upstream_version 7.1.3 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -56,8 +55,8 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 6.2.1 -Provides: bundled(php-nikic-php-parser) = v5.0.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 6.4.2 +Provides: bundled(php-nikic-php-parser) = v5.0.2 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.1.0 Provides: bundled(php-brick-math) = 0.11.0 @@ -65,14 +64,14 @@ Provides: bundled(php-composer-semver) = 3.4.0 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 Provides: bundled(php-doctrine-common) = 3.4.3 -Provides: bundled(php-doctrine-dbal) = 3.8.1 +Provides: bundled(php-doctrine-dbal) = 3.8.3 Provides: bundled(php-doctrine-deprecations) = 1.1.3 Provides: bundled(php-doctrine-event-manager) = 2.0.0 -Provides: bundled(php-doctrine-inflector) = 2.0.9 +Provides: bundled(php-doctrine-inflector) = 2.0.10 Provides: bundled(php-doctrine-instantiator) = 2.0.0 Provides: bundled(php-doctrine-lexer) = 3.0.1 -Provides: bundled(php-doctrine-orm) = 2.18.0 -Provides: bundled(php-doctrine-persistence) = 3.2.0 +Provides: bundled(php-doctrine-orm) = 2.19.2 +Provides: bundled(php-doctrine-persistence) = 3.3.2 Provides: bundled(php-psr-cache) = 3.0.0 Provides: bundled(php-psr-clock) = 1.0.0 Provides: bundled(php-psr-container) = 2.0.2 @@ -80,20 +79,20 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 3.0.0 Provides: bundled(php-ramsey-collection) = 2.0.0 Provides: bundled(php-ramsey-uuid) = 4.7.5 -Provides: bundled(php-symfony-cache) = v6.4.3 +Provides: bundled(php-symfony-cache) = v6.4.4 Provides: bundled(php-symfony-cache-contracts) = v3.4.0 -Provides: bundled(php-symfony-clock) = v6.4.3 -Provides: bundled(php-symfony-config) = v6.4.3 -Provides: bundled(php-symfony-console) = v6.4.3 -Provides: bundled(php-symfony-dependency-injection) = v6.4.3 +Provides: bundled(php-symfony-clock) = v6.4.5 +Provides: bundled(php-symfony-config) = v6.4.4 +Provides: bundled(php-symfony-console) = v6.4.4 +Provides: bundled(php-symfony-dependency-injection) = v6.4.4 Provides: bundled(php-symfony-deprecation-contracts) = v3.4.0 Provides: bundled(php-symfony-event-dispatcher) = v6.4.3 Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.0 Provides: bundled(php-symfony-filesystem) = v6.4.3 Provides: bundled(php-symfony-finder) = v6.4.0 -Provides: bundled(php-symfony-http-client) = v6.4.3 +Provides: bundled(php-symfony-http-client) = v6.4.5 Provides: bundled(php-symfony-http-client-contracts) = v3.4.0 -Provides: bundled(php-symfony-messenger) = v6.4.3 +Provides: bundled(php-symfony-messenger) = v6.4.4 Provides: bundled(php-symfony-polyfill-ctype) = v1.29.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.29.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.29.0 @@ -101,13 +100,13 @@ Provides: bundled(php-symfony-polyfill-mbstring) = v1.29.0 Provides: bundled(php-symfony-polyfill-php72) = v1.29.0 Provides: bundled(php-symfony-polyfill-php80) = v1.29.0 Provides: bundled(php-symfony-polyfill-php83) = v1.29.0 -Provides: bundled(php-symfony-process) = v6.4.3 +Provides: bundled(php-symfony-process) = v6.4.4 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v6.4.3 +Provides: bundled(php-symfony-serializer) = v6.4.4 Provides: bundled(php-symfony-service-contracts) = v3.4.1 Provides: bundled(php-symfony-stopwatch) = v6.4.3 -Provides: bundled(php-symfony-string) = v6.4.3 -Provides: bundled(php-symfony-var-exporter) = v6.4.3 +Provides: bundled(php-symfony-string) = v6.4.4 +Provides: bundled(php-symfony-var-exporter) = v6.4.4 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -199,6 +198,10 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Tue Mar 19 2024 Remi Collet - 7.1.3-1 +- update to 7.1.3 +- update bundled bartlett/php-compatinfo-db to 6.4.2 + * Thu Feb 8 2024 Remi Collet - 7.1.2-1 - update to 7.1.2 - update bundled bartlett/php-compatinfo-db to 6.2.1 diff --git a/sources b/sources index 797a3b4..f062268 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz) = 62727a2675eb3045013278c13805d82173500b2b46a33fb9f81047e6108f55cca2348ac4795a85e67e086b9c531991e2b7e6fcc9ea791da31505fcf95840d991 +SHA512 (php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz) = ae8fc6d18d7d2038f3d9cf3fab4722f3a91987118b546a0f09272dba5e48ada47559d915139a37f4e2b8d901937ba5afba41b92da2030081e86bf81796f21be3 From 7316e1d9f0bea1a5f96124c100f5e604f2915960 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Apr 2024 10:44:13 +0200 Subject: [PATCH 37/46] update to 7.1.4 update bundled bartlett/php-compatinfo-db to 6.5.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 42 +++++++++++++++++--------------- sources | 2 +- 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 38a24ee..7626a63 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,4 @@ clog /php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz /php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz /php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz +/php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 8017975..8a4d74f 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -9,13 +9,13 @@ %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 7a74bd0ad8fda76930c23ebc180cd6ca190c7a19 +%global gh_commit 9875282a35266aa2b66416303c06edcd70fc50a1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date 2024-03-19 +%global gh_date 2024-04-24 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.1.3 +%global upstream_version 7.1.4 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -55,7 +55,7 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 6.4.2 +Provides: bundled(php-bartlett-php-compatinfo-db) = 6.5.0 Provides: bundled(php-nikic-php-parser) = v5.0.2 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.1.0 @@ -63,14 +63,14 @@ Provides: bundled(php-brick-math) = 0.11.0 Provides: bundled(php-composer-semver) = 3.4.0 Provides: bundled(php-doctrine-cache) = 2.2.0 Provides: bundled(php-doctrine-collections) = 1.8.0 -Provides: bundled(php-doctrine-common) = 3.4.3 +Provides: bundled(php-doctrine-common) = 3.4.4 Provides: bundled(php-doctrine-dbal) = 3.8.3 Provides: bundled(php-doctrine-deprecations) = 1.1.3 Provides: bundled(php-doctrine-event-manager) = 2.0.0 Provides: bundled(php-doctrine-inflector) = 2.0.10 Provides: bundled(php-doctrine-instantiator) = 2.0.0 Provides: bundled(php-doctrine-lexer) = 3.0.1 -Provides: bundled(php-doctrine-orm) = 2.19.2 +Provides: bundled(php-doctrine-orm) = 2.19.4 Provides: bundled(php-doctrine-persistence) = 3.3.2 Provides: bundled(php-psr-cache) = 3.0.0 Provides: bundled(php-psr-clock) = 1.0.0 @@ -79,20 +79,20 @@ Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 3.0.0 Provides: bundled(php-ramsey-collection) = 2.0.0 Provides: bundled(php-ramsey-uuid) = 4.7.5 -Provides: bundled(php-symfony-cache) = v6.4.4 -Provides: bundled(php-symfony-cache-contracts) = v3.4.0 +Provides: bundled(php-symfony-cache) = v6.4.6 +Provides: bundled(php-symfony-cache-contracts) = v3.4.2 Provides: bundled(php-symfony-clock) = v6.4.5 -Provides: bundled(php-symfony-config) = v6.4.4 -Provides: bundled(php-symfony-console) = v6.4.4 -Provides: bundled(php-symfony-dependency-injection) = v6.4.4 +Provides: bundled(php-symfony-config) = v6.4.6 +Provides: bundled(php-symfony-console) = v6.4.6 +Provides: bundled(php-symfony-dependency-injection) = v6.4.6 Provides: bundled(php-symfony-deprecation-contracts) = v3.4.0 Provides: bundled(php-symfony-event-dispatcher) = v6.4.3 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.0 -Provides: bundled(php-symfony-filesystem) = v6.4.3 +Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.2 +Provides: bundled(php-symfony-filesystem) = v6.4.6 Provides: bundled(php-symfony-finder) = v6.4.0 -Provides: bundled(php-symfony-http-client) = v6.4.5 -Provides: bundled(php-symfony-http-client-contracts) = v3.4.0 -Provides: bundled(php-symfony-messenger) = v6.4.4 +Provides: bundled(php-symfony-http-client) = v6.4.6 +Provides: bundled(php-symfony-http-client-contracts) = v3.4.2 +Provides: bundled(php-symfony-messenger) = v6.4.6 Provides: bundled(php-symfony-polyfill-ctype) = v1.29.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.29.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.29.0 @@ -102,11 +102,11 @@ Provides: bundled(php-symfony-polyfill-php80) = v1.29.0 Provides: bundled(php-symfony-polyfill-php83) = v1.29.0 Provides: bundled(php-symfony-process) = v6.4.4 Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v6.4.4 -Provides: bundled(php-symfony-service-contracts) = v3.4.1 +Provides: bundled(php-symfony-serializer) = v6.4.6 +Provides: bundled(php-symfony-service-contracts) = v3.4.2 Provides: bundled(php-symfony-stopwatch) = v6.4.3 Provides: bundled(php-symfony-string) = v6.4.4 -Provides: bundled(php-symfony-var-exporter) = v6.4.4 +Provides: bundled(php-symfony-var-exporter) = v6.4.6 Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} @@ -198,6 +198,10 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Wed Apr 24 2024 Remi Collet - 7.1.4-1 +- update to 7.1.4 +- update bundled bartlett/php-compatinfo-db to 6.5.0 + * Tue Mar 19 2024 Remi Collet - 7.1.3-1 - update to 7.1.3 - update bundled bartlett/php-compatinfo-db to 6.4.2 diff --git a/sources b/sources index f062268..6ac91b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz) = ae8fc6d18d7d2038f3d9cf3fab4722f3a91987118b546a0f09272dba5e48ada47559d915139a37f4e2b8d901937ba5afba41b92da2030081e86bf81796f21be3 +SHA512 (php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz) = edceb0829fcded8326aeaed43ccee63aba3a23b69b540fdbfba060be3b79fae149832ed375efae38c313b23d67ca67da3498464b0a21a6630f4b5f0dbbf287e4 From f7faecf0660da8d402602b0ca6369d1b37c96d0b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 06:45:25 +0000 Subject: [PATCH 38/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 8a4d74f..08056c1 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -20,7 +20,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -198,6 +198,9 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 7.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Apr 24 2024 Remi Collet - 7.1.4-1 - update to 7.1.4 - update bundled bartlett/php-compatinfo-db to 6.5.0 From ae67202b89d9c1f2897c36e19ba642fb4317cdfc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Nov 2024 09:04:09 +0100 Subject: [PATCH 39/46] update bundled bartlett/php-compatinfo-db to 6.12.0 update bundled dependencies optional support build with composer-generators --- php-bartlett-PHP-CompatInfo.spec | 124 +++++++++++++++++-------------- 1 file changed, 70 insertions(+), 54 deletions(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 08056c1..1b0c3b2 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -8,6 +8,8 @@ # +%bcond_with generators + %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} %global gh_commit 9875282a35266aa2b66416303c06edcd70fc50a1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) @@ -20,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -39,6 +41,9 @@ BuildArch: noarch BuildRequires: php(language) >= 8.1 BuildRequires: php-cli BuildRequires: php-json +%if %{with generators} +BuildRequires: composer-generators +%endif Requires: php(language) >= 8.1 Requires: php-cli @@ -53,63 +58,66 @@ Requires: php-simplexml Requires: php-spl Requires: php-xmlreader +%if %{without generators} # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 6.5.0 -Provides: bundled(php-nikic-php-parser) = v5.0.2 +Provides: bundled(php-composer(bartlett/php-compatinfo-db)) = 6.12.0 +Provides: bundled(php-composer(nikic/php-parser)) = v5.3.1 # License MIT -Provides: bundled(php-bartlett-sarif-php-sdk) = 1.1.0 -Provides: bundled(php-brick-math) = 0.11.0 -Provides: bundled(php-composer-semver) = 3.4.0 -Provides: bundled(php-doctrine-cache) = 2.2.0 -Provides: bundled(php-doctrine-collections) = 1.8.0 -Provides: bundled(php-doctrine-common) = 3.4.4 -Provides: bundled(php-doctrine-dbal) = 3.8.3 -Provides: bundled(php-doctrine-deprecations) = 1.1.3 -Provides: bundled(php-doctrine-event-manager) = 2.0.0 -Provides: bundled(php-doctrine-inflector) = 2.0.10 -Provides: bundled(php-doctrine-instantiator) = 2.0.0 -Provides: bundled(php-doctrine-lexer) = 3.0.1 -Provides: bundled(php-doctrine-orm) = 2.19.4 -Provides: bundled(php-doctrine-persistence) = 3.3.2 -Provides: bundled(php-psr-cache) = 3.0.0 -Provides: bundled(php-psr-clock) = 1.0.0 -Provides: bundled(php-psr-container) = 2.0.2 -Provides: bundled(php-psr-event-dispatcher) = 1.0.0 -Provides: bundled(php-psr-log) = 3.0.0 -Provides: bundled(php-ramsey-collection) = 2.0.0 -Provides: bundled(php-ramsey-uuid) = 4.7.5 -Provides: bundled(php-symfony-cache) = v6.4.6 -Provides: bundled(php-symfony-cache-contracts) = v3.4.2 -Provides: bundled(php-symfony-clock) = v6.4.5 -Provides: bundled(php-symfony-config) = v6.4.6 -Provides: bundled(php-symfony-console) = v6.4.6 -Provides: bundled(php-symfony-dependency-injection) = v6.4.6 -Provides: bundled(php-symfony-deprecation-contracts) = v3.4.0 -Provides: bundled(php-symfony-event-dispatcher) = v6.4.3 -Provides: bundled(php-symfony-event-dispatcher-contracts) = v3.4.2 -Provides: bundled(php-symfony-filesystem) = v6.4.6 -Provides: bundled(php-symfony-finder) = v6.4.0 -Provides: bundled(php-symfony-http-client) = v6.4.6 -Provides: bundled(php-symfony-http-client-contracts) = v3.4.2 -Provides: bundled(php-symfony-messenger) = v6.4.6 -Provides: bundled(php-symfony-polyfill-ctype) = v1.29.0 -Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.29.0 -Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.29.0 -Provides: bundled(php-symfony-polyfill-mbstring) = v1.29.0 -Provides: bundled(php-symfony-polyfill-php72) = v1.29.0 -Provides: bundled(php-symfony-polyfill-php80) = v1.29.0 -Provides: bundled(php-symfony-polyfill-php83) = v1.29.0 -Provides: bundled(php-symfony-process) = v6.4.4 -Provides: bundled(php-symfony-requirements-checker) = v2.0.1 -Provides: bundled(php-symfony-serializer) = v6.4.6 -Provides: bundled(php-symfony-service-contracts) = v3.4.2 -Provides: bundled(php-symfony-stopwatch) = v6.4.3 -Provides: bundled(php-symfony-string) = v6.4.4 -Provides: bundled(php-symfony-var-exporter) = v6.4.6 +Provides: bundled(php-composer(bartlett/sarif-php-sdk)) = 1.5.0 +Provides: bundled(php-composer(brick/math)) = 0.12.1 +Provides: bundled(php-composer(composer/semver)) = 3.4.3 +Provides: bundled(php-composer(doctrine/cache)) = 2.2.0 +Provides: bundled(php-composer(doctrine/collections)) = 1.8.0 +Provides: bundled(php-composer(doctrine/common)) = 3.4.5 +Provides: bundled(php-composer(doctrine/dbal)) = 3.9.3 +Provides: bundled(php-composer(doctrine/deprecations)) = 1.1.3 +Provides: bundled(php-composer(doctrine/event-manager)) = 2.0.1 +Provides: bundled(php-composer(doctrine/inflector)) = 2.0.10 +Provides: bundled(php-composer(doctrine/instantiator)) = 2.0.0 +Provides: bundled(php-composer(doctrine/lexer)) = 3.0.1 +Provides: bundled(php-composer(doctrine/orm)) = 2.20.0 +Provides: bundled(php-composer(doctrine/persistence)) = 3.4.0 +Provides: bundled(php-composer(psr/cache)) = 3.0.0 +Provides: bundled(php-composer(psr/clock)) = 1.0.0 +Provides: bundled(php-composer(psr/container)) = 2.0.2 +Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 +Provides: bundled(php-composer(psr/log)) = 3.0.2 +Provides: bundled(php-composer(ramsey/collection)) = 2.0.0 +Provides: bundled(php-composer(ramsey/uuid)) = 4.7.6 +Provides: bundled(php-composer(symfony/cache)) = v6.4.14 +Provides: bundled(php-composer(symfony/cache-contracts)) = v3.5.0 +Provides: bundled(php-composer(symfony/clock)) = v6.4.13 +Provides: bundled(php-composer(symfony/config)) = v6.4.14 +Provides: bundled(php-composer(symfony/console)) = v6.4.14 +Provides: bundled(php-composer(symfony/dependency-injection)) = v6.4.13 +Provides: bundled(php-composer(symfony/deprecation-contracts)) = v3.5.0 +Provides: bundled(php-composer(symfony/event-dispatcher)) = v6.4.13 +Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = v3.5.0 +Provides: bundled(php-composer(symfony/filesystem)) = v6.4.13 +Provides: bundled(php-composer(symfony/finder)) = v6.4.13 +Provides: bundled(php-composer(symfony/http-client)) = v6.4.14 +Provides: bundled(php-composer(symfony/http-client-contracts)) = v3.5.0 +Provides: bundled(php-composer(symfony/messenger)) = v6.4.13 +Provides: bundled(php-composer(symfony/polyfill-ctype)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-mbstring)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-php72)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-php80)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-php83)) = v1.31.0 +Provides: bundled(php-composer(symfony/polyfill-php84)) = v1.31.0 +Provides: bundled(php-composer(symfony/process)) = v6.4.14 +Provides: bundled(php-composer(symfony/requirements-checker)) = v2.0.1 +Provides: bundled(php-composer(symfony/serializer)) = v6.4.13 +Provides: bundled(php-composer(symfony/service-contracts)) = v3.5.0 +Provides: bundled(php-composer(symfony/stopwatch)) = v6.4.13 +Provides: bundled(php-composer(symfony/string)) = v6.4.13 +Provides: bundled(php-composer(symfony/var-exporter)) = v6.4.13 -Provides: phpcompatinfo = %{version} Provides: php-composer(bartlett/php-compatinfo) = %{version} +%endif +Provides: phpcompatinfo = %{version} %description @@ -140,6 +148,7 @@ done rm -r vendor/bartlett/*/.github rm -r vendor/bartlett/*/.changes +%if %{without generators} : List bundled libraries and Licenses php -r ' $pkgs = file_get_contents("vendor/composer/installed.json"); @@ -152,13 +161,15 @@ php -r ' foreach($pkgs["packages"] as $pkg) { $lic = implode(" and ", $pkg["license"]); if (!isset($res[$lic])) $res[$lic] = []; - $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); + $res[$lic][] = sprintf("Provides: bundled(php-composer(%s)) = %s", $pkg["name"], $pkg["version"]); } foreach($res as $lic => $lib) { sort($lib); printf("# License %s\n%s\n", $lic, implode("\n", $lib)); } ' +%endif + %build # Nothing @@ -198,6 +209,11 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Thu Nov 7 2024 Remi Collet - 7.1.4-3 +- update bundled bartlett/php-compatinfo-db to 6.12.0 +- update bundled dependencies +- optional support build with composer-generators + * Fri Jul 19 2024 Fedora Release Engineering - 7.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 8274c89783f7f82af72e0b581bc3abfd409f6ad6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Nov 2024 09:12:00 +0100 Subject: [PATCH 40/46] refreshed sources --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 6ac91b9..003e67e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz) = edceb0829fcded8326aeaed43ccee63aba3a23b69b540fdbfba060be3b79fae149832ed375efae38c313b23d67ca67da3498464b0a21a6630f4b5f0dbbf287e4 +SHA512 (php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz) = fda8cebf9471cb7c49b91137a89e8b051e447d13dad14b1b8b19854f83ab049b53cb21dd965febb21832135dc7f4e79197efe68fe11fdb48e2d8387fe8a22c19 From e51304d5a1665242886584856a088996e3520acb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Nov 2024 09:43:07 +0100 Subject: [PATCH 41/46] hack for PHP 8.4 --- php-bartlett-PHP-CompatInfo.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 1b0c3b2..3df8300 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -148,6 +148,9 @@ done rm -r vendor/bartlett/*/.github rm -r vendor/bartlett/*/.changes +: Hack for PHP 8.4 +sed -e '/php83/d;s/php82/php83/' config/set/up-to-php83.php | tee config/set/up-to-php84.php + %if %{without generators} : List bundled libraries and Licenses php -r ' @@ -209,6 +212,9 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Thu Nov 7 2024 Remi Collet - 7.1.4-4 +- hack for PHP 8.4 + * Thu Nov 7 2024 Remi Collet - 7.1.4-3 - update bundled bartlett/php-compatinfo-db to 6.12.0 - update bundled dependencies From f17278ece3b8fac93accdeb56e440798426bb2dd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 08:56:09 +0000 Subject: [PATCH 42/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 3df8300..b2f87da 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -22,7 +22,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -212,6 +212,9 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 7.1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Nov 7 2024 Remi Collet - 7.1.4-4 - hack for PHP 8.4 From 788b91ce6da17d14e0053c3edfbeaef5261568c0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 May 2025 07:32:48 +0200 Subject: [PATCH 43/46] update to 7.2.3 re-license spec file to CECILL-2.1 always build with composer-generators update bundled bartlett/php-compatinfo-db to 6.16.0 --- .gitignore | 1 + ...hp-bartlett-PHP-CompatInfo-7.2.3-rpm.patch | 8 +- php-bartlett-PHP-CompatInfo.spec | 112 +++--------------- sources | 2 +- 4 files changed, 21 insertions(+), 102 deletions(-) rename php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch => php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch (51%) diff --git a/.gitignore b/.gitignore index 7626a63..002d70f 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ clog /php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz /php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz /php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz +/php-bartlett-PHP-CompatInfo-7.2.3-25777bc.tgz diff --git a/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch similarity index 51% rename from php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch rename to php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch index 92cebab..a6a4931 100644 --- a/php-bartlett-PHP-CompatInfo-6.0.0-rpm.patch +++ b/php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch @@ -1,7 +1,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2021-12-13 12:09:12.000000000 +0100 -+++ ./bin/phpcompatinfo 2021-12-13 12:12:30.838533965 +0100 -@@ -6,6 +6,10 @@ if (PHP_SAPI !== 'cli') { +--- ./bin/phpcompatinfo.rpm 2025-05-04 07:31:28.259594805 +0200 ++++ ./bin/phpcompatinfo 2025-05-04 07:32:09.736421056 +0200 +@@ -15,6 +15,10 @@ if (PHP_SAPI !== 'cli') { return; } @@ -11,4 +11,4 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo + gc_disable(); // performance boost - require_once dirname(__DIR__) . '/config/bootstrap.php'; + require_once dirname(__DIR__) . '/autoload.php'; diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index b2f87da..f28d773 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -1,28 +1,26 @@ # remirepo/fedora spec file for php-bartlett-PHP-CompatInfo # -# Copyright (c) 2011-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2011-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%bcond_with generators - %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 9875282a35266aa2b66416303c06edcd70fc50a1 +%global gh_commit 25777bc305fac9344a2193e5328f7743eb6b77c9 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date 2024-04-24 +%global gh_date 2025-05-01 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.1.4 +%global upstream_version 7.2.3 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 5%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -35,15 +33,13 @@ Source1: fedora-review-check Source9: makesrc.sh # Relocate the database -Patch0: %{name}-6.0.0-rpm.patch +Patch0: %{name}-7.2.3-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 8.1 BuildRequires: php-cli BuildRequires: php-json -%if %{with generators} BuildRequires: composer-generators -%endif Requires: php(language) >= 8.1 Requires: php-cli @@ -58,65 +54,6 @@ Requires: php-simplexml Requires: php-spl Requires: php-xmlreader -%if %{without generators} -# Bundled libraries -# License BSD-3-Clause -Provides: bundled(php-composer(bartlett/php-compatinfo-db)) = 6.12.0 -Provides: bundled(php-composer(nikic/php-parser)) = v5.3.1 -# License MIT -Provides: bundled(php-composer(bartlett/sarif-php-sdk)) = 1.5.0 -Provides: bundled(php-composer(brick/math)) = 0.12.1 -Provides: bundled(php-composer(composer/semver)) = 3.4.3 -Provides: bundled(php-composer(doctrine/cache)) = 2.2.0 -Provides: bundled(php-composer(doctrine/collections)) = 1.8.0 -Provides: bundled(php-composer(doctrine/common)) = 3.4.5 -Provides: bundled(php-composer(doctrine/dbal)) = 3.9.3 -Provides: bundled(php-composer(doctrine/deprecations)) = 1.1.3 -Provides: bundled(php-composer(doctrine/event-manager)) = 2.0.1 -Provides: bundled(php-composer(doctrine/inflector)) = 2.0.10 -Provides: bundled(php-composer(doctrine/instantiator)) = 2.0.0 -Provides: bundled(php-composer(doctrine/lexer)) = 3.0.1 -Provides: bundled(php-composer(doctrine/orm)) = 2.20.0 -Provides: bundled(php-composer(doctrine/persistence)) = 3.4.0 -Provides: bundled(php-composer(psr/cache)) = 3.0.0 -Provides: bundled(php-composer(psr/clock)) = 1.0.0 -Provides: bundled(php-composer(psr/container)) = 2.0.2 -Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 -Provides: bundled(php-composer(psr/log)) = 3.0.2 -Provides: bundled(php-composer(ramsey/collection)) = 2.0.0 -Provides: bundled(php-composer(ramsey/uuid)) = 4.7.6 -Provides: bundled(php-composer(symfony/cache)) = v6.4.14 -Provides: bundled(php-composer(symfony/cache-contracts)) = v3.5.0 -Provides: bundled(php-composer(symfony/clock)) = v6.4.13 -Provides: bundled(php-composer(symfony/config)) = v6.4.14 -Provides: bundled(php-composer(symfony/console)) = v6.4.14 -Provides: bundled(php-composer(symfony/dependency-injection)) = v6.4.13 -Provides: bundled(php-composer(symfony/deprecation-contracts)) = v3.5.0 -Provides: bundled(php-composer(symfony/event-dispatcher)) = v6.4.13 -Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = v3.5.0 -Provides: bundled(php-composer(symfony/filesystem)) = v6.4.13 -Provides: bundled(php-composer(symfony/finder)) = v6.4.13 -Provides: bundled(php-composer(symfony/http-client)) = v6.4.14 -Provides: bundled(php-composer(symfony/http-client-contracts)) = v3.5.0 -Provides: bundled(php-composer(symfony/messenger)) = v6.4.13 -Provides: bundled(php-composer(symfony/polyfill-ctype)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-mbstring)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-php72)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-php80)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-php83)) = v1.31.0 -Provides: bundled(php-composer(symfony/polyfill-php84)) = v1.31.0 -Provides: bundled(php-composer(symfony/process)) = v6.4.14 -Provides: bundled(php-composer(symfony/requirements-checker)) = v2.0.1 -Provides: bundled(php-composer(symfony/serializer)) = v6.4.13 -Provides: bundled(php-composer(symfony/service-contracts)) = v3.5.0 -Provides: bundled(php-composer(symfony/stopwatch)) = v6.4.13 -Provides: bundled(php-composer(symfony/string)) = v6.4.13 -Provides: bundled(php-composer(symfony/var-exporter)) = v6.4.13 - -Provides: php-composer(bartlett/php-compatinfo) = %{version} -%endif Provides: phpcompatinfo = %{version} @@ -148,31 +85,6 @@ done rm -r vendor/bartlett/*/.github rm -r vendor/bartlett/*/.changes -: Hack for PHP 8.4 -sed -e '/php83/d;s/php82/php83/' config/set/up-to-php83.php | tee config/set/up-to-php84.php - -%if %{without generators} -: List bundled libraries and Licenses -php -r ' - $pkgs = file_get_contents("vendor/composer/installed.json"); - $pkgs = json_decode($pkgs, true); - if (!is_array($pkgs) || !isset($pkgs["packages"])) { - echo "cant decode json file\n"; - exit(3); - } - $res = []; - foreach($pkgs["packages"] as $pkg) { - $lic = implode(" and ", $pkg["license"]); - if (!isset($res[$lic])) $res[$lic] = []; - $res[$lic][] = sprintf("Provides: bundled(php-composer(%s)) = %s", $pkg["name"], $pkg["version"]); - } - foreach($res as $lic => $lib) { - sort($lib); - printf("# License %s\n%s\n", $lic, implode("\n", $lib)); - } -' -%endif - %build # Nothing @@ -180,7 +92,7 @@ php -r ' %install mkdir -p %{buildroot}%{_datadir}/%{name} -for i in bin config data resources src vendor composer.* +for i in bin config data resources src vendor composer.* autoload.php do cp -pr $i %{buildroot}%{_datadir}/%{name}/$i done @@ -212,6 +124,12 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Mon May 5 2025 Remi Collet - 7.2.3-1 +- update to 7.2.3 +- re-license spec file to CECILL-2.1 +- always build with composer-generators +- update bundled bartlett/php-compatinfo-db to 6.16.0 + * Sat Jan 18 2025 Fedora Release Engineering - 7.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index 003e67e..3cb93bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz) = fda8cebf9471cb7c49b91137a89e8b051e447d13dad14b1b8b19854f83ab049b53cb21dd965febb21832135dc7f4e79197efe68fe11fdb48e2d8387fe8a22c19 +SHA512 (php-bartlett-PHP-CompatInfo-7.2.3-25777bc.tgz) = d77a6b4109db57bd451272ef72df66a0845d886f6740bed5cf56cb24a31275c19299f4d3ffd44f23a580cff91a6dc6eddf60b36ce467696983d1709d159e3bc6 From 1ac35df697a303ae052b6b3652d54f544fb4acd0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:09:21 +0000 Subject: [PATCH 44/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-bartlett-PHP-CompatInfo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index f28d773..94ed77d 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -20,7 +20,7 @@ Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -124,6 +124,9 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 7.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon May 5 2025 Remi Collet - 7.2.3-1 - update to 7.2.3 - re-license spec file to CECILL-2.1 From f7717973593108d2dd14c2909475aae706e2ed97 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 9 Oct 2025 14:43:04 +0200 Subject: [PATCH 45/46] update to 7.2.4 update bundled bartlett/php-compatinfo-db to 6.24.1 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 12 ++++++++---- sources | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 002d70f..a008686 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ clog /php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz /php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz /php-bartlett-PHP-CompatInfo-7.2.3-25777bc.tgz +/php-bartlett-PHP-CompatInfo-7.2.4-165460c.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 94ed77d..a31d7ca 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -9,18 +9,18 @@ %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 25777bc305fac9344a2193e5328f7743eb6b77c9 +%global gh_commit 165460c7b51948ce55f07b2a32670aa97aa06282 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date 2025-05-01 +%global gh_date 2025-10-09 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.2.3 +%global upstream_version 7.2.4 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -124,6 +124,10 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Thu Oct 9 2025 Remi Collet - 7.2.4-1 +- update to 7.2.4 +- update bundled bartlett/php-compatinfo-db to 6.24.1 + * Fri Jul 25 2025 Fedora Release Engineering - 7.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index 3cb93bf..97c8337 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.2.3-25777bc.tgz) = d77a6b4109db57bd451272ef72df66a0845d886f6740bed5cf56cb24a31275c19299f4d3ffd44f23a580cff91a6dc6eddf60b36ce467696983d1709d159e3bc6 +SHA512 (php-bartlett-PHP-CompatInfo-7.2.4-165460c.tgz) = 117f1e8d6febcf3fa69f114cd13df60a64754ef8954636e5703f04fbb57efc0106f1f5ffdd106b93ebac0043ed983762999335ccabddbd6e3abc306e8a7a7c9f From 6841168731a88ff15ff2b434c06fbacacd2b3052 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 25 Nov 2025 09:17:48 +0100 Subject: [PATCH 46/46] update to 7.2.5 update bundled bartlett/php-compatinfo-db to 6.26.0 --- .gitignore | 1 + php-bartlett-PHP-CompatInfo.spec | 14 +++++++------- sources | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index a008686..7d3bdec 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ clog /php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz /php-bartlett-PHP-CompatInfo-7.2.3-25777bc.tgz /php-bartlett-PHP-CompatInfo-7.2.4-165460c.tgz +/php-bartlett-PHP-CompatInfo-7.2.5-56d3215.tgz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index a31d7ca..0e89b83 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -9,13 +9,13 @@ %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 165460c7b51948ce55f07b2a32670aa97aa06282 +%global gh_commit 56d3215bcf8acb2e822fc9ce21fa934cd6129637 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date 2025-10-09 +%global gh_date 2025-11-23 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.2.4 +%global upstream_version 7.2.5 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo @@ -38,20 +38,16 @@ Patch0: %{name}-7.2.3-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 8.1 BuildRequires: php-cli -BuildRequires: php-json BuildRequires: composer-generators Requires: php(language) >= 8.1 Requires: php-cli Requires: php-dom -Requires: php-json Requires: php-libxml -Requires: php-pcre Requires: php-phar Requires: php-pdo Requires: php-pdo_sqlite Requires: php-simplexml -Requires: php-spl Requires: php-xmlreader Provides: phpcompatinfo = %{version} @@ -124,6 +120,10 @@ install -D -p -m 755 %{SOURCE1} \ %changelog +* Tue Nov 25 2025 Remi Collet - 7.2.5-1 +- update to 7.2.5 +- update bundled bartlett/php-compatinfo-db to 6.26.0 + * Thu Oct 9 2025 Remi Collet - 7.2.4-1 - update to 7.2.4 - update bundled bartlett/php-compatinfo-db to 6.24.1 diff --git a/sources b/sources index 97c8337..b1418ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-bartlett-PHP-CompatInfo-7.2.4-165460c.tgz) = 117f1e8d6febcf3fa69f114cd13df60a64754ef8954636e5703f04fbb57efc0106f1f5ffdd106b93ebac0043ed983762999335ccabddbd6e3abc306e8a7a7c9f +SHA512 (php-bartlett-PHP-CompatInfo-7.2.5-56d3215.tgz) = 51b2715fccc20ab6fafadf9f9e0d60cc8103f2d435e0133f6020b05d7449761042dd4be30d2a0b141664d6e4193692cc9800b35ccc25d4144b03bae603ec26fe