summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-30 18:09:26 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-30 18:09:26 +0100
commitf28cff44ea21edec8e37ca52e18a5cb534bceb9f (patch)
tree6b0b9f1327bc10366b1e6f9b18ca50cfa9b65e84
parentcc3d5779842fd274499e7427d3e5788557b17d39 (diff)
php-ocramius-proxy-manager: 2.1.0
-rw-r--r--composer-dev.json18
-rw-r--r--php-ocramius-proxy-manager-dev.spec32
-rw-r--r--php-ocramius-proxy-manager-php7.spec2
3 files changed, 35 insertions, 17 deletions
diff --git a/composer-dev.json b/composer-dev.json
index 48e7d46..0ecb333 100644
--- a/composer-dev.json
+++ b/composer-dev.json
@@ -19,16 +19,18 @@
}
],
"require": {
- "php": "7.0.0 - 7.0.5 || ^7.0.7",
- "zendframework/zend-code": "3.0.0 - 3.0.2 || ^3.0.4",
- "ocramius/package-versions": "^1.0"
+ "php": "^7.1.0",
+ "zendframework/zend-code": "^3.1.0",
+ "ocramius/package-versions": "^1.1.1"
},
"require-dev": {
- "ext-phar": "*",
- "phpunit/phpunit": "^5.4.6",
- "squizlabs/php_codesniffer": "^2.6.0",
- "couscous/couscous": "^1.4.0",
- "phpbench/phpbench": "^0.11.2"
+ "ext-phar": "*",
+ "phpunit/phpunit": "^5.6.4",
+ "phpunit/phpunit-mock-objects": "^3.4.1",
+ "squizlabs/php_codesniffer": "^2.7.0",
+ "couscous/couscous": "^1.5.2",
+ "phpbench/phpbench": "^0.12.2",
+ "humbug/humbug": "dev-master@DEV"
},
"suggest": {
"ocramius/generated-hydrator": "To have very fast object to array to object conversion for ghost objects",
diff --git a/php-ocramius-proxy-manager-dev.spec b/php-ocramius-proxy-manager-dev.spec
index 409cd03..74b559b 100644
--- a/php-ocramius-proxy-manager-dev.spec
+++ b/php-ocramius-proxy-manager-dev.spec
@@ -12,17 +12,17 @@
%global github_owner Ocramius
%global github_name ProxyManager
-%global github_version 2.0.4
-%global github_commit a55d08229f4f614bf335759ed0cf63378feeb2e6
+%global github_version 2.1.0
+%global github_commit d9e5a00ca2d87b7e0f1bff36b897e02afd7d5435
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global composer_vendor ocramius
%global composer_project proxy-manager
-# "php": "7.0.0 - 7.0.5 || ^7.0.7"
-%global php_min_ver 7.0.7
-# "zendframework/zend-code": "~3.0.0 - 3.0.2 || ^3.0.4"
-%global zf_min_ver 3.0.4
+# "php": "^7.1.0"
+%global php_min_ver 7.1.0
+# "zendframework/zend-code": "^3.1.0"
+%global zf_min_ver 3.1.0
%global zf_max_ver 4
# Build using "--without tests" to disable tests
@@ -62,7 +62,7 @@ BuildRequires: php-composer(ocramius/generated-hydrator) >= 2
BuildRequires: php-pcre
BuildRequires: php-reflection
BuildRequires: php-spl
-BuildRequires: php-composer(phpunit/phpunit) >= 5.4.6
+BuildRequires: php-composer(phpunit/phpunit) >= 5.6.4
%endif
# composer.json
@@ -144,7 +144,18 @@ require_once '%{buildroot}%{phpdir}/ProxyManager/autoload.php';
EOF
: Run tests
-php71 %{_bindir}/phpunit --verbose --exclude-group Performance
+# remirepo:7
+run=0
+ret=0
+if which php71; then
+ php71 %{_bindir}/phpunit || ret=1
+ run=1
+fi
+if [ $run -eq 0 ]; then
+%{_bindir}/phpunit --verbose
+# remirepo:2
+fi
+exit $ret
%else
: Tests skipped
%endif
@@ -164,6 +175,11 @@ rm -rf %{buildroot}
%changelog
+* Wed Nov 30 2016 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
+- update to 2.1.0
+- raise dependency on php 7.1
+- raise dependency on zend-code 3.1
+
* Sun Nov 6 2016 Remi Collet <remi@fedoraproject.org> - 2.0.4-1
- update to 2.0.4
diff --git a/php-ocramius-proxy-manager-php7.spec b/php-ocramius-proxy-manager-php7.spec
index 409cd03..4a04297 100644
--- a/php-ocramius-proxy-manager-php7.spec
+++ b/php-ocramius-proxy-manager-php7.spec
@@ -144,7 +144,7 @@ require_once '%{buildroot}%{phpdir}/ProxyManager/autoload.php';
EOF
: Run tests
-php71 %{_bindir}/phpunit --verbose --exclude-group Performance
+%{_bindir}/phpunit --verbose --exclude-group Performance
%else
: Tests skipped
%endif