diff options
Diffstat (limited to 'atoum.spec')
-rw-r--r-- | atoum.spec | 23 |
1 files changed, 18 insertions, 5 deletions
@@ -11,15 +11,14 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit c5279d0ecd4e2d53af6b38815db2cafee8fc46b6 +%global gh_commit 35714b3044ccbfea6d9d78a7a7107347ee1b5ce9 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) Name: atoum -Version: 3.3.0 +Version: 3.4.1 Release: 1%{?dist} Summary: PHP Unit Testing framework -Group: Development/Libraries License: BSD URL: http://atoum.org Source0: https://github.com/%{name}/%{name}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz @@ -118,6 +117,9 @@ rm scripts/git/.tag tests/units/classes/scripts/git/.tag sed -i bin/%{name} \ -e "s|__DIR__ . '/../|'%{_datadir}/%{name}/|" +sed -i constants.php \ + -e "s/dev-master/%{version}/" + %build # Empty build section @@ -142,12 +144,16 @@ echo "date.timezone=UTC" >php.ini export PHPRC=$(pwd)/php.ini ret=0 -for cmd in php php56 php70 php71 php72 php73 php74; do +for cmd in php php72 php73 php74; do if which $cmd; then $cmd runner.php --use-dot-report --max-children-number 4 --directories . || ret=1 fi done -exit $ret + +if [ $(php -r 'echo PHP_VERSION_ID;') -lt 70400 ] +then + exit $ret +fi %else : Tests skipped %endif @@ -164,6 +170,13 @@ exit $ret %changelog +* Thu Jan 23 2020 Remi Collet <remi@remirepo.net> - 3.4.1-1 +- update to 3.4.1 + +* Thu Jan 2 2020 Remi Collet <remi@remirepo.net> - 3.4.0-2 +- update to 3.4.0 +- fix reported version + * Fri Mar 16 2018 Remi Collet <remi@remirepo.net> - 3.3.0-1 - update to 3.3.0 - undefine __brp_mangle_shebangs |