public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: remi <fedora@famillecollet.com>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: all binaries in /usr/bin with zts suffix per FPC request
Date: Fri, 27 Nov 2026 07:24:49 GMT	[thread overview]
Message-ID: <179576428977.1.12505774346602865194.rpms-php-9f2aa9e585f5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 9f2aa9e585f59d9f604195c31e770a27f68afdb6
Author : remi <fedora@famillecollet.com>
Date   : 2012-01-25T21:43:09+01:00
Stats  : +13/-10 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/9f2aa9e585f59d9f604195c31e770a27f68afdb6?branch=private-php86

Log:
all binaries in /usr/bin with zts suffix per FPC request

---
diff --git a/macros.php b/macros.php
index 4de8639..dde7ee4 100644
--- a/macros.php
+++ b/macros.php
@@ -15,5 +15,4 @@
 %php_ztsincldir %{_includedir}/php-zts/php
 
 %__php         %{_bindir}/php
-%php_bindir    %{_bindir}
-%php_ztsbindir %{_bindir}/php-zts
+%__ztsphp      %{_bindir}/php-zts

diff --git a/php.spec b/php.spec
index c2718b4..f7a41ff 100644
--- a/php.spec
+++ b/php.spec
@@ -40,7 +40,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: 5.4.0
-Release: 0.1.%{rcver}%{?dist}
+Release: 0.2.%{rcver}%{?dist}
 License: PHP
 Group: Development/Languages
 URL: http://www.php.net/
@@ -819,7 +819,6 @@ pushd build-ztscli
 
 EXTENSION_DIR=%{_libdir}/php-zts/modules
 build --enable-force-cgi-redirect \
-      --bindir=%{_bindir}/php-zts \
       --includedir=%{_includedir}/php-zts \
       --libdir=%{_libdir}/php-zts \
       --enable-maintainer-zts \
@@ -880,7 +879,6 @@ popd
 # Build a special thread-safe Apache SAPI
 pushd build-zts
 build --with-apxs2=%{_sbindir}/apxs \
-      --bindir=%{_bindir}/php-zts \
       --includedir=%{_includedir}/php-zts \
       --libdir=%{_libdir}/php-zts \
       --enable-maintainer-zts \
@@ -934,6 +932,11 @@ mv $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/pdo_mysql.so \
 make -C build-zts install-modules \
      INSTALL_ROOT=$RPM_BUILD_ROOT
 
+# rename ZTS binary
+mv $RPM_BUILD_ROOT%{_bindir}/php        $RPM_BUILD_ROOT%{_bindir}/php-zts
+mv $RPM_BUILD_ROOT%{_bindir}/phpize     $RPM_BUILD_ROOT%{_bindir}/phpize-zts
+mv $RPM_BUILD_ROOT%{_bindir}/php-config $RPM_BUILD_ROOT%{_bindir}/php-config-zts
+
 # Install the version for embedded script language in applications + php_embed.h
 make -C build-embedded install-sapi install-headers \
      INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -1079,8 +1082,6 @@ install -m 644 -c macros.php \
 rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
        $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/*.a \
        $RPM_BUILD_ROOT%{_bindir}/{phptar} \
-       $RPM_BUILD_ROOT%{_bindir}/php-zts/phar* \
-       $RPM_BUILD_ROOT%{_bindir}/php-zts/php-cgi \
        $RPM_BUILD_ROOT%{_datadir}/pear \
        $RPM_BUILD_ROOT%{_libdir}/libphp5.la
 
@@ -1187,10 +1188,10 @@ fi
 %files devel
 %defattr(-,root,root)
 %{_bindir}/php-config
-%{_bindir}/php-zts/php-config
-%{_bindir}/php-zts/phpize
+%{_bindir}/php-config-zts
+%{_bindir}/phpize-zts
 # usefull only to test other module during build
-%{_bindir}/php-zts/php
+%{_bindir}/php-zts
 %{_includedir}/php
 %{_includedir}/php-zts
 %{_libdir}/php/build
@@ -1232,6 +1233,9 @@ fi
 
 
 %changelog
+* Wed Jan 25 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.2.RC6
+- all binaries in /usr/bin with zts suffix
+
 * Wed Jan 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.1.RC6
 - update to PHP 5.4.0RC6
   https://fedoraproject.org/wiki/Features/Php54

                 reply	other threads:[~2026-11-27  7:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576428977.1.12505774346602865194.rpms-php-9f2aa9e585f5@fedoraproject.org \
    --to=fedora@famillecollet.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox