public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-extras] eln: rebase to 8.3.12
@ 2026-10-28 15:08 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-10-28 15:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php-extras
Branch : eln
Commit : 13446ec7b1dda6d468138a4045449b11206ebc25
Author : Remi Collet <remi@fedoraproject.org>
Date : 2024-10-16T13:05:18+02:00
Stats : +20/-82 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-extras/c/13446ec7b1dda6d468138a4045449b11206ebc25?branch=eln
Log:
rebase to 8.3.12
drop aspell and imap extensions
disable pdo_dblib (missing freetds)
disable pdo_firebird (missing firebird)
---
diff --git a/.gitignore b/.gitignore
index 20dd864..acc5dd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ clog
/php-8.0.13.tar.xz
/php-8.0.20.tar.xz
/php-8.0.30.tar.xz
+/php-8.3.12.tar.xz
diff --git a/php-extras.spec b/php-extras.spec
index 9487233..bcfb0c2 100644
--- a/php-extras.spec
+++ b/php-extras.spec
@@ -1,24 +1,25 @@
-# EPEL 9.0, PHP 8.0
+# EPEL 10.0, PHP 8.3
-# Enabled extension
+# Enabled extensions
%bcond_without sodium
-%bcond_without aspell
-%bcond_without freetds
%bcond_without tidy
-%bcond_without firebird
-# dead library, not planed for now
-%bcond_with imap
+# Disabled as dependencies not ready
+# https://bugzilla.redhat.com/2319127 - Please branch and build freetds for EPEL 10
+%bcond_with freetds
+# https://bugzilla.redhat.com/2319128 - Please branch and build firebird for EPEL 10
+%bcond_with firebird
+
Name: php-extras
Summary: Additional PHP extensions from the standard PHP distribution
-Version: 8.0.30
+Version: 8.3.12
Release: 1%{?dist}
License: PHP
URL: https://www.php.net/
Source0: https://www.php.net/distributions/php-%{version}.tar.xz
-BuildRequires: (php-devel >= 8.0 with php-devel < 8.1)
+BuildRequires: (php-devel >= 8.3 with php-devel < 8.4)
BuildRequires: php-pdo
@@ -29,23 +30,6 @@ This package contains various additional extension for PHP, which
have not been included in the basic PHP package for RHEL.
-%if %{with imap}
-%package -n php-imap
-Summary: A module for PHP applications that use IMAP
-
-BuildRequires: krb5-devel, openssl-devel, libc-client-devel
-
-Requires: php(zend-abi) = %{php_zend_api}
-Requires: php(api) = %{php_core_api}
-
-%description -n php-imap
-The php-imap package module will add IMAP (Internet Message Access Protocol)
-support to PHP. IMAP is a protocol for retrieving and uploading e-mail messages
-on mail servers. PHP is an HTML-embedded scripting language. If you need IMAP
-support for PHP applications, you will need to install this package.
-%endif
-
-
%if %{with tidy}
%package -n php-tidy
Summary: Standard PHP module provides tidy library support
@@ -99,21 +83,6 @@ Interbase/Firebird databases.
%endif
-%if %{with aspell}
-%package -n php-pspell
-Summary: A module for PHP applications for using pspell interfaces
-
-BuildRequires: aspell-devel >= 0.50.0
-
-Requires: php(zend-abi) = %{php_zend_api}
-Requires: php(api) = %{php_core_api}
-
-%description -n php-pspell
-The php-pspell package contains a dynamic shared object that will add
-support for using the pspell library to PHP.
-%endif
-
-
%if %{with sodium}
%package -n php-sodium
Summary: Wrapper for the Sodium cryptographic library
@@ -139,18 +108,12 @@ low-level PHP extension for the libsodium cryptographic library.
%build
for mod in \
-%if %{with imap}
- imap \
-%endif
%if %{with freetds}
pdo_dblib \
%endif
%if %{with firebird}
pdo_firebird \
%endif
-%if %{with aspell}
- pspell \
-%endif
%if %{with sodium}
sodium \
%endif
@@ -160,28 +123,22 @@ for mod in \
; do
pushd ext/$mod
- %{_bindir}/phpize
+ %{__phpize}
%configure \
--with-libdir=%{_lib} \
-%if %{with imap}
- --with-imap=shared --with-kerberos --with-imap-ssl \
-%endif
%if %{with freetds}
--with-pdo-dblib=shared,%{_prefix} \
%endif
%if %{with firebird}
--with-pdo-firebird=shared \
%endif
-%if %{with aspell}
- --with-pspell=shared \
-%endif
%if %{with sodium}
--with-sodium=shared \
%endif
%if %{with tidy}
--with-tidy=shared,%{_prefix} \
%endif
- --with-php-config=%{_bindir}/php-config
+ --with-php-config=%{__phpconfig}
make %{?_smp_mflags}
@@ -191,18 +148,12 @@ done
%check
for mod in \
-%if %{with imap}
- imap \
-%endif
%if %{with freetds}
pdo_dblib \
%endif
%if %{with firebird}
pdo_firebird \
%endif
-%if %{with aspell}
- pspell \
-%endif
%if %{with sodium}
sodium \
%endif
@@ -220,12 +171,6 @@ rm ext/tidy/tests/020.phpt
: upstream test suite for extension without Database
fail=0
for mod in \
-%if %{with imap}
- imap \
-%endif
-%if %{with aspell}
- pspell \
-%endif
%if %{with sodium}
sodium \
%endif
@@ -246,18 +191,12 @@ install -d %{buildroot}%{php_extdir}
install -d %{buildroot}%{php_inidir}
for mod in \
-%if %{with imap}
- imap \
-%endif
%if %{with freetds}
pdo_dblib \
%endif
%if %{with firebird}
pdo_firebird \
%endif
-%if %{with aspell}
- pspell \
-%endif
%if %{with sodium}
sodium \
%endif
@@ -280,10 +219,6 @@ done
# Notice: PHP License in php-common pulled by each package
-%if %{with imap}
-%files -n php-imap -f files.imap
-%endif
-
%if %{with firebird}
%files -n php-pdo-firebird -f files.pdo_firebird
%endif
@@ -292,10 +227,6 @@ done
%files -n php-pdo-dblib -f files.pdo_dblib
%endif
-%if %{with aspell}
-%files -n php-pspell -f files.pspell
-%endif
-
%if %{with sodium}
%files -n php-sodium -f files.sodium
%endif
@@ -305,6 +236,12 @@ done
%endif
%changelog
+* Wed Oct 16 2024 Remi Collet <rcollet@redhat.com> - 8.3.12-1
+- rebase to 8.3.12
+- drop aspell and imap extensions
+- disable pdo_dblib (missing freetds)
+- disable pdo_firebird (missing firebird)
+
* Thu Nov 9 2023 Remi Collet <rcollet@redhat.com> - 8.0.30-1
- rebase to 8.0.30
diff --git a/sources b/sources
index 819d697..ef12d37 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-8.0.30.tar.xz) = fb816e0a4e4dc506b0ea4425f26690edc6afadb5474ac84df0a1aa293abecd50d128b36074e3e0740c7228109d486ca446869a9c920419610a20ab5989870782
+SHA512 (php-8.3.12.tar.xz) = 2c4b440fa52950c75934559e977f39a179d1ad9edf8a17fe1b9ff89b58fbcafffb1bc1d59b6df46a9631554f0255c9271d906238c59287c799d195459be3e6a3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 15:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 15:08 [rpms/php-extras] eln: rebase to 8.3.12 Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox