Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Remi Collet
6841168731 update to 7.2.5
update bundled bartlett/php-compatinfo-db to 6.26.0
2025-11-25 09:17:48 +01:00
Remi Collet
f771797359 update to 7.2.4
update bundled bartlett/php-compatinfo-db to 6.24.1
2025-10-09 14:43:04 +02:00
Fedora Release Engineering
1ac35df697 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 05:09:21 +00:00
Remi Collet
788b91ce6d 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
2025-05-05 07:32:48 +02:00
Fedora Release Engineering
f17278ece3 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 08:56:09 +00:00
Remi Collet
e51304d5a1 hack for PHP 8.4 2024-11-07 09:43:07 +01:00
Remi Collet
8274c89783 refreshed sources 2024-11-07 09:12:00 +01:00
Remi Collet
ae67202b89 update bundled bartlett/php-compatinfo-db to 6.12.0
update bundled dependencies
optional support build with composer-generators
2024-11-07 09:04:09 +01:00
Fedora Release Engineering
f7faecf066 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 06:45:25 +00:00
4 changed files with 48 additions and 92 deletions

3
.gitignore vendored
View file

@ -62,3 +62,6 @@ 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
/php-bartlett-PHP-CompatInfo-7.2.4-165460c.tgz
/php-bartlett-PHP-CompatInfo-7.2.5-56d3215.tgz

View file

@ -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';

View file

@ -1,21 +1,21 @@
# 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
#
%{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)}
%global gh_commit 9875282a35266aa2b66416303c06edcd70fc50a1
%global gh_commit 56d3215bcf8acb2e822fc9ce21fa934cd6129637
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_date 2024-04-24
%global gh_date 2025-11-23
%global gh_owner llaville
%global gh_project php-compatinfo
%global upstream_version 7.1.4
%global upstream_version 7.2.5
#global upstream_prever RC1
Name: php-bartlett-PHP-CompatInfo
@ -33,83 +33,24 @@ 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
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
# 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
# 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: phpcompatinfo = %{version}
Provides: php-composer(bartlett/php-compatinfo) = %{version}
%description
@ -140,25 +81,6 @@ done
rm -r vendor/bartlett/*/.github
rm -r vendor/bartlett/*/.changes
: 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-%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
# Nothing
@ -166,7 +88,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
@ -198,6 +120,37 @@ install -D -p -m 755 %{SOURCE1} \
%changelog
* Tue Nov 25 2025 Remi Collet <remi@remirepo.net> - 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 <remi@remirepo.net> - 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 <releng@fedoraproject.org> - 7.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon May 5 2025 Remi Collet <remi@remirepo.net> - 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 <releng@fedoraproject.org> - 7.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Nov 7 2024 Remi Collet <remi@remirepo.net> - 7.1.4-4
- hack for PHP 8.4
* Thu Nov 7 2024 Remi Collet <remi@remirepo.net> - 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 <releng@fedoraproject.org> - 7.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Apr 24 2024 Remi Collet <remi@remirepo.net> - 7.1.4-1
- update to 7.1.4
- update bundled bartlett/php-compatinfo-db to 6.5.0

View file

@ -1 +1 @@
SHA512 (php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz) = edceb0829fcded8326aeaed43ccee63aba3a23b69b540fdbfba060be3b79fae149832ed375efae38c313b23d67ca67da3498464b0a21a6630f4b5f0dbbf287e4
SHA512 (php-bartlett-PHP-CompatInfo-7.2.5-56d3215.tgz) = 51b2715fccc20ab6fafadf9f9e0d60cc8103f2d435e0133f6020b05d7449761042dd4be30d2a0b141664d6e4193692cc9800b35ccc25d4144b03bae603ec26fe