Drop sysvinit subpackage from F23+
This commit is contained in:
parent
677b4cf281
commit
7fe9dad240
@ -21,7 +21,7 @@
|
|||||||
Summary: A widely used Mail Transport Agent (MTA)
|
Summary: A widely used Mail Transport Agent (MTA)
|
||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.15.1
|
Version: 8.15.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: Sendmail
|
License: Sendmail
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.sendmail.org/
|
URL: http://www.sendmail.org/
|
||||||
@ -102,7 +102,9 @@ Requires(post): systemd systemd-sysv coreutils %{_sbindir}/alternatives
|
|||||||
Requires(preun): systemd %{_sbindir}/alternatives
|
Requires(preun): systemd %{_sbindir}/alternatives
|
||||||
Requires(postun): systemd coreutils %{_sbindir}/alternatives
|
Requires(postun): systemd coreutils %{_sbindir}/alternatives
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
%if 0%{?fedora} < 23
|
||||||
Requires: initscripts
|
Requires: initscripts
|
||||||
|
%endif
|
||||||
Requires: procmail
|
Requires: procmail
|
||||||
Requires: bash >= 2.0
|
Requires: bash >= 2.0
|
||||||
Requires: setup >= 2.5.31-1
|
Requires: setup >= 2.5.31-1
|
||||||
@ -130,6 +132,7 @@ If you ever need to reconfigure Sendmail, you will also need to have
|
|||||||
the sendmail-cf package installed. If you need documentation on
|
the sendmail-cf package installed. If you need documentation on
|
||||||
Sendmail, you can install the sendmail-doc package.
|
Sendmail, you can install the sendmail-doc package.
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 23
|
||||||
%package sysvinit
|
%package sysvinit
|
||||||
Summary: SysV initscript for sendmail
|
Summary: SysV initscript for sendmail
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -140,6 +143,7 @@ Requires(post): chkconfig
|
|||||||
|
|
||||||
%description sysvinit
|
%description sysvinit
|
||||||
This package contains the SysV initscript.
|
This package contains the SysV initscript.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation about the Sendmail Mail Transport Agent program
|
Summary: Documentation about the Sendmail Mail Transport Agent program
|
||||||
@ -416,7 +420,9 @@ done
|
|||||||
touch %{buildroot}%{maildir}/aliasesdb-stamp
|
touch %{buildroot}%{maildir}/aliasesdb-stamp
|
||||||
|
|
||||||
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/sendmail
|
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/sendmail
|
||||||
|
%if 0%{?fedora} < 23
|
||||||
install -p -m 755 %{SOURCE9} %{buildroot}%{_initrddir}/sendmail
|
install -p -m 755 %{SOURCE9} %{buildroot}%{_initrddir}/sendmail
|
||||||
|
%endif
|
||||||
install -p -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/10-sendmail
|
install -p -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/10-sendmail
|
||||||
install -p -m 755 %{SOURCE3} %{buildroot}%{maildir}/make
|
install -p -m 755 %{SOURCE3} %{buildroot}%{maildir}/make
|
||||||
install -p -m 644 %{SOURCE5} %{buildroot}%{maildir}/Makefile
|
install -p -m 644 %{SOURCE5} %{buildroot}%{maildir}/Makefile
|
||||||
@ -540,6 +546,7 @@ exit 0
|
|||||||
|
|
||||||
%postun milter -p /sbin/ldconfig
|
%postun milter -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 23
|
||||||
%post sysvinit
|
%post sysvinit
|
||||||
/sbin/chkconfig --add sendmail >/dev/null 2>&1 ||:
|
/sbin/chkconfig --add sendmail >/dev/null 2>&1 ||:
|
||||||
|
|
||||||
@ -551,6 +558,7 @@ fi
|
|||||||
|
|
||||||
%postun sysvinit
|
%postun sysvinit
|
||||||
[ "$1" -ge "1" ] && %{_initrddir}/sendmail condrestart >/dev/null 2>&1 ||:
|
[ "$1" -ge "1" ] && %{_initrddir}/sendmail condrestart >/dev/null 2>&1 ||:
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -675,11 +683,16 @@ fi
|
|||||||
%dir %{_docdir}/sendmail/contrib
|
%dir %{_docdir}/sendmail/contrib
|
||||||
%attr(0644,root,root) %{_docdir}/sendmail/contrib/*
|
%attr(0644,root,root) %{_docdir}/sendmail/contrib/*
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 23
|
||||||
%files sysvinit
|
%files sysvinit
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_initrddir}/sendmail
|
%{_initrddir}/sendmail
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 10 2015 Adam Jackson <ajax@redhat.com> 8.15.1-3
|
||||||
|
- Drop sysvinit subpackage from F23+
|
||||||
|
|
||||||
* Thu Feb 26 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.1-2
|
* Thu Feb 26 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.1-2
|
||||||
- Removed code for transition from sysv init to systemd (deprecated)
|
- Removed code for transition from sysv init to systemd (deprecated)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user