Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf008e6b2e | ||
|
|
6d247a5d1a |
3 changed files with 13 additions and 29 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,4 +5,3 @@
|
|||
/php-doctrine-deprecations-1.1.2-4f2d4f2.tgz
|
||||
/php-doctrine-deprecations-1.1.3-dfbaa3c.tgz
|
||||
/php-doctrine-deprecations-1.1.4-31610db.tgz
|
||||
/php-doctrine-deprecations-1.1.5-459c2f5.tgz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# remirepo/fedora spec file for php-doctrine-deprecations
|
||||
#
|
||||
# SPDX-FileCopyrightText: Copyright 2021-2025 Remi Collet
|
||||
# SPDX-FileCopyrightText: Copyright 2021-2024 Remi Collet
|
||||
# SPDX-License-Identifier: CECILL-2.1
|
||||
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
|
||||
#
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
%bcond_without tests
|
||||
|
||||
%global gh_commit 459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38
|
||||
%global gh_commit 31610dbb31faa98e6b5447b62340826f54fbc4e9
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner doctrine
|
||||
%global gh_project deprecations
|
||||
|
|
@ -21,8 +21,8 @@
|
|||
%global ns_project Deprecations
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}
|
||||
Version: 1.1.5
|
||||
Release: 2%{?dist}
|
||||
Version: 1.1.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A small layer on top of triggeFr_error or PSR-3 logging
|
||||
|
||||
License: MIT
|
||||
|
|
@ -36,14 +36,13 @@ BuildRequires: php-fedora-autoloader-devel
|
|||
%if %{with tests}
|
||||
# From composer.json
|
||||
# "require-dev": {
|
||||
# "doctrine/coding-standard": "^9 || ^12 || ^13",
|
||||
# "phpstan/phpstan": "1.4.10 || 2.1.11",
|
||||
# "doctrine/coding-standard": "^9 || ^12",
|
||||
# "phpstan/phpstan": "1.4.10 || 2.0.3",
|
||||
# "phpstan/phpstan-phpunit": "^1.0 || ^2",
|
||||
# "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12",
|
||||
# "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
|
||||
# "psr/log": "^1 || ^2 || ^3"
|
||||
BuildRequires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 4)
|
||||
%global phpunit %{_bindir}/phpunit12
|
||||
BuildRequires: phpunit12
|
||||
BuildRequires: phpunit9 >= 9.5
|
||||
%endif
|
||||
|
||||
# From composer.json
|
||||
|
|
@ -125,13 +124,12 @@ cat << 'EOF' | tee -a vendor/autoload.php
|
|||
EOF
|
||||
|
||||
ret=0
|
||||
for cmd in "php %{phpunit}" "php81 %{_bindir}/phpunit10" "php82 %{_bindir}/phpunit11" "php83 %{_bindir}/phpunit12" "php84 %{_bindir}/phpunit12"; do
|
||||
for cmd in php php81 php82 php83 php84; do
|
||||
if which $cmd; then
|
||||
set $cmd
|
||||
$1 -d auto_prepend_file=vendor/autoload.php \
|
||||
$2 \
|
||||
$cmd -d auto_prepend_file=vendor/autoload.php \
|
||||
%{_bindir}/phpunit9 \
|
||||
--filter '^((?!(testDeprecationTrackByEnv)).)*$' \
|
||||
|| ret=1
|
||||
--verbose || ret=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
@ -149,23 +147,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Apr 8 2025 Remi Collet <remi@remirepo.net> - 1.1.5-1
|
||||
- update to 1.1.5 (no change)
|
||||
- switch to phpunit12
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Dec 9 2024 Remi Collet <remi@remirepo.net> - 1.1.4-1
|
||||
- update to 1.1.4
|
||||
- re-license spec file to CECILL-2.1
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 31 2024 Remi Collet <remi@remirepo.net> - 1.1.3-1
|
||||
- update to 1.1.3 (no change)
|
||||
- Fix FTBFS #2261475
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-doctrine-deprecations-1.1.5-459c2f5.tgz) = 22cbc2e1322e7cf08d56ba0bda29032af9c241e94efd9da05bbddd68ca96d12c04c1a1beee101d6e833f81656b09ca57937fa75a00b24985a15a4dbbce914080
|
||||
SHA512 (php-doctrine-deprecations-1.1.4-31610db.tgz) = 67298e3ad57d1ff1995862f14b882d2117df50762ccefe0c70bcb5fa2069c450d7453bfc4776a1ab127f94d41a74490138ba4dfa3af5752d3f80e660fcfa2f72
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue