summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpunit7.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/phpunit7.spec b/phpunit7.spec
index b100695..a45bd36 100644
--- a/phpunit7.spec
+++ b/phpunit7.spec
@@ -25,7 +25,7 @@
%global ver_major 7
%global ver_minor 5
%global ver_patch 12
-%global specrel 1
+%global specrel 2
Name: %{pk_project}%{ver_major}
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
@@ -64,7 +64,7 @@ BuildRequires: (php-composer(phpunit/php-invoker) >= 2.0 with php-co
# remirepo:20
%else
BuildRequires: php-doctrine-instantiator11
-BuildRequires: php-myclabs-deep-copy >= 1.7
+BuildRequires: php-myclabs-deep-copy19
BuildRequires: php-phar-io-manifest >= 1.0.1
BuildRequires: php-phar-io-version >= 1.0
BuildRequires: php-phpspec-prophecy >= 1.7
@@ -148,7 +148,7 @@ Requires: (php-composer(phpunit/php-invoker) >= 2.0 with php-co
# remirepo:20
%else
Requires: php-doctrine-instantiator11
-Requires: php-myclabs-deep-copy >= 1.7
+Requires: php-myclabs-deep-copy19
Requires: php-phar-io-manifest >= 1.0.1
Requires: php-phar-io-version >= 1.0
Requires: php-phpspec-prophecy >= 1.7
@@ -217,10 +217,13 @@ cat << 'EOF' | tee -a src/autoload.php
'%{php_home}/SebastianBergmann/ResourceOperations2/autoload.php',
'%{php_home}/SebastianBergmann/Version/autoload.php',
[
- '%{php_home}/Doctrine/Instantiator11/autoload.php',
- '%{php_home}/Doctrine/Instantiator/autoload.php',
+ '%{php_home}/Doctrine/Instantiator11/autoload.php',
+ '%{php_home}/Doctrine/Instantiator/autoload.php',
+ ],
+ [
+ '%{php_home}/DeepCopy19/autoload.php',
+ '%{php_home}/DeepCopy/autoload.php',
],
- '%{php_home}/DeepCopy/autoload.php',
'%{php_home}/SebastianBergmann/Invoker/autoload.php',
'%{php_home}/PharIo/Manifest/autoload.php',
'%{php_home}/PharIo/Version/autoload.php',
@@ -273,6 +276,9 @@ exit $ret
%changelog
+* Fri Jun 7 2019 Remi Collet <remi@remirepo.net> - 7.5.12-2
+- use php-myclabs-deep-copy19 on EL 6 and 7
+
* Tue May 28 2019 Remi Collet <remi@remirepo.net> - 7.5.12-1
- update to 7.5.12