Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d6c94d8ae | ||
|
|
4e824eb6ba | ||
|
|
30a41fb03a | ||
|
|
70c841fb37 | ||
|
|
0f86e93e5b |
4 changed files with 88 additions and 64 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -50,3 +50,7 @@ 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
|
||||
/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
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
#
|
||||
|
|
@ -11,13 +11,13 @@
|
|||
%undefine __brp_mangle_shebangs
|
||||
|
||||
%{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)}
|
||||
%global gh_commit 07bb648c3b0e853bac78e8e4b946a3aafa0271ac
|
||||
%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.4.1
|
||||
%global upstream_version 6.5.4
|
||||
#global upstream_prever RC1
|
||||
|
||||
Name: php-bartlett-PHP-CompatInfo
|
||||
|
|
@ -25,7 +25,8 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
|||
Release: 2%{?dist}
|
||||
Summary: Find out version and the extensions required for a piece of code to run
|
||||
|
||||
License: BSD and MIT
|
||||
# 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
|
||||
# Script for fedora-review
|
||||
|
|
@ -56,61 +57,61 @@ 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-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.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-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-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.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-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.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-redis-messenger) = v5.4.6
|
||||
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-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
|
||||
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.7
|
||||
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: phpcompatinfo = %{version}
|
||||
Provides: php-composer(bartlett/php-compatinfo) = %{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,23 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora-
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 10 2023 Remi Collet <remi@remirepo.net> - 6.5.4-2
|
||||
- update bundled bartlett/php-compatinfo-db to 4.11.0
|
||||
|
||||
* Wed Dec 14 2022 Remi Collet <remi@remirepo.net> - 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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 6.5.2-1
|
||||
- update to 6.5.2
|
||||
|
||||
* Tue Sep 27 2022 Remi Collet <remi@remirepo.net> - 6.4.2-1
|
||||
- update to 6.4.2
|
||||
|
||||
* Wed Apr 20 2022 Remi Collet <remi@remirepo.net> - 6.4.1-2
|
||||
- update bundled bartlett/php-compatinfo-db to 4.2.0
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz) = ca1ba8be6c116418bbf1cbb97178877eb4fa62d260688ebab90e69f644d17a3958d2dce3b42984fdbf4014c81e2dfb8dfb568fc49d6e794da800af8cf20745dd
|
||||
SHA512 (php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz) = d1a84f8ce0c5eaeb4b596e16b99e1f91554e0cf3dbe0df8950ec5db289d5a59e26b8a050f294c361701744e1a6472aec9c94662e462da3a6c667fc86b50e3bb4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue