summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pear-PHP-CodeSniffer.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec
index e71472d..0cb0927 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.3.2
+Version: 3.4.0
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@@ -25,13 +25,13 @@ 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:7
%else
-# remirepo:1
%if 0%{?fedora} >= 26
%global phpunit %{_bindir}/phpunit6
-# remirepo:3
%else
%global phpunit %{_bindir}/phpunit
%endif
@@ -96,7 +96,7 @@ install -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}
-# Version 3.3.2: Tests: 354, Assertions: 410, Skipped: 3.
+# Version 3.4.0: Tests: 364, Assertions: 419, Skipped: 3.
ret=0
for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72 php73; do
if which $cmdarg; then
@@ -129,6 +129,9 @@ fi
%changelog
+* Thu Dec 20 2018 Remi Collet <remi@remirepo.net> - 3.4.0-1
+- update to 3.4.0
+
* Mon Sep 24 2018 Remi Collet <remi@remirepo.net> - 3.3.2-1
- update to 3.3.2