public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: change php embedded library soname version to 5.4
@ 2026-11-27 7:25 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27 7:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 2d008f8a3baba55ead9be775deed0cfb8ff82f58
Author : Remi Collet <rcollet@redhat.com>
Date : 2012-11-09T10:03:02+01:00
Stats : +6/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/2d008f8a3baba55ead9be775deed0cfb8ff82f58?branch=private-php86
Log:
change php embedded library soname version to 5.4
---
diff --git a/php-5.2.4-embed.patch b/php-5.2.4-embed.patch
index 44276de..a9d5416 100644
--- a/php-5.2.4-embed.patch
+++ b/php-5.2.4-embed.patch
@@ -5,7 +5,7 @@
yes|shared)
PHP_EMBED_TYPE=shared
- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
-+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_VERSION)"
++ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)"
+ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"
;;
static)
diff --git a/php.spec b/php.spec
index f621b5e..8f31863 100644
--- a/php.spec
+++ b/php.spec
@@ -9,6 +9,9 @@
%global zipver 1.11.0
%global jsonver 1.2.1
+# version used for php embedded library soname
+%global embed_version 5.4
+
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
# Regression tests take a long time, you can skip 'em with this
@@ -1369,7 +1372,7 @@ fi
%files embedded
%{_libdir}/libphp5.so
-%{_libdir}/libphp5-%{version}%{?rcver}.so
+%{_libdir}/libphp5-%{embed_version}.so
%files pgsql -f files.pgsql
%files mysql -f files.mysql
@@ -1408,6 +1411,7 @@ fi
- clarify Licenses
- missing provides xmlreader and xmlwriter
- modernize spec
+- change php embedded library soname version to 5.4
* Tue Nov 6 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5
- fix _httpd_mmn macro definition
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:25 [rpms/php] private-php86: change php embedded library soname version to 5.4 Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox