Disable debug packages and fix build. master auto/th/php-ioncube-10.4.5-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 23 Mar 2021 11:44:31 +0000 (12:44 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 23 Mar 2021 11:44:31 +0000 (12:44 +0100)
php-ioncube.spec

index 4b542e53d07aeb67d818bbb5aa451933dd303ba2..63f2c2e8b61fa209b6b68766ffb8884265c3b146 100644 (file)
@@ -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
This page took 0.081662 seconds and 4 git commands to generate.