summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json4
-rw-r--r--phpcpd.spec34
2 files changed, 22 insertions, 16 deletions
diff --git a/composer.json b/composer.json
index 32461f5..150f806 100644
--- a/composer.json
+++ b/composer.json
@@ -26,9 +26,9 @@
"php": "^7.3",
"ext-dom": "*",
"sebastian/finder-facade": "^2.0",
- "sebastian/version": "^2.0",
+ "sebastian/version": "^3.0",
"symfony/console": "^4.0|^5.0",
- "phpunit/php-timer": "^2.0"
+ "phpunit/php-timer": "^3.0"
},
"autoload": {
"classmap": [
diff --git a/phpcpd.spec b/phpcpd.spec
index 2c760b8..905c0de 100644
--- a/phpcpd.spec
+++ b/phpcpd.spec
@@ -9,7 +9,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 3a31ace06211582ef963327bfb47d20af032ff9f
+%global gh_commit 8724382966b1861df4e12db915eaed2165e10bf3
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpcpd
@@ -23,7 +23,7 @@
%global ns_project PHPCPD
Name: %{pk_project}
-Version: 5.0.1
+Version: 5.0.2
Release: 1%{?dist}
Summary: Copy/Paste Detector (CPD) for PHP code
@@ -42,15 +42,15 @@ BuildRequires: phpunit8
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(sebastian/finder-facade) >= 2.0 with php-composer(sebastian/finder-facade) < 3)
-BuildRequires: (php-composer(sebastian/version) >= 2.0 with php-composer(sebastian/version) < 3)
+BuildRequires: (php-composer(sebastian/version) >= 3.0 with php-composer(sebastian/version) < 4)
BuildRequires: (php-composer(symfony/console) >= 4.0 with php-composer(symfony/console) < 6)
-BuildRequires: (php-composer(phpunit/php-timer) >= 2.0 with php-composer(phpunit/php-timer) < 3)
+BuildRequires: (php-composer(phpunit/php-timer) >= 3.0 with php-composer(phpunit/php-timer) < 4)
# remirepo:6
%else
BuildRequires: php-sebastian-finder-facade2
-BuildRequires: php-phpunit-Version
+BuildRequires: php-sebastian-version3
BuildRequires: php-symfony4-console
-BuildRequires: php-phpunit-php-timer2
+BuildRequires: php-phpunit-php-timer3
%endif
%endif
@@ -58,23 +58,23 @@ BuildRequires: php-phpunit-php-timer2
# "php": "^7.3",
# "ext-dom": "*",
# "sebastian/finder-facade": "^2.0",
-# "sebastian/version": "^2.0",
+# "sebastian/version": "^3.0",
# "symfony/console": "^4.0|^5.0",
-# "phpunit/php-timer": "^2.0"
+# "phpunit/php-timer": "^3.0"
Requires: php(language) >= 7.3
Requires: php-dom
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(sebastian/finder-facade) >= 2.0 with php-composer(sebastian/finder-facade) < 3)
-Requires: (php-composer(sebastian/version) >= 2.0 with php-composer(sebastian/version) < 3)
+Requires: (php-composer(sebastian/version) >= 3.0 with php-composer(sebastian/version) < 4)
Requires: (php-composer(symfony/console) >= 4.0 with php-composer(symfony/console) < 6)
-Requires: (php-composer(phpunit/php-timer) >= 2.0 with php-composer(phpunit/php-timer) < 3)
+Requires: (php-composer(phpunit/php-timer) >= 3.0 with php-composer(phpunit/php-timer) < 4)
# remirepo:6
%else
Requires: php-sebastian-finder-facade2
-Requires: php-phpunit-Version
+Requires: php-sebastian-version3
Requires: php-symfony4-console
-Requires: php-phpunit-php-timer2
+Requires: php-phpunit-php-timer3
%endif
# From phpcompatinfo report for version 3.0.0
Requires: php-cli
@@ -119,12 +119,12 @@ cat << 'EOF' | tee -a src/autoload.php
// Dependencies
\Fedora\Autoloader\Dependencies::required([
'%{php_home}/%{ns_vendor}/FinderFacade2/autoload.php',
- '%{php_home}/%{ns_vendor}/Version/autoload.php',
+ '%{php_home}/%{ns_vendor}/Version3/autoload.php',
[
'%{php_home}/Symfony5/Component/Console/autoload.php',
'%{php_home}/Symfony4/Component/Console/autoload.php',
],
- '%{php_home}/SebastianBergmann/Timer/autoload.php',
+ '%{php_home}/SebastianBergmann/Timer3/autoload.php',
]);
EOF
@@ -163,6 +163,12 @@ exit $ret
%changelog
+* Sat Feb 22 2020 Remi Collet <remi@remirepo.net> - 5.0.2-1
+- update to 5.0.2
+- raise depency on phpunit/php-timer 3
+- raise depency on sebastian/version 3
+
+
* Thu Feb 20 2020 Remi Collet <remi@remirepo.net> - 5.0.1-1
- update to 5.0.1
- raise depency on PHP 7.3