From e699465a2458c366b994eb84eef560855b944bc5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Jan 2019 13:24:30 +0100 Subject: cleanup for EL-8 --- php-horde-Horde-Mongo.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/php-horde-Horde-Mongo.spec b/php-horde-Horde-Mongo.spec index c0c89b5..122cd8b 100644 --- a/php-horde-Horde-Mongo.spec +++ b/php-horde-Horde-Mongo.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-horde-Horde-Mongo # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -12,7 +12,7 @@ Name: php-horde-Horde-Mongo Version: 1.1.0 -Release: 1%{?dist} +Release: 6%{?dist} Summary: Horde Mongo Configuration Group: Development/Libraries @@ -23,7 +23,6 @@ Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz # Fix autoloader path Patch0: %{name}-rpm.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.0 BuildRequires: php-pear(PEAR) >= 1.7.0 @@ -35,7 +34,7 @@ Requires: php(language) >= 5.3.0 Requires: php-spl Requires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(%{pear_channel}) -%if 0%{?fedora} >= 21 +%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 Suggests: php-pecl(mongo) >= 1.3.0 Suggests: php-composer(alcaeus/mongo-php-adapter) %endif @@ -72,7 +71,6 @@ cd %{pear_name}-%{version} %install -rm -rf %{buildroot} cd %{pear_name}-%{version} %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml @@ -84,8 +82,6 @@ mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} -%clean -rm -rf %{buildroot} %post @@ -100,7 +96,6 @@ fi %files -%defattr(-,root,root,-) %doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml %dir %{pear_phpdir}/Horde @@ -108,6 +103,9 @@ fi %changelog +* Fri Jan 4 2019 Remi Collet - 1.0.8-8 +- cleanup for EL-8 + * Wed Jul 13 2016 Remi Collet - 1.1.0-1 - Update to 1.1.0 - php-pecl-mongo and alcaeus/mongo-php-adapter are optional -- cgit