fix missrinetd.conf

(cherry picked from commit 6f3ea66f9678371c67d9b3d9e73536a5d538868f)
This commit is contained in:
caodongxia 2021-08-30 09:25:46 +08:00 committed by openeuler-sync-bot
parent 2986ef2697
commit ec2af90a7e

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