Remi Collet 8 years ago
parent 8ea723c2e9
commit 5948e3e23d

1
.gitignore vendored

@ -13,3 +13,4 @@ clog
/PHP_CodeSniffer-2.6.2.tgz
/PHP_CodeSniffer-2.7.0.tgz
/PHP_CodeSniffer-2.7.1.tgz
/PHP_CodeSniffer-2.8.0.tgz

@ -1,6 +1,6 @@
# spec file for php-pear-PHP-CodeSniffer
#
# Copyright (c) 2013-2016 Remi Collet
# Copyright (c) 2013-2017 Remi Collet
# Copyright (c) 2009-2013 Christof Damian
# Copyright (c) 2006-2009 Konstantin Ryabitsev
#
@ -13,7 +13,7 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
Version: 2.7.1
Version: 2.8.0
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@ -33,7 +33,7 @@ Requires(post): %{__pear}
Requires(postun): %{__pear}
# From package.xml
Requires: php-pear(PEAR)
# From phpcompatinfo report for version 2.3.4
# From phpcompatinfo report for version 2.8.0
Requires: php-ctype
Requires: php-date
Requires: php-dom
@ -86,8 +86,14 @@ install -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}/tests
# Version 2.7.0: Tests: 236, Assertions: 90, Skipped: 3.
%{_bindir}/phpunit AllTests.php
# Version 2.8.0: Tests: 238, Assertions: 92, Skipped: 3.
ret=0
for cmd in php php56 php70 php71; do
if which $cmd; then
$cmd %{_bindir}/phpunit AllTests.php || ret=1
fi
done
exit $ret
%post
@ -113,6 +119,9 @@ fi
%changelog
* Thu Feb 02 2017 Remi Collet <remi@fedoraproject.org> - 2.8.0-1
- Update to 2.8.0
* Wed Nov 30 2016 Remi Collet <remi@fedoraproject.org> - 2.7.1-1
- Update to 2.7.1

@ -1 +1 @@
fd6bded59396b8842f969620bfc1e9aa PHP_CodeSniffer-2.7.1.tgz
SHA512 (PHP_CodeSniffer-2.8.0.tgz) = afbfd1121f67989d442ae2529081ea41a735cecee1aeb335f2a235a94bddeb92d6939bc5fb13b7a07466428e585e2b816d6ee06731595693ca594f28fec65a12

Loading…
Cancel
Save