summaryrefslogtreecommitdiffstats
path: root/php-pecl-couchbase4.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-13 19:23:04 +0200
committerRemi Collet <remi@php.net>2023-04-13 19:23:04 +0200
commited3165602fd2f4cc338828206bd9d8035c64e486 (patch)
tree293e631740871b6175f354b170385389860192eb /php-pecl-couchbase4.spec
parent3ba263fbb08e213b911e2b51fe057e7872f913bf (diff)
update to 4.1.3
Diffstat (limited to 'php-pecl-couchbase4.spec')
-rw-r--r--php-pecl-couchbase4.spec40
1 files changed, 9 insertions, 31 deletions
diff --git a/php-pecl-couchbase4.spec b/php-pecl-couchbase4.spec
index 3868977..e159b46 100644
--- a/php-pecl-couchbase4.spec
+++ b/php-pecl-couchbase4.spec
@@ -7,6 +7,8 @@
# Please, preserve the changelog entries
#
+# NOTICE: el-7 is not supported because of OpenSSL 1.0
+
# we don't want -z defs linker flag
%undefine _strict_symbol_defs_build
@@ -26,8 +28,8 @@
Summary: Couchbase Server PHP extension
Name: %{?scl_prefix}php-pecl-couchbase4
-Version: 4.1.2
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 4.1.3
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Apache-2.0
# src
# third_party/json/LICENSE.ryu
@@ -51,11 +53,7 @@ URL: https://pecl.php.net/package/couchbase
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
BuildRequires: make
-%if 0%{?rhel} == 7
-BuildRequires: cmake3 >= 3.17
-%else
BuildRequires: cmake >= 3.17
-%endif
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
BuildRequires: %{?scl_prefix}php-devel >= 8.0
@@ -115,7 +113,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%setup -q -c
-%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/;/COPYING/s/role="doc"/role="src"/' -i package.xml}
+sed -e '/LICENSE/s/role="doc"/role="src"/;/COPYING/s/role="doc"/role="src"/' -i package.xml
: Collect license files
mkdir lic
@@ -135,12 +133,9 @@ cp src/deps/couchbase-cxx-client/third_party/jsonsl/LICENSE ../l
cp src/deps/couchbase-cxx-client/third_party/spdlog/LICENSE ../lic/spdlog_LICENSE
cp src/deps/couchbase-cxx-client/LICENSE.txt ../lic/LICENSE.txt
-%if 0%{?rhel} == 7
-: Switch to cmake3
-sed -e 's/cmake/cmake3/' -i config.m4
-%endif
: Build wrapper only once
sed -e 's:/cmake-build:/../cmake-build:' -i config.m4
+
: Parallel build
sed -e 's/--verbose/%{?_smp_mflags} --verbose/' -i Makefile.frag
@@ -232,27 +227,7 @@ done
%endif
-%if 0%{?fedora} < 24 && 0%{?rhel} < 8
-%triggerin -- %{?scl_prefix}php-pear
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-# posttrans as pear can be installed after us
-%posttrans
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-%postun
-if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{pecl_name} >/dev/null || :
-fi
-%endif
-
-
%files
-%{!?_licensedir:%global license %%doc}
%license lic/*
%{pecl_xmldir}/%{name}.xml
@@ -269,6 +244,9 @@ fi
%changelog
+* Thu Apr 13 2023 Remi Collet <remi@remirepo.net> - 4.1.3-1
+- update to 4.1.3
+
* Wed Mar 22 2023 Remi Collet <remi@remirepo.net> - 4.1.2-2
- build out of sources tree