remove obsolete configure CFLAGS and LIBS causing module to crash with php [release 3.7.0-5mamba;Tue Jul 09 2024]

This commit is contained in:
Automatic Build System 2024-07-09 23:17:59 +02:00
parent 776c1ad987
commit 94cda6de23

View File

@ -1,7 +1,7 @@
%define php_majver %(php-config --version | cut -d. -f1-2) %define php_majver %(php-config --version | cut -d. -f1-2)
Name: php-imagick Name: php-imagick
Version: 3.7.0 Version: 3.7.0
Release: 4mamba Release: 5mamba
Summary: PHP wrapper to the ImageMagick library Summary: PHP wrapper to the ImageMagick library
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -12,6 +12,7 @@ Source: https://pecl.php.net/get/imagick-%{version}.tgz
License: PHP License License: PHP License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libMagick-devel
BuildRequires: libgomp-devel BuildRequires: libgomp-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: php-devel >= 8.3.1-1mamba BuildRequires: php-devel >= 8.3.1-1mamba
@ -26,13 +27,15 @@ PHP wrapper to the ImageMagick library.
%prep %prep
%setup -q -c %{name}-%{version} %setup -q -c %{name}-%{version}
# Ensure package version is set
sed -e "s/@PACKAGE_VERSION@/%{version}/" -i imagick-%{version}/php_imagick.h package.xml
%build %build
cd imagick-%{version} cd imagick-%{version}
phpize phpize
%configure \ %configure \
CFLAGS="%{optflags} `pkgconf MagickWand-7.Q16HDRI --cflags`" CFLAGS="%{optflags}"
LIBS="`pkgconf MagickWand-7.Q16HDRI --libs`"
%make %make
@ -89,6 +92,9 @@ fi
%{_libdir}/php/extensions/imagick.so %{_libdir}/php/extensions/imagick.so
%changelog %changelog
* Tue Jul 09 2024 Automatic Build System <autodist@openmamba.org> 3.7.0-5mamba
- remove obsolete configure CFLAGS and LIBS causing module to crash with php
* Tue Jan 16 2024 Automatic Build System <autodist@mambasoft.it> 3.7.0-4mamba * Tue Jan 16 2024 Automatic Build System <autodist@mambasoft.it> 3.7.0-4mamba
- rebuilt by autoport with build requirements: php-devel>=8.3.1-1mamba - rebuilt by autoport with build requirements: php-devel>=8.3.1-1mamba