summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-24 17:57:25 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-24 17:57:25 +0100
commit219285ae7b5120312568d2f5074ea60c30d20b2e (patch)
tree37a12fae7146d84fd27a28fdaec799f6dafd7f6b
parentd6f20bab1edd0bbc7219a7564e1f3041da81cb60 (diff)
php-react-promise-timer: backport
-rw-r--r--Makefile4
-rw-r--r--composer.json25
-rw-r--r--php-react-promise-timer.spec4
3 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..13af741
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../../common/Makefile
+
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..b797318
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,25 @@
+{
+ "name": "react/promise-timer",
+ "description": "Trivial timeout implementation for Promises",
+ "keywords": ["Promise", "timeout", "timer", "event-loop", "ReactPHP", "async"],
+ "homepage": "https://github.com/react/promise-timer",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@lueck.tv"
+ }
+ ],
+ "autoload": {
+ "psr-4": { "React\\Promise\\Timer\\": "src/" },
+ "files": [ "src/functions.php" ]
+ },
+ "autoload-dev": {
+ "psr-4": { "React\\Tests\\Promise\\Timer\\": "tests/" }
+ },
+ "require": {
+ "php": ">=5.3",
+ "react/event-loop": "~0.4.0|~0.3.0",
+ "react/promise": "~2.1|~1.2"
+ }
+}
diff --git a/php-react-promise-timer.spec b/php-react-promise-timer.spec
index 6e2e8bb..ee551f6 100644
--- a/php-react-promise-timer.spec
+++ b/php-react-promise-timer.spec
@@ -1,3 +1,4 @@
+# remirepo spec file for php-react-promise-timer, from:
#
# Fedora spec file for php-react-promise-timer
#
@@ -141,6 +142,9 @@ exit $SCL_RETURN_CODE
%changelog
+* Tue Jan 24 2017 Remi Collet <remi@remirepo.net> - 0.4.2-2
+- backport for remi repo
+
* Tue Jan 24 2017 Shawn Iwinski <shawn@iwin.ski> - 1.1.1-2
- Retrict react/promise dependency to one major version
- Minor update to SCL tests (only php54 and php55 if rhel)