mirror of
https://abf.rosa.ru/djam/php7.git
synced 2025-02-23 23:02: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: tidy-devel
|
||||||
BuildRequires: unixODBC-devel >= 2.2.1
|
BuildRequires: unixODBC-devel >= 2.2.1
|
||||||
BuildRequires: xmlrpc-epi-devel
|
BuildRequires: xmlrpc-epi-devel
|
||||||
# For _pre_useradd
|
|
||||||
BuildRequires: rpm-helper
|
|
||||||
%if %{build_libmagic}
|
%if %{build_libmagic}
|
||||||
BuildRequires: magic-devel
|
BuildRequires: magic-devel
|
||||||
%endif
|
%endif
|
||||||
|
@ -911,7 +909,8 @@ between almost any pair. Most RFC 1345 character sets are supported.
|
||||||
%package session
|
%package session
|
||||||
Summary: Session extension module for PHP
|
Summary: Session extension module for PHP
|
||||||
Group: Development/PHP
|
Group: Development/PHP
|
||||||
Requires(pre,postun): rpm-helper
|
Requires(pre): user(apache)
|
||||||
|
Requires(pre): group(apache)
|
||||||
Requires: %{libname} >= %{EVRD}
|
Requires: %{libname} >= %{EVRD}
|
||||||
|
|
||||||
%description session
|
%description session
|
||||||
|
@ -1140,7 +1139,6 @@ libphp7_common.
|
||||||
%package -n apache-mod_php
|
%package -n apache-mod_php
|
||||||
Summary: The PHP HTML-embedded scripting language for use with apache
|
Summary: The PHP HTML-embedded scripting language for use with apache
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Requires(pre,postun): rpm-helper
|
|
||||||
Requires: %{libname} = %{EVRD}
|
Requires: %{libname} = %{EVRD}
|
||||||
Requires: apache-base >= 2.4.0
|
Requires: apache-base >= 2.4.0
|
||||||
Requires: apache-modules >= 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 || :
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%pre session
|
|
||||||
%_pre_useradd apache /var/www /bin/sh
|
|
||||||
|
|
||||||
%post session
|
%post session
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue