Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Remi Collet
c9cbf1578f v1.0.2
(cherry picked from commit d689d5a17b)
2021-10-04 08:38:55 +02:00
Remi Collet
c4994016c3 v1.0.1
(cherry picked from commit b271839b9c)
2021-08-10 07:30:45 +02:00
3 changed files with 14 additions and 8 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
/php-yoast-phpunit-polyfills-0.2.0-c48e4cf.tgz
/php-yoast-phpunit-polyfills-1.0.0-5d257d5.tgz
/php-yoast-phpunit-polyfills-1.0.1-f014fb2.tgz
/php-yoast-phpunit-polyfills-1.0.2-1a582ab.tgz

View file

@ -7,7 +7,7 @@
# Please preserve changelog entries
#
# Github
%global gh_commit 5d257d5a6977137016f3df440ce640ce72ffd61a
%global gh_commit 1a582ab1d91e86aa450340c4d35631a85314ff9f
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner Yoast
%global gh_project PHPUnit-Polyfills
@ -23,7 +23,7 @@
%global php_home %{_datadir}/php
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 1.0.0
Version: 1.0.2
Release: 1%{?dist}
Summary: Set of polyfills for changed PHPUnit functionality
@ -38,9 +38,7 @@ BuildArch: noarch
BuildRequires: php(language) >= 5.4
BuildRequires: php-reflection
# From composer.json, "require-dev": {
# "php-parallel-lint/php-parallel-lint": "^1.3.0",
# "php-parallel-lint/php-console-highlighter": "^0.5",
# "yoast/yoastcs": "^2.1.0"
# "yoast/yoastcs": "^2.2.0"
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
BuildRequires: phpunit9
%endif
@ -120,14 +118,14 @@ if [ -x %{_bindir}/phpunit7 ]; then
done
fi
if [ -x %{_bindir}/phpunit8 ]; then
for cmd in php php72 php73 php74; do
for cmd in php php72 php73 php74 php80 php81; do
if which $cmd; then
$cmd %{_bindir}/phpunit8 --no-coverage --verbose || ret=1
fi
done
fi
if [ -x %{_bindir}/phpunit9 ]; then
for cmd in php php73 php74 php80; do
for cmd in php php73 php74 php80 php81; do
if which $cmd; then
$cmd %{_bindir}/phpunit9 --no-coverage --verbose || ret=1
fi
@ -146,6 +144,12 @@ exit $ret
%changelog
* Mon Oct 4 2021 Remi Collet <remi@remirepo.net> - 1.0.2-1
- update to 1.0.2
* Tue Aug 10 2021 Remi Collet <remi@remirepo.net> - 1.0.1-1
- update to 1.0.1
* Mon Jun 21 2021 Remi Collet <remi@remirepo.net> - 1.0.0-1
- update to 1.0.0

View file

@ -1 +1 @@
SHA512 (php-yoast-phpunit-polyfills-1.0.0-5d257d5.tgz) = d10962a5663308156ad9d8c5e085f39e2abd552398a013b9ff89765fad471d30066ec0b5672323377212cdfed33648f5f226aa9b6d05a7aa3c12485885ed6cc8
SHA512 (php-yoast-phpunit-polyfills-1.0.2-1a582ab.tgz) = 1ab603a97b82fa05268981f0dbec3a0156cde2cd97dbd1458a87512eef3bfe71741e50de74f0eb99003931757a166f8c61fa62abe2b30d1758dda65fd2ff9e57