From c0880c7ac53e0f5dba35307967afaee1ff9c40e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Feb 2020 13:44:28 +0100 Subject: [PATCH] update to 1.7.4 switch to phpunit7 (cherry picked from commit 12421cf5545bad3ee11c2c276bf34c5ff297d140) --- php-myclabs-php-enum.spec | 15 ++++++++++----- sources | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/php-myclabs-php-enum.spec b/php-myclabs-php-enum.spec index 2e80e05..58dd21e 100644 --- a/php-myclabs-php-enum.spec +++ b/php-myclabs-php-enum.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-myclabs-php-enum # -# Copyright (c) 2017-2019 Remi Collet +# Copyright (c) 2017-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 45f01adf6922df6082bcda36619deb466e826acf +%global gh_commit c3f3b36602748871098069f4f2f8224ca34df899 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner myclabs %global gh_project php-enum @@ -20,7 +20,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{pk_vendor}-%{pk_project} -Version: 1.7.2 +Version: 1.7.4 Release: 1%{?dist} Summary: PHP Enum implementation @@ -38,9 +38,10 @@ BuildRequires: php-reflection BuildRequires: php-json BuildRequires: php-spl # From composer.json, "require-dev": { -# "phpunit/phpunit": "^4.8.35|^5.7|^6.0", +# "phpunit/phpunit": "^7", # "squizlabs/php_codesniffer": "1.*" -%global phpunit %{_bindir}/phpunit6 +# "vimeo/psalm": "^3.8" +%global phpunit %{_bindir}/phpunit7 BuildRequires: %{phpunit} # Required by autoloader BuildRequires: php-composer(fedora/autoloader) @@ -120,6 +121,10 @@ exit $ret %changelog +* Fri Feb 7 2020 Remi Collet - 1.7.4-1 +- update to 1.7.4 +- switch to phpunit7 + * Tue Aug 20 2019 Remi Collet - 1.7.2-1 - update to 1.7.2 diff --git a/sources b/sources index ad8e63b..02d3906 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-myclabs-php-enum-1.7.2-45f01ad.tgz) = 3daeea18bca30c1bb1d0acd06a26775b271b06c236e393df23984b0104d151234e5c96ac2344767dfdd0ebb9f7434f1490c700f66c3dae10925cd92ea4512a8b +SHA512 (php-myclabs-php-enum-1.7.4-c3f3b36.tgz) = d3a00cc0dd8342757738fecf2aa2633a7addec864b3ef07674a68416ca2c2540cc120356069c802375575f205dfeb588694bb1e85c01de641af543b0f537a9cd