summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json39
-rw-r--r--php-jeremeamia-superclosure.spec4
2 files changed, 41 insertions, 2 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..784085c
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,39 @@
+{
+ "name": "jeremeamia/superclosure",
+ "type": "library",
+ "description": "Serialize Closure objects, including their context and binding",
+ "keywords": ["closure", "serialize", "serializable", "function", "parser", "tokenizer", "lambda"],
+ "homepage": "https://github.com/jeremeamia/super_closure",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Jeremy Lindblom",
+ "email": "jeremeamia@gmail.com",
+ "homepage": "https://github.com/jeremeamia",
+ "role": "Developer"
+ }
+ ],
+ "require": {
+ "php": ">=5.4",
+ "nikic/php-parser": "^1.2|^2.0",
+ "symfony/polyfill-php56": "^1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.0|^5.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "SuperClosure\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "SuperClosure\\Test\\": "tests/"
+ }
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.2-dev"
+ }
+ }
+}
diff --git a/php-jeremeamia-superclosure.spec b/php-jeremeamia-superclosure.spec
index fdf96b1..0bd5084 100644
--- a/php-jeremeamia-superclosure.spec
+++ b/php-jeremeamia-superclosure.spec
@@ -19,7 +19,7 @@
Name: php-%{pk_vendor}-%{pk_name}
Version: 2.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Serialize Closure objects, including their context and binding
Group: Development/Libraries
@@ -115,7 +115,7 @@ rm -rf %{buildroot}
%changelog
-* Sat May 21 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-2
+* Sat May 21 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-3
- use nikic/php-parser v2 when available
* Sun Dec 6 2015 Remi Collet <remi@fedoraproject.org> - 2.2.0-1