public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: add tmpfiles.d configuration file
@ 2026-11-27  7:33 Remi Collet
  0 siblings, 0 replies; 2+ messages in thread
From: Remi Collet @ 2026-11-27  7:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : f0803f8a5bb5cc1903d189e214805ab0622c23c9
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2025-10-09T12:52:57+02:00
Stats  : +7/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/f0803f8a5bb5cc1903d189e214805ab0622c23c9?branch=private-php86

Log:
add tmpfiles.d configuration file

---
diff --git a/php.spec b/php.spec
index e18454c..6f2cc0d 100644
--- a/php.spec
+++ b/php.spec
@@ -93,6 +93,7 @@ Source9: php.modconf
 Source12: php-fpm.wants
 Source13: nginx-fpm.conf
 Source14: nginx-php.conf
+Source15: php.tmpfiles
 # See https://secure.php.net/gpg-keys.php
 Source20: https://www.php.net/distributions/php-keyring.gpg
 Source21: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz.asc
@@ -1142,6 +1143,9 @@ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
 # For third-party packaging:
 install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php/preload
 
+# Install tmpfiles.d file
+install -p -D -m 0644 %{SOURCE15} %{buildroot}%{_tmpfilesdir}/%{name}.conf
+
 %if %{with modphp}
 # install the DSO
 install -m 755 -d $RPM_BUILD_ROOT%{_httpd_moddir}
@@ -1350,6 +1354,7 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
 %attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
 %attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
 %config(noreplace) %{_httpd_confdir}/php.conf
+%{_tmpfilesdir}/%{name}.conf
 %endif
 
 %files common -f files.common
@@ -1427,6 +1432,7 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
 %{_mandir}/man8/php-fpm.8*
 %dir %{_datadir}/php/fpm
 %{_datadir}/php/fpm/status.html
+%{_tmpfilesdir}/%{name}.conf
 
 %files devel
 %{_bindir}/php-config
@@ -1488,6 +1494,7 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
 - drop opcache subpackage, extension is build statically
 - add lexbor and uri extension (always static)
 - move /usr/share/fpm/status.html to /usr/share/php/fpm/status.html
+- add tmpfiles.d configuration file
 
 * Wed Sep 24 2025 Remi Collet <remi@remirepo.net> - 8.4.13-1
 - Update to 8.4.13 - http://www.php.net/releases/8_4_13.php

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/php] private-php86: add tmpfiles.d configuration file
@ 2026-11-27  7:33 Remi Collet
  0 siblings, 0 replies; 2+ messages in thread
From: Remi Collet @ 2026-11-27  7:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 4e28d736aef6af06b47f9eb29b04d961183a800a
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2025-10-09T12:55:57+02:00
Stats  : +5/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/4e28d736aef6af06b47f9eb29b04d961183a800a?branch=private-php86

Log:
add tmpfiles.d configuration file

---
diff --git a/php.tmpfiles b/php.tmpfiles
new file mode 100644
index 0000000..3a31929
--- /dev/null
+++ b/php.tmpfiles
@@ -0,0 +1,5 @@
+d /var/lib/php           0750 root   root   -
+d /var/lib/php/opcache   0770 root   apache -
+d /var/lib/php/session   0770 root   apache -
+d /var/lib/php/wsdlcache 0770 root   apache -
+d /var/log/php-fpm       0770 apache root   -

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-27  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:33 [rpms/php] private-php86: add tmpfiles.d configuration file Remi Collet
2026-11-27  7:33 Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox