summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-07-13 17:44:34 +0200
committerRemi Collet <remi@remirepo.net>2021-07-13 17:44:34 +0200
commit523246f0321476672349c4b1b7cb97e3fe68ccfb (patch)
tree3dadfe08d662759bd11428a9bf1aace97e11abe8
parentfe51c1610685a9b7e145684b6ba9c383b9dc689f (diff)
rebuild using remi-libmemcached-awesome (relocated on /opt/remi)
-rw-r--r--php-pecl-memcached.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec
index 527c4e5..6e732aa 100644
--- a/php-pecl-memcached.spec
+++ b/php-pecl-memcached.spec
@@ -33,7 +33,7 @@
Summary: Extension to work with the Memcached caching daemon
Name: %{?sub_prefix}php-pecl-memcached
Version: 3.1.5
-Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 8%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
@@ -71,10 +71,10 @@ BuildRequires: memcached
BuildRequires: pkgconfig(libevent) >= 2.0.2
%if 0%{?rhel} == 7 || 0%{?rhel} == 8
%global move_to_opt 1
-BuildRequires: libmemcached-awesome-devel >= 1.1
+BuildRequires: %{?vendeur:%{vendeur}-}libmemcached-awesome-devel >= 1.1
Requires: fastlz%{?_isa}
Requires: cyrus-sasl-lib%{?_isa}
-Requires: libmemcached-awesome%{?_isa}
+Requires: %{?vendeur:%{vendeur}-}libmemcached-awesome%{?_isa}
%else
%global move_to_opt 0
BuildRequires: pkgconfig(libmemcached) >= 1.1
@@ -222,7 +222,7 @@ cp -r NTS ZTS
%{?dtsenable}
%if %{move_to_opt}
-export PKG_CONFIG_PATH=/opt/remi/libmemcached-awesome/%{_lib}/pkgconfig
+export PKG_CONFIG_PATH=/opt/%{?vendeur:%{vendeur}/}libmemcached-awesome/%{_lib}/pkgconfig
%endif
peclconf() {
@@ -375,6 +375,9 @@ exit $ret
%changelog
+* Tue Jul 13 2021 Remi Collet <remi@remirepo.net> - 3.1.5-8
+- rebuild using remi-libmemcached-awesome (relocated on /opt/remi)
+
* Thu Jun 24 2021 Remi Collet <remi@remirepo.net> - 3.1.5-6
- rebuild using libmemcached-awesome