add the systemd-units in requires

This commit is contained in:
songnannan 2019-12-26 19:41:23 +08:00
parent 89ffb71779
commit f599d16f8d

View File

@ -1,6 +1,6 @@
Name: tftp Name: tftp
Version: 5.2 Version: 5.2
Release: 26 Release: 27
Summary: The client for the Trivial File Transfer Protocol (TFTP) Summary: The client for the Trivial File Transfer Protocol (TFTP)
License: BSD License: BSD
Group: Applications/Internet Group: Applications/Internet
@ -30,14 +30,13 @@ This package tftp is a client implementing TFTP.
%package server %package server
Summary: The server for the Trivial File Transfer Protocol (TFTP) Summary: The server for the Trivial File Transfer Protocol (TFTP)
Requires: systemd-units Requires: systemd-units
Requires(post): systemd-units
Requires(postun): systemd-units
%description server %description server
The TFTP server is run by using systemd socket activation, and is disabled by default. The TFTP server is run by using systemd socket activation, and is disabled by default.
%package help %package_help
Summary: Documents for tftp
%description help
Man pages and other related documents.
%prep %prep
%autosetup -n %{name}-hpa-%{version} -p1 %autosetup -n %{name}-hpa-%{version} -p1
@ -86,5 +85,11 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
%changelog %changelog
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.2-27
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add the systemd-units in requires for server package
* Tue Sep 17 2019 Zaiwang Li<lizaiwang1@huawei.com> - 5.2-26 * Tue Sep 17 2019 Zaiwang Li<lizaiwang1@huawei.com> - 5.2-26
- Init package - Init package