mirror of
https://abf.rosa.ru/djam/php7.git
synced 2025-02-23 14:52:47 +00:00
Fully drop rpm-helper
This commit is contained in:
parent
ec97549a56
commit
cfeb246870
1 changed files with 2 additions and 7 deletions
|
@ -146,8 +146,6 @@ BuildRequires: recode-devel
|
|||
BuildRequires: tidy-devel
|
||||
BuildRequires: unixODBC-devel >= 2.2.1
|
||||
BuildRequires: xmlrpc-epi-devel
|
||||
# For _pre_useradd
|
||||
BuildRequires: rpm-helper
|
||||
%if %{build_libmagic}
|
||||
BuildRequires: magic-devel
|
||||
%endif
|
||||
|
@ -911,7 +909,8 @@ between almost any pair. Most RFC 1345 character sets are supported.
|
|||
%package session
|
||||
Summary: Session extension module for PHP
|
||||
Group: Development/PHP
|
||||
Requires(pre,postun): rpm-helper
|
||||
Requires(pre): user(apache)
|
||||
Requires(pre): group(apache)
|
||||
Requires: %{libname} >= %{EVRD}
|
||||
|
||||
%description session
|
||||
|
@ -1140,7 +1139,6 @@ libphp7_common.
|
|||
%package -n apache-mod_php
|
||||
Summary: The PHP HTML-embedded scripting language for use with apache
|
||||
Group: System/Servers
|
||||
Requires(pre,postun): rpm-helper
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Requires: apache-base >= 2.4.0
|
||||
Requires: apache-modules >= 2.4.0
|
||||
|
@ -2179,9 +2177,6 @@ if [ "$1" = "0" ]; then
|
|||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%pre session
|
||||
%_pre_useradd apache /var/www /bin/sh
|
||||
|
||||
%post session
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue