diff options
author | Remi Collet <remi@remirepo.net> | 2019-01-21 16:07:43 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-01-21 16:07:43 +0100 |
commit | d05b64b17fc917e011c57ba6fe6ce9dbf84f3caf (patch) | |
tree | 40addb2775e7e979f6ed4555dafc9f89b8f7590d | |
parent | 92dadc0baeb3c719da8db3b6b081b5662f5cb018 (diff) |
cleanup for EL-8php5
-rw-r--r-- | php-pecl-yar.spec | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/php-pecl-yar.spec b/php-pecl-yar.spec index 8947216..a049a32 100644 --- a/php-pecl-yar.spec +++ b/php-pecl-yar.spec @@ -1,18 +1,14 @@ # remirepo spec file for php-pecl-yar # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %if 0%{?scl:1} -%if "%{scl}" == "rh-php56" -%global sub_prefix more-php56- -%else %global sub_prefix %{scl_prefix} %endif -%endif %{?scl: %scl_package php-pecl-yar} @@ -29,13 +25,12 @@ Summary: Light, concurrent RPC framework Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.2.5 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gcc BuildRequires: curl-devel BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -153,8 +148,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS \ install INSTALL_ROOT=%{buildroot} @@ -182,7 +175,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%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 @@ -221,12 +214,7 @@ fi %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -243,6 +231,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 1.2.5-3 +- cleanup for EL-8 + * Wed Mar 9 2016 Remi Collet <remi@fedoraproject.org> - 1.2.5-2 - adapt for F24 - fix license management |