From f76b63843770e95a1832d726ce3f5e5cb44e289d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Jan 2019 14:06:21 +0100 Subject: cleanup for EL-8 --- php-pecl-memcache.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'php-pecl-memcache.spec') 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 - 3.0.8-9 +- cleanup for EL-8 + * Wed Mar 9 2016 Remi Collet - 3.0.8-8 - adapt for F24 - drop runtime dependency on pear, new scriptlets -- cgit