diff --git a/.gitignore b/.gitignore index 85bee96..ecbf33f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ clog /php-myclabs-deep-copy-1.9.1-e6828ef.tgz /php-myclabs-deep-copy-1.9.3-007c053.tgz /php-myclabs-deep-copy-1.9.4-579bb73.tgz +/php-myclabs-deep-copy-1.9.5-b2c2878.tgz +/php-myclabs-deep-copy-1.10.0-5796d12.tgz +/php-myclabs-deep-copy-1.10.1-969b211.tgz diff --git a/php-myclabs-deep-copy.spec b/php-myclabs-deep-copy.spec index 7551d1c..3910b97 100644 --- a/php-myclabs-deep-copy.spec +++ b/php-myclabs-deep-copy.spec @@ -6,17 +6,17 @@ # # Please, preserve the changelog entries # -%global gh_commit 579bb7356d91f9456ccd505f24ca8b667966a0a7 +%global gh_commit 969b211f9a51aa1f6c01d1d2aef56d3bd91598e5 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner myclabs %global gh_project DeepCopy %global c_project deep-copy %global major %nil %global php_home %{_datadir}/php -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests Name: php-myclabs-deep-copy%{major} -Version: 1.9.4 +Version: 1.10.1 Release: 1%{?dist} Summary: Create deep copies (clones) of your objects @@ -29,7 +29,7 @@ Source1: makesrc.sh Source2: php-myclabs-deep-copy-autoload.php BuildArch: noarch -%if %{with_tests} +%if %{with tests} # For tests BuildRequires: php(language) >= 7.1 BuildRequires: php-reflection @@ -46,7 +46,7 @@ BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require": { -# "php": "^7.1" +# "php": "^7.1 || ^8.0" Requires: php(language) >= 7.1 # From phpcompatinfo report for version 1.8.0 Requires: php-reflection @@ -80,7 +80,7 @@ cp -pr src/%{gh_project} %{buildroot}%{php_home}/%{gh_project}%{major} %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 1.10.1-1 +- update to 1.10.1 + +* Mon Jun 29 2020 Remi Collet - 1.10.0-2 +- update to 1.10.0 (no change) + * Mon Dec 16 2019 Remi Collet - 1.9.4-1 - update to 1.9.4 diff --git a/sources b/sources index 42551b4..adaf7fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-myclabs-deep-copy-1.9.4-579bb73.tgz) = d0e3039be05b8093a40230f8f464df0015ae0b0b75f61bb4380653cbd6041408f013ec553027435f12909cf2c7d2d3fe38e8b0dcf9f4b4bfde0831b6fa4898a3 +SHA512 (php-myclabs-deep-copy-1.10.1-969b211.tgz) = 1aed3d492e8c31d21b8c3d8d36a6b3bbafd2bce498fa707283a229fa53dbd74139d7d91662ba42bc70a22fe6ffbf6b9cd9d839d1817d53cac7cae50186044caa