diff --git a/php-myclabs-php-enum.spec b/php-myclabs-php-enum.spec index 521b8df..fa30682 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-2018 Remi Collet +# Copyright (c) 2017-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 550d2334d77f91b0816a5cbd6965272fe20146b8 +%global gh_commit 45f01adf6922df6082bcda36619deb466e826acf %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.6.4 +Version: 1.7.2 Release: 1%{?dist} Summary: PHP Enum implementation @@ -33,29 +33,26 @@ Source1: makesrc.sh BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 5.4 +BuildRequires: php(language) >= 7.1 BuildRequires: php-reflection BuildRequires: php-json BuildRequires: php-spl # From composer.json, "require-dev": { # "phpunit/phpunit": "^4.8.35|^5.7|^6.0", # "squizlabs/php_codesniffer": "1.*" -%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 %global phpunit %{_bindir}/phpunit6 -%else -%global phpunit %{_bindir}/phpunit -%endif BuildRequires: %{phpunit} # Required by autoloader BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require": { -# "php": ">=5.4" -Requires: php(language) >= 5.4 +# "php": ">=7.1", +# "ext-json": "*" +Requires: php(language) >= 7.1 +Requires: php-json # From phpcompatinfo report for version 1.6.1 Requires: php-reflection -Requires: php-json Requires: php-spl # Required by autoloader Requires: php-composer(fedora/autoloader) @@ -93,17 +90,18 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project} %check %if %{with_tests} mkdir vendor -cat << 'EOF' | tee vendor/autoload.php +cat << 'EOF' | tee tests/autoload.php - 1.7.2-1 +- update to 1.7.2 + +* Mon May 6 2019 Remi Collet - 1.7.1-1 +- update to 1.7.1 +- lower dependency on PHP 7.1 + +* Wed Apr 24 2019 Remi Collet - 1.7.0-1 +- update to 1.7.0 +- raise dependency on PHP 7.2 + +* Tue Feb 5 2019 Remi Collet - 1.6.6-1 +- update to 1.6.6 + * Tue Oct 30 2018 Remi Collet - 1.6.4-1 - update to 1.6.4 diff --git a/sources b/sources index 4f93878..ad8e63b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-myclabs-php-enum-1.6.4-550d233.tgz) = a50d144c3ea424b1d28d77b93f61881b1724c51000de1c04ad614d506df2b04813c770983d3f42ec9dbaa7a68fca1399baba518742b57c291c6c193141f1e205 +SHA512 (php-myclabs-php-enum-1.7.2-45f01ad.tgz) = 3daeea18bca30c1bb1d0acd06a26775b271b06c236e393df23984b0104d151234e5c96ac2344767dfdd0ebb9f7434f1490c700f66c3dae10925cd92ea4512a8b