summaryrefslogtreecommitdiffstats
path: root/php-webimpress-safe-writer.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-25 14:23:52 +0200
committerRemi Collet <remi@remirepo.net>2020-08-25 14:23:52 +0200
commitd154eebe19e40236fa40493f9dacf0178861384f (patch)
treeb78ad40f1e204611fe0884393c3f381aba2cc3f8 /php-webimpress-safe-writer.spec
parentb937d2c18d477fc5490181057949a5819be259f5 (diff)
update to 2.1.0
Diffstat (limited to 'php-webimpress-safe-writer.spec')
-rw-r--r--php-webimpress-safe-writer.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-webimpress-safe-writer.spec b/php-webimpress-safe-writer.spec
index 3b524a9..a3cad0e 100644
--- a/php-webimpress-safe-writer.spec
+++ b/php-webimpress-safe-writer.spec
@@ -12,13 +12,13 @@
%global github_owner webimpress
%global github_name safe-writer
-%global github_version 2.0.0
-%global github_commit d03bea3b98abe1d4c8b24cbebf524361ffaafee4
+%global github_version 2.1.0
+%global github_commit 5cfafdec5873c389036f14bf832a5efc9390dcdd
%global composer_vendor webimpress
%global composer_project safe-writer
-# "php": "^7.2"
+# "php": "^7.2 || ^8.0"
%global php_min_ver 7.2
# Build using "--without tests" to disable tests
@@ -44,7 +44,7 @@ BuildArch: noarch
%if %{with_tests}
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
-BuildRequires: phpunit8
+BuildRequires: phpunit8 >= 8.5.8
## phpcompatinfo for version 2.0.0
BuildRequires: php-json
BuildRequires: php-spl
@@ -103,7 +103,7 @@ sed 's/function testMultipleWriters/function SKIP_testMultipleWriters/' \
: Upstream tests
RETURN_CODE=0
PHPUNIT=$(which phpunit8)
-for PHP_EXEC in php php72 php73 php74; do
+for PHP_EXEC in php php72 php73 php74 php80; do
if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then
$PHP_EXEC $PHPUNIT --verbose \
--bootstrap %{buildroot}%{phpdir}/Webimpress/SafeWriter/autoload.php \
@@ -126,5 +126,8 @@ exit $RETURN_CODE
%changelog
+* Tue Aug 25 2020 Remi Collet <remi@remirepo.net> - 2.1.0-1
+- update to 2.1.0
+
* Sun Feb 23 2020 Shawn Iwinski <shawn@iwin.ski> - 2.0.0-1
- Initial package