summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-21 08:45:49 +0200
committerRemi Collet <remi@remirepo.net>2021-06-21 08:45:49 +0200
commitff69fbe79b61e9ba31b49e277cc5010311db468f (patch)
tree63eed10c6849bff0afa081568bf4100883ca835d
parentcfbb431b6f417f24faef3903cebc4b52c1b7e360 (diff)
update to 2.0.4
-rw-r--r--php-bacon-qr-code2.spec17
1 files changed, 7 insertions, 10 deletions
diff --git a/php-bacon-qr-code2.spec b/php-bacon-qr-code2.spec
index 6e964d7..8011e2c 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-2020 Remi Collet
+# Copyright (c) 2017-2021 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 f73543ac4e1def05f1a70bcd1525c8a157a1ad09
%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.3
+Version: 2.0.4
Release: 1%{?dist}
Summary: QR code generator for PHP
@@ -53,13 +53,7 @@ BuildRequires: php-dasprid-enum
# "phpunit/phpunit": "^7 | ^8 | ^9",
# "squizlabs/php_codesniffer": "^3.1",
# "phly/keep-a-changelog": "^1.4"
-# remirepo:1
-%if 0%{?fedora} >= 32
%global phpunit %{_bindir}/phpunit9
-# remirepo:3
-%else
-%global phpunit %{_bindir}/phpunit8
-%endif
BuildRequires: %{phpunit}
# Required by autoloader
BuildRequires: php-composer(fedora/autoloader)
@@ -144,7 +138,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}" php73 php74 php80 php81; do
if which $cmd; then
set $cmd
$1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1
@@ -166,6 +160,9 @@ exit $ret
%changelog
+* Mon Jun 21 2021 Remi Collet <remi@remirepo.net> - 2.0.4-1
+- update to 2.0.4
+
* Fri Oct 30 2020 Remi Collet <remi@remirepo.net> - 2.0.3-1
- update to 2.0.3 (no change)