Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6901b1f264 |
4 changed files with 34 additions and 64 deletions
18
.gitignore
vendored
18
.gitignore
vendored
|
|
@ -1,4 +1,14 @@
|
|||
clog
|
||||
/php-doctrine-collections-1.7.2-3fe77330f5591108bbf1315da7377a7e704ed8a0.tar.gz
|
||||
/php-doctrine-collections-1.7.3-09dde3eb237756190f2de738d3c97cff10a8407b.tar.gz
|
||||
/php-doctrine-collections-1.8.0-2b44dd4cbca8b5744327de78bafef5945c7e7b5e.tar.gz
|
||||
/php-doctrine-collections-1.1-819871759a4d41dab244d358507bd27d0e8b1e33.tar.gz
|
||||
/php-doctrine-collections-1.2-b99c5c46c87126201899afe88ec490a25eedd6a2.tar.gz
|
||||
/php-doctrine-collections-1.3.0-6c1e4eef75f310ea1b3e30945e9f06e652128b8a.tar.gz
|
||||
/php-doctrine-collections-1.4.0-1a4fb7e902202c33cce8c55989b945612943c2ba.tar.gz
|
||||
/php-doctrine-collections-1.5.0-a01ee38fcd999f34d9bfbcee59dbda5105449cbf.tar.gz
|
||||
/php-doctrine-collections-1.6.0-acc35813077be497dc7f658af76729fa456444e3.tar.gz
|
||||
/php-doctrine-collections-1.6.1-d2ae4ef05e25197343b6a39bae1d3c427a2f6956.tar.gz
|
||||
/php-doctrine-collections-1.6.2-c5e0bc17b1620e97c968ac409acbff28b8b850be.tar.gz
|
||||
/php-doctrine-collections-1.6.4-6b1e4b2b66f6d6e49983cebfe23a21b7ccc5b0d7.tar.gz
|
||||
/php-doctrine-collections-1.6.5-fc0206348e17e530d09463fef07ba8968406cd6d.tar.gz
|
||||
/php-doctrine-collections-1.6.6-5f0470363ff042d0057006ae7acabc5d7b5252d5.tar.gz
|
||||
/php-doctrine-collections-1.6.7-55f8b799269a1a472457bd1a41b4f379d4cfba4a.tar.gz
|
||||
/php-doctrine-collections-1.6.8-1958a744696c6bb3bb0d28db2611dc11610e78af.tar.gz
|
||||
/php-doctrine-collections-1.6.9-1269d42c03f8a1cc9b56a1b727568423268a191b.tar.gz
|
||||
|
|
|
|||
|
|
@ -33,11 +33,10 @@
|
|||
],
|
||||
"homepage": "https://www.doctrine-project.org/projects/collections.html",
|
||||
"require": {
|
||||
"php": "^7.1.3 || ^8.0",
|
||||
"doctrine/deprecations": "^0.5.3 || ^1"
|
||||
"php": "^7.1.3 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/coding-standard": "^9.0 || ^10.0",
|
||||
"doctrine/coding-standard": "^9.0",
|
||||
"phpstan/phpstan": "^1.4.8",
|
||||
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.1.5",
|
||||
"vimeo/psalm": "^4.22"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Fedora spec file for php-doctrine-collections
|
||||
#
|
||||
# Copyright (c) 2013-2022 Shawn Iwinski, Remi Collet
|
||||
# Copyright (c) 2013-2020 Shawn Iwinski <shawn.iwinski@gmail.com>
|
||||
#
|
||||
# License: MIT
|
||||
# http://opensource.org/licenses/MIT
|
||||
|
|
@ -11,17 +11,14 @@
|
|||
|
||||
%global github_owner doctrine
|
||||
%global github_name collections
|
||||
%global github_version 1.8.0
|
||||
%global github_commit 2b44dd4cbca8b5744327de78bafef5945c7e7b5e
|
||||
%global github_version 1.6.9
|
||||
%global github_commit 1269d42c03f8a1cc9b56a1b727568423268a191b
|
||||
|
||||
%global composer_vendor doctrine
|
||||
%global composer_project collections
|
||||
|
||||
# "php": "^7.1.3 || ^8.0"
|
||||
%global php_min_ver 7.1.3
|
||||
# "doctrine/deprecations": "^0.5.3 || ^1"
|
||||
%global doctrine_depr_min_ver 1
|
||||
%global doctrine_depr_max_ver 2
|
||||
|
||||
# Build using "--without tests" to disable tests
|
||||
%bcond_without tests
|
||||
|
|
@ -30,7 +27,7 @@
|
|||
|
||||
Name: php-%{composer_vendor}-%{composer_project}
|
||||
Version: %{github_version}
|
||||
Release: 8%{?github_release}%{?dist}
|
||||
Release: 1%{?github_release}%{?dist}
|
||||
Summary: Collections abstraction library
|
||||
|
||||
License: MIT
|
||||
|
|
@ -48,17 +45,15 @@ BuildArch: noarch
|
|||
%global phpunit %{_bindir}/phpunit9
|
||||
BuildRequires: %{phpunit}
|
||||
BuildRequires: php(language) >= %{php_min_ver}
|
||||
BuildRequires: (php-composer(doctrine/deprecations) >= %{doctrine_depr_min_ver} with php-composer(doctrine/deprecations) < %{doctrine_depr_max_ver})
|
||||
## phpcompatinfo (computed from version 1.6.0)
|
||||
BuildRequires: php-pcre
|
||||
BuildRequires: php-spl
|
||||
%endif
|
||||
# Autoloader
|
||||
BuildRequires: php-fedora-autoloader-devel
|
||||
BuildRequires: php-composer(fedora/autoloader)
|
||||
%endif
|
||||
|
||||
# composer.json
|
||||
Requires: php(language) >= %{php_min_ver}
|
||||
Requires: (php-composer(doctrine/deprecations) >= %{doctrine_depr_min_ver} with php-composer(doctrine/deprecations) < %{doctrine_depr_max_ver})
|
||||
# phpcompatinfo (computed from version 1.6.0)
|
||||
Requires: php-pcre
|
||||
Requires: php-spl
|
||||
|
|
@ -83,14 +78,15 @@ Autoloader: %{phpdir}/Doctrine/Common/Collections/autoload.php
|
|||
|
||||
%build
|
||||
: Create autoloader
|
||||
phpab --template fedora \
|
||||
--output lib/Doctrine/Common/Collections/autoload.php \
|
||||
lib/Doctrine/Common/Collections
|
||||
cat <<'AUTOLOAD' | tee lib/Doctrine/Common/Collections/autoload.php
|
||||
<?php
|
||||
/**
|
||||
* Autoloader for %{name} and its' dependencies
|
||||
* (created by %{name}-%{version}-%{release}).
|
||||
*/
|
||||
require_once '%{phpdir}/Fedora/Autoloader/autoload.php';
|
||||
|
||||
cat <<'AUTOLOAD' | tee -a lib/Doctrine/Common/Collections/autoload.php
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'%{phpdir}/Doctrine/Deprecations/autoload.php',
|
||||
]);
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Doctrine\\Common\\Collections\\', __DIR__);
|
||||
AUTOLOAD
|
||||
|
||||
|
||||
|
|
@ -110,7 +106,7 @@ BOOTSTRAP
|
|||
|
||||
: Upstream tests
|
||||
SCL_RETURN_CODE=0
|
||||
for CMD in "php %{phpunit}" php74 php80 php81 php82; do
|
||||
for CMD in "php %{phpunit}" php73 php74 php80 php81; do
|
||||
if which $CMD; then
|
||||
set $CMD
|
||||
$1 ${2:-%{_bindir}/phpunit9} --verbose --bootstrap bootstrap.php \
|
||||
|
|
@ -133,43 +129,8 @@ exit $SCL_RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Sep 30 2022 Remi Collet <remi@remirepo.net> - 1.8.0-1
|
||||
- update to 1.8.0
|
||||
|
||||
* Mon Sep 26 2022 Remi Collet <remi@remirepo.net> - 1.7.3-1
|
||||
- update to 1.7.3
|
||||
|
||||
* Fri Sep 9 2022 Remi Collet <remi@remirepo.net> - 1.7.2-1
|
||||
- update to 1.7.2
|
||||
- switch to classmap autoloader
|
||||
- add dependency on doctrine/deprecations
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
* Fri Sep 9 2022 Remi Collet <remi@remirepo.net> - 1.6.9-1
|
||||
- update to 1.6.9
|
||||
|
||||
* Wed Aug 11 2021 Remi Collet <remi@remirepo.net> - 1.6.8-1
|
||||
- update to 1.6.8
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-doctrine-collections-1.8.0-2b44dd4cbca8b5744327de78bafef5945c7e7b5e.tar.gz) = c3595152e9e52ba66b280cb775f8ec5171cbd6f83de8abf1a8fe7efefa5d4fb31ea1aba18de5a99e9f14c0af7642ada89434a147db169205a124271de44ec582
|
||||
SHA512 (php-doctrine-collections-1.6.9-1269d42c03f8a1cc9b56a1b727568423268a191b.tar.gz) = 0afd09226627192f976460b732cb6f1dcca8c7c6abf3cba1708df588d74c09c5724c084ded24c025379514f5aeb53a673f81cbb94bad0b471a06bfdbab39f8fc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue