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: ghost /var/run/php-fpm (#656660) + fix for rpmlint
Date: Fri, 27 Nov 2026 07:24:27 GMT [thread overview]
Message-ID: <179576426770.1.1124294855703253957.rpms-php-558fe8dbf4b7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 558fe8dbf4b76846b99bbbaf8104e07f84686f5a
Author : remi <fedora@famillecollet.com>
Date : 2010-12-01T17:21:18+01:00
Stats : +21/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/558fe8dbf4b76846b99bbbaf8104e07f84686f5a?branch=private-php86
Log:
ghost /var/run/php-fpm (#656660) + fix for rpmlint
---
diff --git a/php-fpm.init b/php-fpm.init
index a6375ba..a23441c 100755
--- a/php-fpm.init
+++ b/php-fpm.init
@@ -27,6 +27,8 @@ lockfile=${LOCKFILE-/var/lock/subsys/php-fpm}
start () {
echo -n $"Starting $prog: "
+ dir=$(dirname ${pidfile})
+ [ -d $dir ] || mkdir $dir
daemon --pidfile ${pidfile} php-fpm
RETVAL=$?
echo
diff --git a/php.spec b/php.spec
index 68d991c..8794fb4 100644
--- a/php.spec
+++ b/php.spec
@@ -27,7 +27,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: 5.3.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: PHP
Group: Development/Languages
URL: http://www.php.net/
@@ -79,6 +79,14 @@ Requires: php-cli = %{version}-%{release}
# To ensure correct /var/lib/php/session ownership:
Requires(pre): httpd
+
+# Don't provides extensions, which are not shared library, as .so
+%{?filter_setup:
+%filter_provides_in %{_libdir}/php/modules/.*\.so$
+%filter_setup
+}
+
+
%description
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated webpages. PHP also
@@ -470,6 +478,10 @@ support for using the enchant library to PHP.
%patch61 -p1 -b .tests-wddx
+# Make rpmlint happy
+find . -name \*.c -exec chmod -x {} \;
+find . -name \*.h -exec chmod -x {} \;
+
# Prevent %%doc confusion over LICENSE files
cp Zend/LICENSE Zend/ZEND_LICENSE
cp TSRM/LICENSE TSRM_LICENSE
@@ -911,7 +923,7 @@ fi
%dir %{_sysconfdir}/php-fpm.d
# log owned by apache for log
%attr(770,apache,apache) %dir %{_localstatedir}/log/php-fpm
-%dir %{_localstatedir}/run/php-fpm
+%ghost %dir %{_localstatedir}/run/php-fpm
%{_mandir}/man1/php-fpm.1*
%endif
@@ -957,6 +969,11 @@ fi
%files enchant -f files.enchant
%changelog
+* Wed Dec 1 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-5
+- ghost /var/run/php-fpm (see #656660)
+- add filter_setup to not provides extensions as .so
+- fix perm on .c and .h to make rpmlint happy
+
* Mon Nov 1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-4
- use mysql_config in libdir directly to avoid biarch build failures
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=179576426770.1.1124294855703253957.rpms-php-558fe8dbf4b7@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