diff options
-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 |