diff --git a/php-myclabs-php-enum.spec b/php-myclabs-php-enum.spec index 083f481..7e062e4 100644 --- a/php-myclabs-php-enum.spec +++ b/php-myclabs-php-enum.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit e00b7b3d8d2ef0da908ea9d3df627271b93a9253 +%global gh_commit f46847626b8739de22e4ebc6b56010f317d4448d %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.0 +Version: 1.7.1 Release: 1%{?dist} Summary: PHP Enum implementation @@ -33,7 +33,7 @@ Source1: makesrc.sh BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 7.2 +BuildRequires: php(language) >= 7.1 BuildRequires: php-reflection BuildRequires: php-json BuildRequires: php-spl @@ -47,9 +47,9 @@ BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require": { -# "php": ">=7.2", +# "php": ">=7.1", # "ext-json": "*" -Requires: php(language) >= 7.2 +Requires: php(language) >= 7.1 Requires: php-json # From phpcompatinfo report for version 1.6.1 Requires: php-reflection @@ -90,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.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 diff --git a/sources b/sources index 5e5dc36..a932dc9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-myclabs-php-enum-1.7.0-e00b7b3.tgz) = bba7d873100126baf2ec1046d748e7e5c390fdf187ed27658f7d907d11534276010949baa3b58d52c3fa57028969e82a332dd63bbe59a861776b557f58b39bd7 +SHA512 (php-myclabs-php-enum-1.7.1-f468476.tgz) = 0bde392fc9ac903d6d2f13bf2f54e824ce9a137df64ec4e86eb5b1d42a30b6733682e3511f7dc7f9fbf90e836af81c5b9ac1c9e02b4ac5b8dc14c8da77ecc71b