Overview

Request 854971 accepted

This package doesn't install/update *.service files, therefor it has no business running %service_add_post or %service_del_postun. And the Requires: mod_php_any should go into the -apache subpackage, otherwise this would hard-require apache2 for the phpMyFAQ. Consider to make this a Recommends, as it doesn't look like this package can't be run through php-fpm in the apache2-worker of apache2-event MPMs, so a hard-require to apache2-prefork is probably not needed. Last I forgot to remove a couple of lines that are in the apache-rpm-macros already for non-(open)SUSE distributions.

Loading...

Arjen de Korte's avatar

Note that if you remove %{apache_user} and %{apache_group}, you'll get different user and group in other distributions.

The missing apache-rpm-macros is easily fixed by creating a link to the macros with osc linkpac Apache/apache-rpm-macros <yourproject>, where <yourproject> is the project you're working in.

Request History
Arjen de Korte's avatar

adkorte created request

This package doesn't install/update *.service files, therefor it has no business running %service_add_post or %service_del_postun. And the Requires: mod_php_any should go into the -apache subpackage, otherwise this would hard-require apache2 for the phpMyFAQ. Consider to make this a Recommends, as it doesn't look like this package can't be run through php-fpm in the apache2-worker of apache2-event MPMs, so a hard-require to apache2-prefork is probably not needed. Last I forgot to remove a couple of lines that are in the apache-rpm-macros already for non-(open)SUSE distributions.


Eric Schirra's avatar

ecsos accepted request

Okay. Accepted. Will completly remove:

%if !0%{?suse_version}
5-%define apxs %{_sbindir}/apxs2
6-%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
7-%define apache_serverroot %(%{apxs} -q PREFIX)
8 %define apache_user nobody
9 %define apache_group nogroup
10 %endif

Because apache_user is also in apache-rpm-macros.
But i find no apache-rpm-macros package for Fedora or Centos.

openSUSE Build Service is sponsored by