Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a841058cf | ||
|
|
7e5d03e7c7 | ||
|
|
70a23a0020 | ||
|
|
d956f76a21 | ||
|
|
00bf1c4325 | ||
|
|
d9f14fd218 | ||
|
|
c23e2bca21 | ||
|
|
3e01ae8bcb | ||
|
|
23c313602b | ||
|
|
cf83f09549 | ||
|
|
cfc2e3f235 |
3 changed files with 45 additions and 11 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,3 +6,5 @@ clog
|
|||
/php-doctrine-instantiator-1.3.0-ae466f7.tgz
|
||||
/php-doctrine-instantiator-1.3.1-f350df0.tgz
|
||||
/php-doctrine-instantiator-1.4.0-d56bf61.tgz
|
||||
/php-doctrine-instantiator-1.4.1-10dcfce.tgz
|
||||
/php-doctrine-instantiator-1.5.0-0a0fa97.tgz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# remirepo/fedora spec file for php-doctrine-instantiator
|
||||
#
|
||||
# Copyright (c) 2014-2020 Remi Collet
|
||||
# Copyright (c) 2014-2023 Remi Collet
|
||||
# License: CC-BY-SA
|
||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||
#
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
# bootstrap needed when rebuilding PHPUnit for new major version
|
||||
%global bootstrap 0
|
||||
%global gh_commit d56bf6102915de5702778fe20f2de3b2fe570b5b
|
||||
%global gh_commit 0a0fa9780f5d4e507415a065172d26a98d02047b
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner doctrine
|
||||
%global gh_project instantiator
|
||||
|
|
@ -21,8 +21,8 @@
|
|||
%endif
|
||||
|
||||
Name: php-doctrine-instantiator
|
||||
Version: 1.4.0
|
||||
Release: 3%{?dist}
|
||||
Version: 1.5.0
|
||||
Release: 8%{?dist}
|
||||
Summary: Instantiate objects in PHP without invoking their constructors
|
||||
|
||||
License: MIT
|
||||
|
|
@ -38,11 +38,7 @@ BuildRequires: php-phar
|
|||
BuildRequires: php-pdo
|
||||
BuildRequires: php-reflection
|
||||
BuildRequires: php-spl
|
||||
%if 0%{?fedora} >=31 || 0%{?rhel} >= 9
|
||||
%global phpunit %{_bindir}/phpunit9
|
||||
%else
|
||||
%global phpunit %{_bindir}/phpunit8
|
||||
%endif
|
||||
BuildRequires: %{phpunit}
|
||||
%endif
|
||||
|
||||
|
|
@ -92,14 +88,17 @@ mkdir vendor
|
|||
tests
|
||||
cat << 'EOF' | tee -a vendor/autoload.php
|
||||
require "%{buildroot}%{_datadir}/php/Doctrine/Instantiator/autoload.php";
|
||||
Fedora\Autoloader\Autoload::addPsr0('DoctrineTest\\InstantiatorPerformance\\', dirname(__DIR__).'/tests');
|
||||
Fedora\Autoloader\Autoload::addPsr0('DoctrineTest\\InstantiatorTest\\', dirname(__DIR__).'/tests');
|
||||
Fedora\Autoloader\Autoload::addPsr0('DoctrineTest\\InstantiatorTestAsset\\', dirname(__DIR__).'/tests');
|
||||
EOF
|
||||
|
||||
: Run test suite
|
||||
ret=0
|
||||
for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do
|
||||
for cmdarg in "php %{phpunit}" php80 php81 php82; do
|
||||
if which $cmdarg; then
|
||||
set $cmdarg
|
||||
$1 -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \
|
||||
$1 -d auto_prepend_file=vendor/autoload.php \
|
||||
${2:-%{_bindir}/phpunit9} \
|
||||
--verbose || ret=1
|
||||
fi
|
||||
|
|
@ -118,6 +117,39 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Jan 3 2023 Remi Collet <remi@remirepo.net> - 1.5.0-1
|
||||
- update to 1.5.0
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Mar 3 2022 Remi Collet <remi@remirepo.net> - 1.4.1-1
|
||||
- update to 1.4.1
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-doctrine-instantiator-1.4.0-d56bf61.tgz) = 76d6a0f4c07ca85271f21b675ba867fd3b17862e7f1ae351bb8f917a8f2ac5c66d5e3b6372535d41884680440fa8a4d0ad9a0d3fc34628a8220d360968da7ed9
|
||||
SHA512 (php-doctrine-instantiator-1.5.0-0a0fa97.tgz) = 0ec9c5ea6a72fcbbd1752196de849c6530a09d95c7b86bed45b67639db39d1130f03c3bf6cfa373ed063298223c995a16fe219e09d849b5ce55a64ba7817062f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue