summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-06 18:51:21 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-06 18:51:21 +0200
commita51762e03a444b8563dfb2cf20421c8c90ffd5b1 (patch)
tree7f8192c197ea95e45d49b431ca2170913e9794ad
parent0d8d159ba9b0ea8fdd327614f57209cb5252b1d5 (diff)
php-mnapoli-phpunit-easymock: 0.2.2
-rw-r--r--composer.json25
-rw-r--r--php-mnapoli-phpunit-easymock.spec11
2 files changed, 32 insertions, 4 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..dedd68e
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,25 @@
+{
+ "name": "mnapoli/phpunit-easymock",
+ "description": "Helpers to build PHPUnit mocks",
+ "keywords": ["phpunit", "mock"],
+ "homepage": "https://github.com/mnapoli/phpunit-easymock",
+ "license": "MIT",
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "EasyMock\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "EasyMock\\Test\\": "tests/"
+ }
+ },
+ "require": {
+ "php": "~5.4|~7.0",
+ "phpunit/phpunit-mock-objects": "~2.0|~3.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0|~5.0"
+ }
+}
diff --git a/php-mnapoli-phpunit-easymock.spec b/php-mnapoli-phpunit-easymock.spec
index ed82e12..8791187 100644
--- a/php-mnapoli-phpunit-easymock.spec
+++ b/php-mnapoli-phpunit-easymock.spec
@@ -12,8 +12,8 @@
%global github_owner mnapoli
%global github_name phpunit-easymock
-%global github_version 0.2.1
-%global github_commit 77d949eb6ecd9739b4300a26c85022975f653760
+%global github_version 0.2.2
+%global github_commit aa0fa90a768046113c60afdd7426dbc4ec76463f
%global composer_vendor mnapoli
%global composer_project phpunit-easymock
@@ -51,7 +51,7 @@ BuildArch: noarch
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
BuildRequires: php-composer(phpunit/phpunit-mock-objects) >= %{phpunit_mock_objects_min_ver}
-## phpcompatinfo (computed from version 0.2.1)
+## phpcompatinfo (computed from version 0.2.2)
BuildRequires: php-reflection
## Autoloader
BuildRequires: php-composer(symfony/class-loader)
@@ -61,7 +61,7 @@ BuildRequires: php-composer(symfony/class-loader)
Requires: php(language) >= %{php_min_ver}
Requires: php-composer(phpunit/phpunit-mock-objects) >= %{phpunit_mock_objects_min_ver}
Requires: php-composer(phpunit/phpunit-mock-objects) < %{phpunit_mock_objects_max_ver}
-# phpcompatinfo (computed from version 0.2.1)
+# phpcompatinfo (computed from version 0.2.2)
# <none>
# Autoloader
Requires: php-composer(symfony/class-loader)
@@ -154,6 +154,9 @@ rm -rf %{buildroot}
%changelog
+* Sun Jun 05 2016 Shawn Iwinski <shawn@iwin.ski> - 0.2.2-1
+- Updated to 0.2.2 (RHBZ #1342738)
+
* Tue Jan 5 2016 Remi Collet <remi@remirepo.net> - 0.2.1-1
- backport for #remirepo