From fb536d638ba1c51a3e5fbeba6e9e05b171e68435 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Oct 2017 15:43:51 +0200 Subject: v1.7.0 --- php-myclabs-deep-copy.spec | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'php-myclabs-deep-copy.spec') diff --git a/php-myclabs-deep-copy.spec b/php-myclabs-deep-copy.spec index f0894cd..cad1057 100644 --- a/php-myclabs-deep-copy.spec +++ b/php-myclabs-deep-copy.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 8e6e04167378abf1ddb4d3522d8755c5fd90d102 +%global gh_commit 3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner myclabs %global gh_project DeepCopy @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-myclabs-deep-copy -Version: 1.6.1 +Version: 1.7.0 Release: 1%{?dist} Summary: Create deep copies (clones) of your objects @@ -30,21 +30,25 @@ Source2: %{name}-autoload.php BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 5.4 +BuildRequires: php(language) >= 5.6 BuildRequires: php-reflection BuildRequires: php-spl # From composer.json, "require-dev": { -# "doctrine/collections": "1.*", -# "phpunit/phpunit": "~4.1" -BuildRequires: php-composer(doctrine/collections) >= 1 +# "doctrine/collections": "^1.0", +# "doctrine/common": "^2.6", +# "phpunit/phpunit": "^4.1" +BuildRequires: php-composer(doctrine/collections) < 2 +BuildRequires: php-composer(doctrine/collections) >= 1.0 +BuildRequires: php-composer(doctrine/common) < 3 +BuildRequires: php-composer(doctrine/common) >= 2.6 BuildRequires: php-composer(phpunit/phpunit) >= 4.1 # Required by autoloader BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require": { -# "php": ">=5.4.0" -Requires: php(language) >= 5.4 +# "php": "^5.6 || ^7.0" +Requires: php(language) >= 5.6 # From phpcompatinfo report for version 1.3.0 Requires: php-reflection Requires: php-spl @@ -81,8 +85,10 @@ mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 1.7.0-1 +- Update to 1.7.0 +- raise dependency on PHP 5.6 * Thu Apr 13 2017 Remi Collet - 1.6.1-1 - Update to 1.6.1 -- cgit