Compare commits

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

2 commits

Author SHA1 Message Date
Remi Collet
feb86bc6b7 v2.0.7
(cherry picked from commit b1494117e4)
2022-03-14 09:13:45 +01:00
Remi Collet
7a482c1a94 v2.0.5
(cherry picked from commit 386c6ca17b)
2022-01-31 09:21:57 +01:00
3 changed files with 19 additions and 6 deletions

3
.gitignore vendored
View file

@ -4,3 +4,6 @@
/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
/php-bacon-qr-code2-2.0.6-0069435.tgz
/php-bacon-qr-code2-2.0.7-d70c840.tgz

View file

@ -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 d70c840f68657ce49094b8d91f9ee0cc07fbf66c
%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.4
Release: 2%{?dist}
Version: 2.0.7
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}" 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
@ -145,6 +149,12 @@ exit $ret
%changelog
* Mon Mar 14 2022 Remi Collet <remi@remirepo.net> - 2.0.7-1
- update to 2.0.7
* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 2.0.5-1
- update to 2.0.5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (php-bacon-qr-code2-2.0.4-f73543a.tgz) = bca1b85a34ed646894d89e1eb4a53dccac92059d88570911314bc2dd8783e6065886e3d6329c5e9da7d26791bad08c221b62d7f7ea89709a8ed9d202b85a8e31
SHA512 (php-bacon-qr-code2-2.0.7-d70c840.tgz) = 9a2fe5922b7df06bf2d91af59287fd7b76e71f129ec192e14be60783f4cb4167f864db2644d60e784a6fef2385bca4e4e82d7f4066602b793f0062d5dc253a85