diff options
author | Remi Collet <remi@remirepo.net> | 2017-08-06 09:16:25 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-08-06 09:16:25 +0200 |
commit | 9754261e07c87bd32afd1298884d4ce3ec167dee (patch) | |
tree | 9fe847fa736ad5cd43c3fb30d06ce29d89424286 | |
parent | 9a6e9477171741e9cce26a0b6e57dc0ca4870b33 (diff) |
refresh, new snapshot
-rw-r--r-- | composer.json | 6 | ||||
-rw-r--r-- | php-nette-tester.spec | 30 |
2 files changed, 20 insertions, 16 deletions
diff --git a/composer.json b/composer.json index a244043..4ba4bd6 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { "name": "nette/tester", - "description": "An easy-to-use PHP unit testing framework.", + "description": "Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏", "homepage": "https://tester.nette.org", - "keywords": ["testing", "unit", "nette"], + "keywords": ["testing", "unit", "nette", "phpunit", "code coverage", "xdebug", "phpdbg", "clover", "assertions"], "license": ["BSD-3-Clause", "GPL-2.0", "GPL-3.0"], "authors": [ { @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=5.4.0" + "php": ">=5.6.0" }, "autoload": { "classmap": ["src/"] diff --git a/php-nette-tester.spec b/php-nette-tester.spec index 374ca6d..c742ce9 100644 --- a/php-nette-tester.spec +++ b/php-nette-tester.spec @@ -6,8 +6,8 @@ # # Please, preserve the changelog entries # -%global gh_commit 72dbafd21029770cb0ea01fceb2cb344bf13bd91 -%global gh_date 20161216 +%global gh_commit 900febd77046ba9018720dbae0946db9ec37b50f +%global gh_date 20170731 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nette %global gh_project tester @@ -16,8 +16,8 @@ Name: php-nette-tester Version: 2.0.0 -%global specrel 2 -Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} +%global specrel 4 +Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}.%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: An easy-to-use PHP unit testing framework Group: Development/Libraries @@ -30,7 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-composer(theseer/autoload) %if %{with_tests} -BuildRequires: php(language) >= 5.4 +BuildRequires: php(language) >= 5.6 BuildRequires: php-cli BuildRequires: php-date BuildRequires: php-dom @@ -48,8 +48,8 @@ BuildRequires: glibc-langpack-fr %endif # from composer.json -# "php": ">=5.4.0" -Requires: php(language) >= 5.4 +# "php": ">=5.6.0" +Requires: php(language) >= 5.6 # from phpcompatinfo report for version 2.0.0 Requires: php-cli Requires: php-date @@ -101,23 +101,23 @@ install -Dpm 755 nette-tester %{buildroot}%{_bindir}/nette-tester cat /etc/php.ini /etc/php.d/*ini >php.ini export LANG=fr_FR.utf8 -# remirepo:13 +# remirepo:14 ret=0 run=0 if which php56; then cat /opt/remi/php56/root/etc/php.ini /opt/remi/php56/root/etc/php.d/*ini >php.ini php56 src/tester.php --colors 0 -p php56 -c ./php.ini tests -s || ret=1 - run=1 fi if which php71; then cat /etc/opt/remi/php71/php.ini /etc/opt/remi/php71/php.d/*ini >php.ini php71 src/tester.php --colors 0 -p php71 -c ./php.ini tests -s || ret=1 - run=1 fi -if [ $run -eq 0 ]; then -php src/tester.php --colors 0 -p php -c ./php.ini tests -s -# remirepo:2 +if which php72; then + cat /etc/opt/remi/php72/php.ini /etc/opt/remi/php72/php.d/*ini >php.ini + php72 src/tester.php --colors 0 -p php72 -c ./php.ini tests -s || ret=1 fi +php src/tester.php --colors 0 -p php -c ./php.ini tests -s +# remirepo:1 exit $ret %else : Test suite disabled @@ -139,6 +139,10 @@ rm -rf %{buildroot} %changelog +* Sun Aug 6 2017 Remi Collet <remi@fedoraproject.org> - 2.0.0-0.4.20170731.900febd +- refresh +- raise dependency on PHP 5.6 + * Wed Dec 21 2016 Remi Collet <remi@fedoraproject.org> - 2.0.0-0.2.20161216git72dbafd - refresh |