Accepting request 458874 from home:kukuk:branches:server:mail
- Fix requires: - shadow is needed for postfix-mysql pre-install section - insserv is not needed if systemd is used OBS-URL: https://build.opensuse.org/request/show/458874 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=252
This commit is contained in:
parent
7ad041c2f4
commit
b6f400e587
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 18 14:01:35 UTC 2017 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Fix requires:
|
||||||
|
- shadow is needed for postfix-mysql pre-install section
|
||||||
|
- insserv is not needed if systemd is used
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 21 23:27:34 UTC 2017 - chris@computersalat.de
|
Sat Jan 21 23:27:34 UTC 2017 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -94,7 +94,6 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: postgresql-devel
|
BuildRequires: postgresql-devel
|
||||||
Requires: iproute2
|
Requires: iproute2
|
||||||
Requires(pre): permissions
|
Requires(pre): permissions
|
||||||
Requires(pre): %insserv_prereq
|
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
Provides: smtp_daemon
|
Provides: smtp_daemon
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -110,7 +109,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%else
|
%else
|
||||||
Requires(pre): %insserv_prereq %fillup_prereq
|
Requires(pre): %insserv_prereq
|
||||||
Requires(pre): %{_bindir}/getent
|
Requires(pre): %{_bindir}/getent
|
||||||
Requires(pre): pwdutils
|
Requires(pre): pwdutils
|
||||||
Requires(pre): /bin/awk
|
Requires(pre): /bin/awk
|
||||||
@ -149,6 +148,7 @@ This package contains the documentation for %{name}
|
|||||||
Summary: Postfix plugin to support MySQL maps
|
Summary: Postfix plugin to support MySQL maps
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
Requires(pre): %{name} = %{version}
|
Requires(pre): %{name} = %{version}
|
||||||
|
Requires(pre): shadow
|
||||||
|
|
||||||
%description mysql
|
%description mysql
|
||||||
Postfix plugin to support MySQL maps. This library will be loaded by
|
Postfix plugin to support MySQL maps. This library will be loaded by
|
||||||
@ -517,10 +517,11 @@ fi
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%restart_on_update %{name}
|
|
||||||
%insserv_cleanup
|
|
||||||
%if 0%{?suse_version} > 1210
|
%if 0%{?suse_version} > 1210
|
||||||
%service_del_postun %{name}.service
|
%service_del_postun %{name}.service
|
||||||
|
%else
|
||||||
|
%restart_on_update %{name}
|
||||||
|
%insserv_cleanup
|
||||||
%endif
|
%endif
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user