!9 [sync] PR-8: add file rinetd.conf

From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-30 03:02:59 +00:00 committed by Gitee
commit e5ab9c7e18

View File

@ -1,7 +1,7 @@
%define with_systemd 1
Name: rinetd
Version: 0.62
Release: 2
Release: 3
Summary: TCP Redirection Server
License: GPL-2.0-or-later
URL: http://www.boutell.com/rinetd/
@ -67,7 +67,7 @@ install -m 644 %SOURCE2 %{buildroot}/etc/logrotate.d/rinetd
%files
%defattr(-, root, root)
%doc CHANGES README index.html rinetd.conf.sample
%config(missingok,noreplace) %ghost /etc/rinetd.conf
%config(noreplace) /etc/rinetd.conf
%config(noreplace) /etc/logrotate.d/rinetd
%if %{with_systemd}
%{_unitdir}/%{name}.service
@ -79,6 +79,9 @@ install -m 644 %SOURCE2 %{buildroot}/etc/logrotate.d/rinetd
/usr/sbin/rinetd
%changelog
* Mon Aug 30 2021 caodongxia <caodongxia@huawei.com> - 0.62-3
- fix miss rinetd.conf
* Sat 28 Aug 2021 wangyue <wangyue92@huawei.com> - 0.62-2
- fix post and postun error