summaryrefslogtreecommitdiffstats
path: root/php-pecl-leveldb.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-leveldb.spec')
-rw-r--r--php-pecl-leveldb.spec25
1 files changed, 14 insertions, 11 deletions
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