[packages/php-ioncube] Disable debug packages and fix build.
arekm
arekm at pld-linux.org
Tue Mar 23 12:44:42 CET 2021
commit a0bf766b9ebd97ae2444e8bc6e7e15cadadb7426
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 23 12:44:31 2021 +0100
Disable debug packages and fix build.
php-ioncube.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-ioncube.spec b/php-ioncube.spec
index 4b542e5..63f2c2e 100644
--- a/php-ioncube.spec
+++ b/php-ioncube.spec
@@ -21,6 +21,8 @@ Provides: php(%{modname}) = %{version}
ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _enable_debug_packages 0
+
%description
ionCube loader module for PHP.
@@ -49,7 +51,7 @@ install -d $RPM_BUILD_ROOT{%{php_extensiondir},%{php_sysconfdir}/conf.d}
install -p %{modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
; Enable %{modname} extension module
-%if %{php_major_version} == 5 && %{php_minor_version} < 3
+%if "%{php_major_version}" == "5" && "%{php_minor_version}" < "3"
zend_extension%{?zend_zts}=%{php_extensiondir}/%{modname}.so
%else
zend_extension=%{php_extensiondir}/%{modname}.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-ioncube.git/commitdiff/a0bf766b9ebd97ae2444e8bc6e7e15cadadb7426
More information about the pld-cvs-commit
mailing list