|
|
|
@ -9,13 +9,13 @@
|
|
|
|
|
#
|
|
|
|
|
# Please, preserve the changelog entries
|
|
|
|
|
#
|
|
|
|
|
%{!?__pear: %global __pear %{_bindir}/pear}
|
|
|
|
|
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
|
|
|
|
|
%{!?__pear: %global __pear %{_bindir}/pear}
|
|
|
|
|
%global pear_name PHP_CodeSniffer
|
|
|
|
|
|
|
|
|
|
Name: php-pear-PHP-CodeSniffer
|
|
|
|
|
Version: 2.5.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: PHP coding standards enforcement tool
|
|
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
@ -90,6 +90,10 @@ cd %{pear_name}-%{version}/tests
|
|
|
|
|
# Version 2.3.4: Tests: 222, Assertions: 69, Skipped: 4.
|
|
|
|
|
%{_bindir}/phpunit AllTests.php
|
|
|
|
|
|
|
|
|
|
if which php70; then
|
|
|
|
|
php70 %{_bindir}/phpunit AllTests.php
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%{__pear} install --nodeps --soft --force --register-only \
|
|
|
|
@ -114,6 +118,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 04 2016 Remi Collet <remi@fedoraproject.org> - 2.6.0-1
|
|
|
|
|
- Update to 2.6.0
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|