summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION8
-rw-r--r--php-pecl-leveldb.spec25
3 files changed, 20 insertions, 17 deletions
diff --git a/PHPINFO b/PHPINFO
index fda9d24..f4e1f0a 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,5 +2,5 @@
leveldb
leveldb support => enabled
-leveldb extension version => 0.2.1
-leveldb library version => 1.20
+leveldb extension version => 0.3.0
+leveldb library version => 1.22
diff --git a/REFLECTION b/REFLECTION
index 4398a1a..f925347 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,8 +1,8 @@
-Extension [ <persistent> extension #192 leveldb version 0.2.1 ] {
+Extension [ <persistent> extension #121 leveldb version 0.3.0 ] {
- Constants [2] {
- Constant [ integer LEVELDB_NO_COMPRESSION ] { 0 }
- Constant [ integer LEVELDB_SNAPPY_COMPRESSION ] { 1 }
+ Constant [ int LEVELDB_NO_COMPRESSION ] { 0 }
+ Constant [ int LEVELDB_SNAPPY_COMPRESSION ] { 1 }
}
- Classes [5] {
@@ -111,7 +111,7 @@ Extension [ <persistent> extension #192 leveldb version 0.2.1 ] {
}
}
- Method [ <internal:leveldb> public method close ] {
+ Method [ <internal, deprecated:leveldb> public method close ] {
- Parameters [0] {
}
diff --git a/php-pecl-leveldb.spec b/php-pecl-leveldb.spec
index 1caed57..568eceb 100644
--- a/php-pecl-leveldb.spec
+++ b/php-pecl-leveldb.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-leveldb
#
-# Copyright (c) 2013-2020 Remi Collet
+# Copyright (c) 2013-2021 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -18,14 +18,15 @@
Summary: LevelDB PHP bindings
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 0.2.1
-Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 0.3.0
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel > 7
+BuildRequires: %{?scl_prefix}php-devel >= 7.0
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: leveldb-devel
@@ -53,12 +54,6 @@ Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
%endif
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter shared private
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
%description
This extension is a PHP binding for Google LevelDB.
@@ -76,7 +71,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_LEVELDB_VERSION/{s/.* "//;s/".*$//;p}' php_leveldb.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -208,6 +202,15 @@ REPORT_EXIT_STATUS=0 \
%changelog
+* Thu Feb 18 2021 Remi Collet <remi@remirepo.net> - 0.3.0-1
+- update to 0.3.0
+- drop patches merged upstream
+
+* Thu Dec 3 2020 Remi Collet <remi@remirepo.net> - 0.2.1-7
+- add upstream patches for PHP, most from
+ https://github.com/reeze/php-leveldb/pull/40
+ https://github.com/reeze/php-leveldb/pull/41
+
* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 0.2.1-6
- rebuild for 7.4.0RC1