summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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