Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Remi Collet
50ccdb491e v1.10.1 sources
(cherry picked from commit 1cdce3dd99)
2020-06-30 07:21:15 +02:00
Remi Collet
31e2e8187f v1.10.1
(cherry picked from commit b23aa81a61)
2020-06-30 07:11:50 +02:00
Remi Collet
8fe47e189e update to 1.10.0 (no change)
(cherry picked from commit fab0863ab6)
2020-06-29 11:28:48 +02:00
3 changed files with 17 additions and 8 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -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
<?php
@ -92,7 +92,7 @@ require_once '%{php_home}/Doctrine/Common/autoload.php';
EOF
ret=0
for cmd in php php71 php72 php73 php74; do
for cmd in php php72 php73 php74 php80; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{gh_project}%{major}/autoload.php \
%{_bindir}/phpunit7 --verbose || ret=1
@ -112,6 +112,12 @@ exit $ret
%changelog
* Tue Jun 30 2020 Remi Collet <remi@remirepo.net> - 1.10.1-1
- update to 1.10.1
* Mon Jun 29 2020 Remi Collet <remi@remirepo.net> - 1.10.0-2
- update to 1.10.0 (no change)
* Mon Dec 16 2019 Remi Collet <remi@remirepo.net> - 1.9.4-1
- update to 1.9.4

View file

@ -1 +1 @@
SHA512 (php-myclabs-deep-copy-1.9.4-579bb73.tgz) = d0e3039be05b8093a40230f8f464df0015ae0b0b75f61bb4380653cbd6041408f013ec553027435f12909cf2c7d2d3fe38e8b0dcf9f4b4bfde0831b6fa4898a3
SHA512 (php-myclabs-deep-copy-1.10.1-969b211.tgz) = 1aed3d492e8c31d21b8c3d8d36a6b3bbafd2bce498fa707283a229fa53dbd74139d7d91662ba42bc70a22fe6ffbf6b9cd9d839d1817d53cac7cae50186044caa