diff options
Diffstat (limited to 'php-nette-tester.spec')
-rw-r--r-- | php-nette-tester.spec | 30 |
1 files changed, 17 insertions, 13 deletions
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 |