diff options
author | Remi Collet <remi@remirepo.net> | 2023-08-24 10:51:41 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-08-24 10:51:41 +0200 |
commit | e84044cbe7ef9b3d745cedb270cb932df2f10539 (patch) | |
tree | 49bdbcb6501bca00eb5b0f7819eb23e7c9ca8f7c | |
parent | ea6261cfaabe1f2cb40472814d5e8124bcdd92eb (diff) |
-rw-r--r-- | php-pecl-wddx.spec | 31 |
1 files 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 <remi@remirepo.net> - 1.0.0~DEV.20210114-8 +- F39 build + * Thu Jan 14 2021 Remi Collet <remi@remirepo.net> - 1.0.0~DEV.20210114-7 - add upstream fix for PHP 8 |