diff options
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r-- | php-pecl-event.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/php-pecl-event.spec b/php-pecl-event.spec index 7232b53..56ff5fb 100644 --- a/php-pecl-event.spec +++ b/php-pecl-event.spec @@ -20,10 +20,13 @@ Group: Development/Languages URL: http://pecl.php.net/package/event Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +# https://bugs.php.net/65847 evhttp_connection_get_bufferevent +# https://bitbucket.org/osmanov/pecl-event/pull-request/3 +Patch0: %{pecl_name}-ver.patch + BuildRequires: php-devel > 5.4 BuildRequires: php-pear -# https://bugs.php.net/65847 evhttp_connection_get_bufferevent -BuildRequires: libevent-devel >= 2.0.17 +BuildRequires: libevent-devel >= 2.0.2 BuildRequires: openssl-devel BuildRequires: pkgconfig @@ -57,6 +60,7 @@ Version 1.0.0 introduces: %setup -q -c cd %{pecl_name}-%{version} +%patch0 -p1 # Sanity check, really often broken extver=$(sed -n '/#define PHP_EVENT_VERSION/{s/.* "//;s/".*$//;p}' php_event.h) |