From 219285ae7b5120312568d2f5074ea60c30d20b2e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 24 Jan 2017 17:57:25 +0100 Subject: php-react-promise-timer: backport --- Makefile | 4 ++++ composer.json | 25 +++++++++++++++++++++++++ php-react-promise-timer.spec | 4 ++++ 3 files changed, 33 insertions(+) create mode 100644 Makefile create mode 100644 composer.json 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 - 0.4.2-2 +- backport for remi repo + * Tue Jan 24 2017 Shawn Iwinski - 1.1.1-2 - Retrict react/promise dependency to one major version - Minor update to SCL tests (only php54 and php55 if rhel) -- cgit