summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcache.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 14:06:21 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 14:06:21 +0100
commitf76b63843770e95a1832d726ce3f5e5cb44e289d (patch)
tree81674d3a37993608222795721792bf7fa5f8e1cf /php-pecl-memcache.spec
parente17f6d3c18d467d52c042a2eaae576111395a068 (diff)
cleanup for EL-8php5
Diffstat (limited to 'php-pecl-memcache.spec')
-rw-r--r--php-pecl-memcache.spec17
1 files changed, 6 insertions, 11 deletions
diff --git a/php-pecl-memcache.spec b/php-pecl-memcache.spec
index 190944f..313ca96 100644
--- a/php-pecl-memcache.spec
+++ b/php-pecl-memcache.spec
@@ -1,6 +1,6 @@
# spec file for php-pecl-memcache
#
-# Copyright (c) 2007-2017 Remi Collet
+# Copyright (c) 2007-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -21,7 +21,7 @@
Summary: Extension to work with the Memcached caching daemon
Name: %{?scl_prefix}php-pecl-memcache
Version: 3.0.8
-Release: 8%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 9%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -33,7 +33,6 @@ Source3: connect.inc
Patch0: %{pecl_name}-gcc5.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: zlib-devel
@@ -170,8 +169,6 @@ make %{?_smp_mflags}
%endif
%install
-rm -rf %{buildroot}
-
make -C NTS install INSTALL_ROOT=%{buildroot}
# Drop in the bit of configuration
@@ -233,11 +230,7 @@ exit $ret
%endif
-%clean
-rm -rf %{buildroot}
-
-
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -258,7 +251,6 @@ fi
%files
-%defattr(-, root, root, -)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -271,6 +263,9 @@ fi
%changelog
+* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 3.0.8-9
+- cleanup for EL-8
+
* Wed Mar 9 2016 Remi Collet <remi@fedoraproject.org> - 3.0.8-8
- adapt for F24
- drop runtime dependency on pear, new scriptlets