summaryrefslogtreecommitdiffstats
path: root/php-pecl-runkit7.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-16 07:52:56 +0200
committerRemi Collet <remi@php.net>2022-08-16 07:52:56 +0200
commitaa810b55a0063da68d42be180cc5f95d6310a24a (patch)
tree22a643a0d1537a0e6aa8665b7393a27336e28fab /php-pecl-runkit7.spec
parentce9f3fa538552abbac78917c4a5284506e123651 (diff)
update to 4.0.0a6
Diffstat (limited to 'php-pecl-runkit7.spec')
-rw-r--r--php-pecl-runkit7.spec23
1 files changed, 11 insertions, 12 deletions
diff --git a/php-pecl-runkit7.spec b/php-pecl-runkit7.spec
index 1773f00..6d3ac4a 100644
--- a/php-pecl-runkit7.spec
+++ b/php-pecl-runkit7.spec
@@ -1,32 +1,32 @@
# remirepo spec file for php-pecl-runkit7
#
-# Copyright (c) 2019-2021 Remi Collet
+# Copyright (c) 2019-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
%scl_package php-pecl-runkit7
%else
%global _root_prefix %{_prefix}
%endif
+%bcond_without tests
+
# The project is runkit7 but the extension is only runkit
%global proj_name runkit7
%global pecl_name runkit7
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
-%global with_tests 0%{!?_without_tests:1}
%global upstream_version 4.0.0
-%global upstream_prever a3
+%global upstream_prever a6
-Name: %{?sub_prefix}php-pecl-%{proj_name}
+Name: %{?scl_prefix}php-pecl-%{proj_name}
Summary: For all those things you... shouldn't have been doing anyway... but surely do!
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: https://pecl.php.net/package/%{proj_name}
@@ -45,10 +45,6 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}
-%endif
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
@@ -165,7 +161,7 @@ export REPORT_EXIT_STATUS=1
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
-%if %{with_tests}
+%if %{with tests}
# ignore FPM tests because of systemd monitoring changing output
rm ?TS/tests/runkit_fpm*
@@ -183,7 +179,7 @@ TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
-%if %{with_tests}
+%if %{with tests}
: Upstream test suite ZTS extension
cd ../ZTS
TEST_PHP_EXECUTABLE=%{__ztsphp} \
@@ -226,6 +222,9 @@ fi
%endif
%changelog
+* Tue Aug 16 2022 Remi Collet <remi@remirepo.net> - 4.0.0~a6-1
+- update to 4.0.0a6
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 4.0.0~a3-2
- rebuild for 8.1.0RC1