add the systemd-units in requires

This commit is contained in:
songnannan 2019-12-26 19:32:58 +08:00
parent 57ba0dd877
commit f90b3c92f8

View File

@ -1,7 +1,7 @@
Name: xinetd Name: xinetd
Epoch: 2 Epoch: 2
Version: 2.3.15 Version: 2.3.15
Release: 28 Release: 29
Summary: A super-server daemon that manages Internet-based connectivity Summary: A super-server daemon that manages Internet-based connectivity
License: xinetd License: xinetd
URL: https://github.com/xinetd-org/xinetd URL: https://github.com/xinetd-org/xinetd
@ -46,7 +46,8 @@ Patch6005: sconf.c-fix-possible-memleak.patch
BuildRequires: autoconf automake libtirpc-devel libselinux-devel >= 1.30 systemd-units BuildRequires: autoconf automake libtirpc-devel libselinux-devel >= 1.30 systemd-units
Requires: filesystem >= 2.0.1 setup Requires: filesystem >= 2.0.1 setup
Requires(post): systemd-sysv systemd-units Requires(post): systemd-sysv systemd-units
Requires(preun): systemd-units systemd-units Requires(preun): systemd-units
Requires(postun): systemd-units
Provides: inetd Provides: inetd
%description %description
@ -113,5 +114,11 @@ install -m600 contrib/xinetd.d/* %{buildroot}%{_sysconfdir}/xinetd.d
%exclude %{_mandir}/man8/xconv.pl* %exclude %{_mandir}/man8/xconv.pl*
%changelog %changelog
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:2.3.15-29
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add the systemd-units in requires
* Thu Sep 12 2019 huzhiyu<huzhiyu1@huawei.com> - 2:2.3.15-28 * Thu Sep 12 2019 huzhiyu<huzhiyu1@huawei.com> - 2:2.3.15-28
- Package init - Package init