summaryrefslogtreecommitdiffstats
path: root/php-bacon-qr-code2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-bacon-qr-code2.spec')
-rw-r--r--php-bacon-qr-code2.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-bacon-qr-code2.spec b/php-bacon-qr-code2.spec
index 8011e2c..bf92496 100644
--- a/php-bacon-qr-code2.spec
+++ b/php-bacon-qr-code2.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-bacon-qr-code2
#
-# Copyright (c) 2017-2021 Remi Collet
+# Copyright (c) 2017-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -8,7 +8,7 @@
#
%bcond_without tests
-%global gh_commit f73543ac4e1def05f1a70bcd1525c8a157a1ad09
+%global gh_commit 7190fc6c20370e0e93da6717b182b8249d5b8e71
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner Bacon
%global gh_project BaconQrCode
@@ -22,7 +22,7 @@
%global major 2
Name: php-%{pk_project}%{major}
-Version: 2.0.4
+Version: 2.0.5
Release: 1%{?dist}
Summary: QR code generator for PHP
@@ -51,6 +51,7 @@ BuildRequires: php-dasprid-enum
%endif
# From composer.json, "require-dev": {
# "phpunit/phpunit": "^7 | ^8 | ^9",
+# "spatie/phpunit-snapshot-assertions": "^4.2.9",
# "squizlabs/php_codesniffer": "^3.1",
# "phly/keep-a-changelog": "^1.4"
%global phpunit %{_bindir}/phpunit9
@@ -131,6 +132,9 @@ then
exit 0
fi
+: ignore test using spatie/phpunit-snapshot-assertions
+rm test/Integration/ImagickRenderingTest.php
+
mkdir vendor
cat << 'EOF' | tee vendor/autoload.php
<?php
@@ -138,7 +142,7 @@ require '%{buildroot}%{php_home}/%{ns_project}%{major}/autoload.php';
EOF
ret=0
-for cmd in "php %{phpunit}" php73 php74 php80 php81; do
+for cmd in "php %{phpunit}" php74 php80 php81; do
if which $cmd; then
set $cmd
$1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1
@@ -160,6 +164,9 @@ exit $ret
%changelog
+* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 2.0.5-1
+- update to 2.0.5
+
* Mon Jun 21 2021 Remi Collet <remi@remirepo.net> - 2.0.4-1
- update to 2.0.4