Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Remi Collet
1c7e221174 v2.0.5
(cherry picked from commit 386c6ca17b)
2022-01-31 09:23:43 +01:00
3 changed files with 15 additions and 6 deletions

2
.gitignore vendored
View file

@ -3,3 +3,5 @@
/php-bacon-qr-code2-2.0.1-6e53ced.tgz
/php-bacon-qr-code2-2.0.2-add6d9f.tgz
/php-bacon-qr-code2-2.0.3-3e9d791.tgz
/php-bacon-qr-code2-2.0.4-f73543a.tgz
/php-bacon-qr-code2-2.0.5-7190fc6.tgz

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-bacon-qr-code2
#
# Copyright (c) 2017-2020 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 3e9d791b67d0a2912922b7b7c7312f4b37af41e4
%global gh_commit 7190fc6c20370e0e93da6717b182b8249d5b8e71
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner Bacon
%global gh_project BaconQrCode
@ -22,8 +22,8 @@
%global major 2
Name: php-%{pk_project}%{major}
Version: 2.0.3
Release: 2%{?dist}
Version: 2.0.5
Release: 1%{?dist}
Summary: QR code generator for PHP
Group: Development/Libraries
@ -45,6 +45,7 @@ BuildRequires: php-reflection
BuildRequires: (php-composer(dasprid/enum) >= 1.0 with php-composer(dasprid/enum) < 2)
# 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
@ -118,6 +119,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
@ -125,7 +129,7 @@ require '%{buildroot}%{php_home}/%{ns_project}%{major}/autoload.php';
EOF
ret=0
for cmd in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do
for cmd in "php %{phpunit}" php74 php80 php81; do
if which $cmd; then
set $cmd
$1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1
@ -145,6 +149,9 @@ exit $ret
%changelog
* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 2.0.5-1
- update to 2.0.5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (php-bacon-qr-code2-2.0.3-3e9d791.tgz) = d4e239f8be5b9e81060d2ab2bba03827b6d45530b86aae3fa7f7af31901e694e85c9c7a20b1782ce99c645194f939fcd1f2aeb2885869d0486936eed9a384c81
SHA512 (php-bacon-qr-code2-2.0.5-7190fc6.tgz) = 73aa78d5591585cb4515d95b50b0574bb1bc55b7a01a0234252baae0d7177eb9db22c0096f279b57b19472cb509184ca146d5fa53b901221729b21147ba349ce