summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-trace.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/php-pecl-trace.spec b/php-pecl-trace.spec
index 1b186c3..17b3539 100644
--- a/php-pecl-trace.spec
+++ b/php-pecl-trace.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-pecl-trace
#
-# Copyright (c) 2015-2017 Remi Collet
+# Copyright (c) 2015-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -23,15 +23,15 @@
Summary: Trace is a low-overhead tracing tool for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.0.1
-Release: 0.3.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 0.4.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
# common/sds is BSD-2, other is ASL 2.0
License: ASL 2.0 and BSD
-Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
Patch0: 88.patch
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -74,6 +74,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -157,7 +161,7 @@ do install -Dpm 644 %{pecl_name}-%{version}%{?prever}/$i %{buildroot}%{pecl_docd
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
@@ -192,10 +196,6 @@ REPORT_EXIT_STATUS=1 \
%{_bindir}/php -n run-tests.php --show-diff
-%clean
-rm -rf %{buildroot}
-
-
%files
%{?_licensedir:%license %{pecl_name}-%{version}%{?prever}/LICENSE*}
%doc %{pecl_docdir}/%{pecl_name}
@@ -207,6 +207,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.0.1-0.4.beta
+- rebuild for 7.3.0alpha4 new ABI
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.0.1-0.3.beta
- rebuild for PHP 7.2.0beta1 new API