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
|
||||
Version: 7.4.15
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The PHP HTML-embedded scripting language
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
@ -26,7 +26,6 @@ Patch6: php-7.4.6-mariadb-10.4.13.patch
|
||||
License: PHP License
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
@ -45,9 +44,11 @@ BuildRequires: libgcc
|
||||
BuildRequires: libgd-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgraphite2-devel
|
||||
BuildRequires: libgsasl-devel
|
||||
BuildRequires: libgss-devel
|
||||
BuildRequires: libharfbuzz-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libidn-devel
|
||||
BuildRequires: libidn2-devel
|
||||
BuildRequires: libimap-c-client-devel
|
||||
BuildRequires: libjbig-devel
|
||||
@ -55,6 +56,7 @@ BuildRequires: libjpeg-devel
|
||||
BuildRequires: libkrb5-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libnghttp2-devel
|
||||
BuildRequires: libntlm-devel
|
||||
BuildRequires: libodbc-devel
|
||||
BuildRequires: libonig-devel
|
||||
BuildRequires: libopenldap-devel
|
||||
@ -223,7 +225,7 @@ This package contains the PostgreSQL extensions for PHP.
|
||||
Summary: PHP SQLite extension
|
||||
Group: System/Servers
|
||||
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}-pdo = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
@ -238,7 +240,7 @@ This package contains the SQLite extensions for PHP.
|
||||
Summary: PHP xslt extension
|
||||
Group: System/Servers
|
||||
Provides: php-xslt = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: php-xslt
|
||||
Obsoletes: php-xslt < 7.4.15
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%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.
|
||||
|
||||
%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
|
||||
Summary: PHP module for Apache Web Server
|
||||
Group: System/Servers
|
||||
@ -321,7 +334,7 @@ PEAR_INSTALLDIR="%{_libdir}/php"; export PEAR_INSTALLDIR
|
||||
--with-bz2 \
|
||||
--with-curl \
|
||||
--with-xmlrpc \
|
||||
--with-zip \
|
||||
--with-zip=shared \
|
||||
--with-pdo-odbc=shared,unixODBC,%{_prefix} \
|
||||
--with-pdo-pgsql=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
|
||||
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
|
||||
; Enable ${mod} extension module
|
||||
extension=${mod}.so
|
||||
@ -494,7 +507,13 @@ exit 0
|
||||
%files -n php-xsl -f files.xsl
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -n php-zip -f files.zip
|
||||
%defattr(-,root,root)
|
||||
|
||||
%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
|
||||
- update to 7.4.15
|
||||
- enable external gd
|
||||
|
Loading…
Reference in New Issue
Block a user