Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e6e375fe0 | ||
|
|
a50994bca1 |
3 changed files with 22 additions and 35 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,3 +3,5 @@
|
||||||
/php-yoast-phpunit-polyfills-1.0.1-f014fb2.tgz
|
/php-yoast-phpunit-polyfills-1.0.1-f014fb2.tgz
|
||||||
/php-yoast-phpunit-polyfills-1.0.2-1a582ab.tgz
|
/php-yoast-phpunit-polyfills-1.0.2-1a582ab.tgz
|
||||||
/php-yoast-phpunit-polyfills-1.0.3-5ea3536.tgz
|
/php-yoast-phpunit-polyfills-1.0.3-5ea3536.tgz
|
||||||
|
/php-yoast-phpunit-polyfills-1.0.4-3c621ff.tgz
|
||||||
|
/php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
# remirepo/fedora spec file for php-yoast-phpunit-polyfills
|
# remirepo/fedora spec file for php-yoast-phpunit-polyfills
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 Remi Collet
|
# Copyright (c) 2020-2023 Remi Collet
|
||||||
# License: CC-BY-SA
|
# License: CC-BY-SA-4.0
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||||
#
|
#
|
||||||
# Please preserve changelog entries
|
# Please preserve changelog entries
|
||||||
#
|
#
|
||||||
# Github
|
# Github
|
||||||
%global gh_commit 5ea3536428944955f969bc764bbe09738e151ada
|
%global gh_commit 3b59adeef77fb1c03ff5381dbb9d68b0aaff3171
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_owner Yoast
|
%global gh_owner Yoast
|
||||||
%global gh_project PHPUnit-Polyfills
|
%global gh_project PHPUnit-Polyfills
|
||||||
|
|
@ -23,11 +23,11 @@
|
||||||
%global php_home %{_datadir}/php
|
%global php_home %{_datadir}/php
|
||||||
|
|
||||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||||
Version: 1.0.3
|
Version: 1.0.5
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Set of polyfills for changed PHPUnit functionality
|
Summary: Set of polyfills for changed PHPUnit functionality
|
||||||
|
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/%{gh_owner}/%{gh_project}
|
URL: https://github.com/%{gh_owner}/%{gh_project}
|
||||||
# git snapshot to get upstream test suite
|
# git snapshot to get upstream test suite
|
||||||
Source0: %{name}-%{version}-%{gh_short}.tgz
|
Source0: %{name}-%{version}-%{gh_short}.tgz
|
||||||
|
|
@ -38,17 +38,11 @@ BuildArch: noarch
|
||||||
BuildRequires: php(language) >= 5.4
|
BuildRequires: php(language) >= 5.4
|
||||||
BuildRequires: php-reflection
|
BuildRequires: php-reflection
|
||||||
# From composer.json, "require-dev": {
|
# From composer.json, "require-dev": {
|
||||||
# "yoast/yoastcs": "^2.2.0"
|
# "yoast/yoastcs": "^2.3.0"
|
||||||
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
|
|
||||||
BuildRequires: phpunit9
|
BuildRequires: phpunit9
|
||||||
%endif
|
|
||||||
BuildRequires: phpunit8
|
BuildRequires: phpunit8
|
||||||
%if 0%{?fedora} < 35 && 0%{?rhel} < 9
|
|
||||||
BuildRequires: phpunit7
|
|
||||||
BuildRequires: phpunit
|
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: php-fedora-autoloader-devel
|
BuildRequires: php-fedora-autoloader-devel
|
||||||
%endif
|
|
||||||
|
|
||||||
# From composer.json, "require": {
|
# From composer.json, "require": {
|
||||||
# "php": ">=5.4",
|
# "php": ">=5.4",
|
||||||
|
|
@ -97,37 +91,22 @@ EOF
|
||||||
: Run upstream test suite
|
: Run upstream test suite
|
||||||
ret=0
|
ret=0
|
||||||
if [ -x %{_bindir}/phpunit ]; then
|
if [ -x %{_bindir}/phpunit ]; then
|
||||||
for cmd in php php71 php72 php73 php74; do
|
%{_bindir}/phpunit --no-coverage || ret=1
|
||||||
if which $cmd; then
|
|
||||||
$cmd %{_bindir}/phpunit --no-coverage --verbose || ret=1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
if [ -x %{_bindir}/phpunit6 ]; then
|
|
||||||
for cmd in php php71 php72 php73 php74; do
|
|
||||||
if which $cmd; then
|
|
||||||
$cmd %{_bindir}/phpunit6 --no-coverage --verbose || ret=1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
if [ -x %{_bindir}/phpunit7 ]; then
|
if [ -x %{_bindir}/phpunit7 ]; then
|
||||||
for cmd in php php71 php72 php73 php74; do
|
%{_bindir}/phpunit7 --no-coverage || ret=1
|
||||||
if which $cmd; then
|
|
||||||
$cmd %{_bindir}/phpunit7 --no-coverage --verbose || ret=1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
if [ -x %{_bindir}/phpunit8 ]; then
|
if [ -x %{_bindir}/phpunit8 ]; then
|
||||||
for cmd in php php72 php73 php74 php80 php81; do
|
for cmd in php php80 php81 php82; do
|
||||||
if which $cmd; then
|
if which $cmd; then
|
||||||
$cmd %{_bindir}/phpunit8 --no-coverage --verbose || ret=1
|
$cmd %{_bindir}/phpunit8 --no-coverage || ret=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [ -x %{_bindir}/phpunit9 ]; then
|
if [ -x %{_bindir}/phpunit9 ]; then
|
||||||
for cmd in php php73 php74 php80 php81; do
|
for cmd in php php80 php81 php82; do
|
||||||
if which $cmd; then
|
if which $cmd; then
|
||||||
$cmd %{_bindir}/phpunit9 --no-coverage --verbose || ret=1
|
$cmd %{_bindir}/phpunit9 --no-coverage || ret=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
@ -144,6 +123,12 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 31 2023 Remi Collet <remi@remirepo.net> - 1.0.5-1
|
||||||
|
- update to 1.0.5
|
||||||
|
|
||||||
|
* Wed Nov 16 2022 Remi Collet <remi@remirepo.net> - 1.0.4-1
|
||||||
|
- update to 1.0.4
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (php-yoast-phpunit-polyfills-1.0.3-5ea3536.tgz) = 1aa68a35e4d48d8c5581e643c829cbfacc37ede7ca5d5772bf69011b4fe6fb566f450506f837ab13e1729fbc5fdc213c99d37c3f1e367f93ccd1a02976d39c52
|
SHA512 (php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz) = 3596d3d81302ac2edb073829427ef6ce5086e199bc9495400310e21f9200164e8acef9af393141877fb3903bcbd9591d9e5c4d6319ca0f06616cf40d9d56a9d0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue