diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-08 15:32:06 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-08 15:32:06 +0100 |
commit | 1ad03ccedb25ec3991b77ffb63ee7088100a3b43 (patch) | |
tree | 4281e48ee9222fa04140859e9da0d04f93bdf7ad | |
parent | e52d8d6efca01bfe477614cc5430a7991d84152a (diff) |
cleanupphp71
-rw-r--r-- | php-pecl-ref.spec | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/php-pecl-ref.spec b/php-pecl-ref.spec index a8fcc9d..491408f 100644 --- a/php-pecl-ref.spec +++ b/php-pecl-ref.spec @@ -1,11 +1,15 @@ # remirepo spec file for php-pecl-ref # -# Copyright (c) 2017 Remi Collet +# Copyright (c) 2017-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # + +# we don't want -z defs linker flag +%undefine _strict_symbol_defs_build + %if 0%{?scl:1} %global sub_prefix %{scl_prefix} %scl_package php-pecl-ref @@ -22,9 +26,9 @@ Version: 0.5.0 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz License: PHP -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.1 BuildRequires: %{?scl_prefix}php-pear @@ -145,7 +149,7 @@ do install -Dpm 644 NTS/$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 |