From 0ab6182ab7b66a0bfb0ff8ba670e018e66ad6b70 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Mar 2018 13:03:25 +0100 Subject: v1.2.5 --- php-pecl-ds.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/php-pecl-ds.spec b/php-pecl-ds.spec index bb4ecb6..c56ace1 100644 --- a/php-pecl-ds.spec +++ b/php-pecl-ds.spec @@ -1,11 +1,15 @@ # remirepo spec file for php-pecl-ds # -# Copyright (c) 2016-2017 Remi Collet +# Copyright (c) 2016-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} %scl_package php-pecl-ds %global sub_prefix %{scl_prefix} @@ -29,16 +33,16 @@ Summary: Data Structures for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.2.4 +Version: 1.2.5 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz # Only use for tests during the build, no value to be packaged separately # in composer.json: "require-dev": { "php-ds/tests": "dev-master" } Source1: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{gh_short}.tar.gz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-json @@ -165,7 +169,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 @@ -235,6 +239,9 @@ cd .. %changelog +* Mon Mar 12 2018 Remi Collet - 1.2.5-1 +- update to 1.2.5 + * Wed Nov 29 2017 Remi Collet - 1.2.4-1 - Update to 1.2.4 - switch to phpunit 6 -- cgit