rebuilt with --with-zip=shared to fix ZipArchive support [release 7.4.15-2mamba;Thu Apr 08 2021]
This commit is contained in:
parent
3d5a56667e
commit
8d541a7d4c
31
php.spec
31
php.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: php
|
Name: php
|
||||||
Version: 7.4.15
|
Version: 7.4.15
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: The PHP HTML-embedded scripting language
|
Summary: The PHP HTML-embedded scripting language
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -26,7 +26,6 @@ Patch6: php-7.4.6-mariadb-10.4.13.patch
|
|||||||
License: PHP License
|
License: PHP License
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXau-devel
|
BuildRequires: libXau-devel
|
||||||
BuildRequires: libXdmcp-devel
|
BuildRequires: libXdmcp-devel
|
||||||
@ -45,9 +44,11 @@ BuildRequires: libgcc
|
|||||||
BuildRequires: libgd-devel
|
BuildRequires: libgd-devel
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libgraphite2-devel
|
BuildRequires: libgraphite2-devel
|
||||||
|
BuildRequires: libgsasl-devel
|
||||||
BuildRequires: libgss-devel
|
BuildRequires: libgss-devel
|
||||||
BuildRequires: libharfbuzz-devel
|
BuildRequires: libharfbuzz-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: libidn-devel
|
||||||
BuildRequires: libidn2-devel
|
BuildRequires: libidn2-devel
|
||||||
BuildRequires: libimap-c-client-devel
|
BuildRequires: libimap-c-client-devel
|
||||||
BuildRequires: libjbig-devel
|
BuildRequires: libjbig-devel
|
||||||
@ -55,6 +56,7 @@ BuildRequires: libjpeg-devel
|
|||||||
BuildRequires: libkrb5-devel
|
BuildRequires: libkrb5-devel
|
||||||
BuildRequires: liblzma-devel
|
BuildRequires: liblzma-devel
|
||||||
BuildRequires: libnghttp2-devel
|
BuildRequires: libnghttp2-devel
|
||||||
|
BuildRequires: libntlm-devel
|
||||||
BuildRequires: libodbc-devel
|
BuildRequires: libodbc-devel
|
||||||
BuildRequires: libonig-devel
|
BuildRequires: libonig-devel
|
||||||
BuildRequires: libopenldap-devel
|
BuildRequires: libopenldap-devel
|
||||||
@ -223,7 +225,7 @@ This package contains the PostgreSQL extensions for PHP.
|
|||||||
Summary: PHP SQLite extension
|
Summary: PHP SQLite extension
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Provides: php-pdo_sqlite = %{?epoch:%epoch:}%{version}-%{release}
|
Provides: php-pdo_sqlite = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: php-pdo_sqlite
|
Obsoletes: php-pdo_sqlite < 7.4.15
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-pdo = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name}-pdo = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
@ -238,7 +240,7 @@ This package contains the SQLite extensions for PHP.
|
|||||||
Summary: PHP xslt extension
|
Summary: PHP xslt extension
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Provides: php-xslt = %{?epoch:%epoch:}%{version}-%{release}
|
Provides: php-xslt = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: php-xslt
|
Obsoletes: php-xslt < 7.4.15
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description xsl
|
%description xsl
|
||||||
@ -248,6 +250,17 @@ The most common use of PHP coding is probably as a replacement for CGI scripts.
|
|||||||
|
|
||||||
This package contains the xslt extension for PHP.
|
This package contains the xslt extension for PHP.
|
||||||
|
|
||||||
|
%package zip
|
||||||
|
Summary: PHP zip extension
|
||||||
|
Group: System/Servers
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description zip
|
||||||
|
PHP is an HTML-embeddable scripting language.
|
||||||
|
PHP offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled script with PHP is fairly simple.
|
||||||
|
The most common use of PHP coding is probably as a replacement for CGI scripts.
|
||||||
|
This package contains the zip extension for PHP.
|
||||||
|
|
||||||
%package -n apache-mod_php
|
%package -n apache-mod_php
|
||||||
Summary: PHP module for Apache Web Server
|
Summary: PHP module for Apache Web Server
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
@ -321,7 +334,7 @@ PEAR_INSTALLDIR="%{_libdir}/php"; export PEAR_INSTALLDIR
|
|||||||
--with-bz2 \
|
--with-bz2 \
|
||||||
--with-curl \
|
--with-curl \
|
||||||
--with-xmlrpc \
|
--with-xmlrpc \
|
||||||
--with-zip \
|
--with-zip=shared \
|
||||||
--with-pdo-odbc=shared,unixODBC,%{_prefix} \
|
--with-pdo-odbc=shared,unixODBC,%{_prefix} \
|
||||||
--with-pdo-pgsql=shared \
|
--with-pdo-pgsql=shared \
|
||||||
--with-pdo-sqlite=shared \
|
--with-pdo-sqlite=shared \
|
||||||
@ -368,7 +381,7 @@ install -m 700 -d %{buildroot}%{_localstatedir}/lib/php/session
|
|||||||
|
|
||||||
# generate files lists and stub .ini files for each subpackage
|
# generate files lists and stub .ini files for each subpackage
|
||||||
for mod in imap ldap mysqli odbc openssl opcache \
|
for mod in imap ldap mysqli odbc openssl opcache \
|
||||||
pdo pdo_mysql pdo_odbc pdo_pgsql pgsql pdo_sqlite sqlite3 xsl; do
|
pdo pdo_mysql pdo_odbc pdo_pgsql pgsql pdo_sqlite sqlite3 xsl zip; do
|
||||||
cat > %{buildroot}%{_sysconfdir}/php/php.d/${mod}.ini <<EOF
|
cat > %{buildroot}%{_sysconfdir}/php/php.d/${mod}.ini <<EOF
|
||||||
; Enable ${mod} extension module
|
; Enable ${mod} extension module
|
||||||
extension=${mod}.so
|
extension=${mod}.so
|
||||||
@ -494,7 +507,13 @@ exit 0
|
|||||||
%files -n php-xsl -f files.xsl
|
%files -n php-xsl -f files.xsl
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%files -n php-zip -f files.zip
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.15-2mamba
|
||||||
|
- rebuilt with --with-zip=shared to fix ZipArchive support
|
||||||
|
|
||||||
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.15-1mamba
|
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.15-1mamba
|
||||||
- update to 7.4.15
|
- update to 7.4.15
|
||||||
- enable external gd
|
- enable external gd
|
||||||
|
Loading…
Reference in New Issue
Block a user