From de4c8fe06753d4f5ce1113b510922088c7d5a2d7 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Mon, 30 Aug 2021 09:25:46 +0800 Subject: [PATCH] fix missrinetd.conf (cherry picked from commit 6f3ea66f9678371c67d9b3d9e73536a5d538868f) --- rinetd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rinetd.spec b/rinetd.spec index 1650eda..2b8b1ac 100644 --- a/rinetd.spec +++ b/rinetd.spec @@ -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 - 0.62-3 +- fix miss rinetd.conf + * Sat 28 Aug 2021 wangyue - 0.62-2 - fix post and postun error -- Gitee