summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-10-11 09:36:26 +0200
committerRemi Collet <remi@php.net>2021-10-11 09:36:26 +0200
commit8a702526b7a60cc36de660e4d37c5448e9cf355e (patch)
tree40721bef09d026d3d88d3ce0aaa1e2c89573293b
parente7111d38a58453733b2dd9ce5ddcbb3d09680e20 (diff)
update to 3.6.1HEADmaster
-rw-r--r--php-pear-PHP-CodeSniffer.spec13
1 files changed, 5 insertions, 8 deletions
diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec
index d236348..87bbd14 100644
--- a/php-pear-PHP-CodeSniffer.spec
+++ b/php-pear-PHP-CodeSniffer.spec
@@ -13,7 +13,7 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
-Version: 3.6.0
+Version: 3.6.1
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@@ -25,13 +25,7 @@ BuildArch: noarch
BuildRequires: php(language) >= 5.4
BuildRequires: php-pear
# to run test suite
-# remirepo:1
-%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
%global phpunit %{_bindir}/phpunit7
-# remirepo:3
-%else
-%global phpunit %{_bindir}/phpunit
-%endif
BuildRequires: %{phpunit}
Requires(post): %{__pear}
@@ -102,7 +96,7 @@ sed -e "/@copyright/s/2020/${YEAR}/" \
# Version 3.6.0: Tests: 1183, Assertions: 8128, Skipped: 8.
ret=0
-for cmdarg in "php %{phpunit}" php73 php74 php80; do
+for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do
if which $cmdarg; then
set $cmdarg
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
@@ -134,6 +128,9 @@ fi
%changelog
+* Mon Oct 11 2021 Remi Collet <remi@remirepo.net> - 3.6.1-1
+- update to 3.6.1
+
* Fri Apr 9 2021 Remi Collet <remi@remirepo.net> - 3.6.0-1
- update to 3.6.0