summaryrefslogtreecommitdiffstats
path: root/php-pecl-zip.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-12 09:22:40 +0200
committerRemi Collet <remi@remirepo.net>2018-06-12 09:22:40 +0200
commit14d1ac171569b06b9e61c6f8c800852f5a993b99 (patch)
tree3606d5c15986d676e3f8b9d074755c27efd553f3 /php-pecl-zip.spec
parent51c84becca1489c22ebd19725f089a3f8d3a5cb9 (diff)
v1.15.3
Diffstat (limited to 'php-pecl-zip.spec')
-rw-r--r--php-pecl-zip.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec
index db36ecf..84019ad 100644
--- a/php-pecl-zip.spec
+++ b/php-pecl-zip.spec
@@ -3,12 +3,16 @@
#
# fedora spec file for php-pecl-zip
#
-# Copyright (c) 2013-2017 Remi Collet
+# Copyright (c) 2013-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
+
%{?scl: %scl_package php-pecl-zip}
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
@@ -27,7 +31,7 @@
Summary: A ZIP archive management extension
Summary(fr): Une extension de gestion des ZIP
Name: %{?scl_prefix}php-pecl-zip
-Version: 1.15.2
+Version: 1.15.3
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Languages
@@ -35,6 +39,7 @@ URL: http://pecl.php.net/package/zip
Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
# Version 1.2.0 for encryption support
BuildRequires: pkgconfig(libzip) >= 1.2.0
@@ -211,7 +216,7 @@ TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
%endif
-%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
@@ -246,6 +251,9 @@ fi
%changelog
+* Tue Jun 12 2018 Remi Collet <remi@remirepo.net> - 1.15.3-1
+- update to 1.15.3 (stable)
+
* Tue Dec 19 2017 Remi Collet <remi@remirepo.net> - 1.15.2-1
- update to 1.15.2 (stable)