Browse Source

upgrading package: apache-php 7.4.12 -> 8.0.0

master
parent
commit
37d4bd9235
  1. 12
      apache-php/apache-php.spec

12
apache-php/apache-php.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: BASE Class: BASE
Group: Web Group: Web
License: PHP License: PHP
Version: 7.4.12 Version: 8.0.0
Release: 20201029 Release: 20201126
# package options # package options
%option with_bc no %option with_bc no
@ -54,7 +54,6 @@ Release: 20201029
%option with_iconv no %option with_iconv no
%option with_imap no %option with_imap no
%option with_intl no %option with_intl no
%option with_json no
%option with_tokenizer no %option with_tokenizer no
%option with_mbregex no %option with_mbregex no
%option with_mbstring no %option with_mbstring no
@ -428,11 +427,6 @@ PreReq: gmp
--enable-intl \ --enable-intl \
--with-icu-dir=%{l_prefix} \ --with-icu-dir=%{l_prefix} \
%endif %endif
%if "%{with_json}" == "yes"
--enable-json \
%else
--disable-json \
%endif
%if "%{with_tokenizer}" == "yes" %if "%{with_tokenizer}" == "yes"
--enable-tokenizer \ --enable-tokenizer \
%else %else
@ -551,7 +545,7 @@ PreReq: gmp
echo "#" echo "#"
) >$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.conf ) >$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.conf
%{l_make} %{l_mflags} install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT %{l_make} %{l_mflags} install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{l_prefix}/libexec/apache/libphp7.so \ mv $RPM_BUILD_ROOT%{l_prefix}/libexec/apache/libphp.so \
$RPM_BUILD_ROOT%{l_prefix}/libexec/apache/mod_php.so $RPM_BUILD_ROOT%{l_prefix}/libexec/apache/mod_php.so
rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.conf* rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.conf*

Loading…
Cancel
Save