From e84044cbe7ef9b3d745cedb270cb932df2f10539 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 24 Aug 2023 10:51:41 +0200 Subject: F39 build --- php-pecl-wddx.spec | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/php-pecl-wddx.spec b/php-pecl-wddx.spec index 937654e..40bfa68 100644 --- a/php-pecl-wddx.spec +++ b/php-pecl-wddx.spec @@ -1,7 +1,7 @@ # remirepo spec file for php-pecl-wddx # -# Copyright (c) 2020-2021 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2020-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -11,7 +11,6 @@ %undefine _strict_symbol_defs_build %if 0%{?scl:1} -%global sub_prefix %{scl_prefix} %scl_package php-pecl-wddx %else %global _root_bindir %{_bindir} @@ -28,16 +27,16 @@ %global pecl_name wddx %global with_tests 0%{!?_without_tests:1} %global upver 1.0.0 -%global lower DEV +%global uplower DEV # After 20-xml %global ini_name 30-%{pecl_name}.ini Summary: Web Distributed Data Exchange -Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: %{upver}%{?lower:~%{lower}}%{?gh_date:.%{gh_date}} -Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Name: %{?scl_prefix}php-pecl-%{pecl_name} +Version: %{upver}%{?uplower:~%{uplower}}%{?gh_date:.%{gh_date}} +Release: 8%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -License: PHP +License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{upver}-%{gh_short}.tar.gz @@ -50,7 +49,6 @@ BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-xml%{?_isa} -%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} # Set epoch so provides is > 0:7.3 Obsoletes: %{?scl_prefix}php-%{pecl_name} < 7.4.0 @@ -58,18 +56,6 @@ Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} -%endif - -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -Obsoletes: php74-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "8.0" -Obsoletes: php80-pecl-%{pecl_name} <= %{version} -%endif -%endif %description @@ -193,6 +179,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Aug 24 2023 Remi Collet - 1.0.0~DEV.20210114-8 +- F39 build + * Thu Jan 14 2021 Remi Collet - 1.0.0~DEV.20210114-7 - add upstream fix for PHP 8 -- cgit