From f817d1867fa9ee67445fd90357d7723ecfd3f3b9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 22 Aug 2024 09:43:10 +0200 Subject: missing BR on F41 --- php-pecl-awscrt.spec | 44 +++++++------------------------------------- 1 file changed, 7 insertions(+), 37 deletions(-) (limited to 'php-pecl-awscrt.spec') diff --git a/php-pecl-awscrt.spec b/php-pecl-awscrt.spec index 4b1dab7..0f30c8d 100644 --- a/php-pecl-awscrt.spec +++ b/php-pecl-awscrt.spec @@ -11,12 +11,6 @@ %{?scl:%scl_package php-pecl-awscrt} -# For PHP < 5.6 and EPEL-9 -%{!?__phpize: %global __phpize %{_bindir}/phpize} -%{!?__ztsphpize: %global __ztsphpize %{_bindir}/zts-phpize} -%{!?__phpconfig: %global __phpconfig %{_bindir}/php-config} -%{!?__ztsphpconfig:%global __ztsphpconfig %{_bindir}/zts-php-config} - # not wanted for now %global with_zts 0 %global pecl_name awscrt @@ -27,30 +21,23 @@ Summary: AWS Common Runtime PHP bindings Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.2.6 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} # extension is Apache-2.0 # see LICENSE* for rust libraries License: Apache-2.0 AND MIT AND BSD-3-Clause URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz -%if 0%{?rhel} == 7 && 0%{?dtsversion} == 0 -BuildRequires: devtoolset-6-toolchain -%global dtsversion 6 -%global dtsenable source /opt/rh/devtoolset-6/enable -%global dtsprefix devtoolset-6- -%endif BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 5.5 BuildRequires: %{?scl_prefix}php-cli BuildRequires: %{?scl_prefix}php-pear BuildRequires: openssl-devel -%if 0%{?rhel} == 7 -BuildRequires: cmake3 -%else -BuildRequires: cmake +%if 0%{?fedora} >= 41 +BuildRequires: openssl-devel-engine %endif +BuildRequires: cmake # List from config.m4 Provides: bundled(libaws-crt-ffi) @@ -169,26 +156,6 @@ do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 && 0%{?rhel} < 8 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# posttrans as pear can be installed after us -%posttrans -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -%postun -if [ $1 -eq 0 -a -x %{__pecl} ] ; then - %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - - %check # Minimal load test for NTS extension %{__php} --no-php-ini \ @@ -218,6 +185,9 @@ fi %changelog +* Thu Aug 22 2024 Remi Collet - 1.2.6-2 +- missing BR on F41 + * Fri Jun 14 2024 Remi Collet - 1.2.6-1 - update to 1.2.6 -- cgit