diff options
| author | Remi Collet <remi@remirepo.net> | 2017-07-03 15:43:10 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@remirepo.net> | 2017-07-03 15:43:10 +0200 | 
| commit | 3eed1e08bb1e0a313c4273253a2173e036928511 (patch) | |
| tree | df48142d5bbc1fe5ae35db88d84e2ab231ab20ee | |
| parent | bb698ac7cc14edd79fb88f6807f0e67f0da961e3 (diff) | |
run test suite only on 64-bit arch
| -rw-r--r-- | php-bacon-qr-code.spec | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/php-bacon-qr-code.spec b/php-bacon-qr-code.spec index 681cf07..6a80737 100644 --- a/php-bacon-qr-code.spec +++ b/php-bacon-qr-code.spec @@ -21,7 +21,7 @@  Name:           php-%{pk_project}  Version:        1.0.1 -Release:        2%{?dist} +Release:        4%{?dist}  Summary:        QR code generator for PHP  Group:          Development/Libraries @@ -101,6 +101,12 @@ cp -pr src/%{ns_project} %{buildroot}%{php_home}/%{ns_project}  %check  %if %{with_tests} +if php -r 'exit(PHP_INT_SIZE<8 ? 0 : 1);' +then +  : ignore test suite because of https://github.com/Bacon/BaconQrCode/issues/31 +  exit 0 +fi +  cd tests  cat << 'EOF' | tee bootstrap.php  <?php @@ -128,6 +134,9 @@ exit $ret  %changelog +* Mon Jul  3 2017 Remi Collet <remi@remirepo.net> - 1.0.1-4 +- run test suite only on 64-bit arch +  * Mon Jul  3 2017 Remi Collet <remi@remirepo.net> - 1.0.1-2  - fix directory ownership, from review #1465313  | 
