summaryrefslogtreecommitdiffstats
path: root/phpunit6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit6.spec')
-rw-r--r--phpunit6.spec19
1 files changed, 10 insertions, 9 deletions
diff --git a/phpunit6.spec b/phpunit6.spec
index 48fafb7..def9ed2 100644
--- a/phpunit6.spec
+++ b/phpunit6.spec
@@ -7,7 +7,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit fbf2e46d5c563ee78c9b559bcbeb1c97cad6af0f
+%global gh_commit 824d02024916525a36b2db21847a5ef91db9e4a8
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@@ -20,7 +20,7 @@
%global php_home %{_datadir}/php
%global ver_major 6
%global ver_minor 1
-%global ver_patch 2
+%global ver_patch 3
%global specrel 1
Name: %{pk_project}%{ver_major}
@@ -65,7 +65,7 @@ BuildRequires: php-composer(sebastian/environment) >= 3.0.1
BuildRequires: php-composer(sebastian/exporter) < 4
BuildRequires: php-composer(sebastian/exporter) >= 3.1
BuildRequires: php-composer(sebastian/global-state) < 3
-BuildRequires: php-composer(sebastian/global-state) >= 1.1
+BuildRequires: php-composer(sebastian/global-state) >= 2.0
BuildRequires: php-composer(sebastian/object-enumerator) < 4
BuildRequires: php-composer(sebastian/object-enumerator) >= 3.0.2
BuildRequires: php-composer(sebastian/resource-operations) < 2
@@ -139,7 +139,7 @@ Requires: php-composer(sebastian/environment) >= 3.0.1
Requires: php-composer(sebastian/exporter) < 4
Requires: php-composer(sebastian/exporter) >= 3.1
Requires: php-composer(sebastian/global-state) < 3
-Requires: php-composer(sebastian/global-state) >= 1.1
+Requires: php-composer(sebastian/global-state) >= 2.0
Requires: php-composer(sebastian/object-enumerator) < 4
Requires: php-composer(sebastian/object-enumerator) >= 3.0.2
Requires: php-composer(sebastian/resource-operations) < 2
@@ -203,10 +203,7 @@ cat << 'EOF' | tee -a src/autoload.php
'SebastianBergmann/Diff/autoload.php',
'SebastianBergmann/Environment3/autoload.php',
'SebastianBergmann/Exporter3/autoload.php',
- [
- 'SebastianBergmann/GlobalState2/autoload.php',
- 'SebastianBergmann/GlobalState/autoload.php',
- ],
+ 'SebastianBergmann/GlobalState2/autoload.php',
'SebastianBergmann/ObjectEnumerator3/autoload.php',
'SebastianBergmann/ResourceOperations/autoload.php',
'SebastianBergmann/Version/autoload.php',
@@ -244,7 +241,7 @@ OPT="--testsuite=small --no-coverage"
sed -e 's:@PATH@:%{buildroot}%{php_home}/%{ns_vendor}:' -i tests/bootstrap.php
ret=0
-for cmd in php70 php71 php; do
+for cmd in php php70 php71 php72; do
if which $cmd; then
$cmd -d include_path=.:%{buildroot}%{php_home}:%{php_home} ./phpunit $OPT --verbose || ret=1
fi
@@ -265,6 +262,10 @@ exit $ret
%changelog
+* Sat Apr 29 2017 Remi Collet <remi@remirepo.net> - 6.1.3-1
+- Update to 6.1.3
+- raise dependency to only use sebastian/global-state v2
+
* Wed Apr 26 2017 Remi Collet <remi@remirepo.net> - 6.1.2-1
- Update to 6.1.2