[denyhosts] Minor spec tweaks.
Jason ティビツ
tibbs at fedoraproject.org
Thu Mar 19 01:06:06 UTC 2015
commit 9e9b4e3bb06525d2f037d1bca21b6b3d5455cd91
Author: Jason Tibbitts <tibbs at math.uh.edu>
Date: Wed Mar 18 20:05:58 2015 -0500
Minor spec tweaks.
denyhosts.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/denyhosts.spec b/denyhosts.spec
index 88666e4..ea130db 100644
--- a/denyhosts.spec
+++ b/denyhosts.spec
@@ -1,6 +1,6 @@
Name: denyhosts
Version: 2.10
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A script to help thwart ssh server attacks
Group: Applications/System
@@ -72,8 +72,8 @@ install -p -m 644 %{SOURCE2} %{buildroot}/%{_unitdir}/denyhosts.service
install -p -m 644 %{SOURCE3} %{buildroot}/var/lib/denyhosts/allowed-hosts
install -p -m 644 %{SOURCE5} %{buildroot}/etc/logrotate.d/denyhosts
-# We don't want this because it is so poorly named
-mv %{buildroot}/usr/bin/daemon-control-dist %{buildroot}/usr/bin/denyhosts-control
+# We don't want this because it serves no purpose on Fedora
+rm -f %{buildroot}/usr/bin/daemon-control-dist
touch %{buildroot}/var/log/denyhosts
@@ -111,9 +111,9 @@ nosetests -v
%config(noreplace) /etc/cron.d/denyhosts
%config(noreplace) /etc/logrotate.d/denyhosts
%config(noreplace) /var/lib/denyhosts/allowed-hosts
+%config(noreplace) /var/lib/denyhosts/allowed-warned-hosts
%ghost /var/log/denyhosts
-%ghost /var/lib/denyhosts/allowed-warned-hosts
%ghost /var/lib/denyhosts/hosts
%ghost /var/lib/denyhosts/hosts-restricted
%ghost /var/lib/denyhosts/hosts-root
@@ -128,6 +128,11 @@ nosetests -v
%dir /var/lib/denyhosts
%changelog
+* Thu Mar 05 2015 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.10-4
+- Remove daemon-control script; it has no purpose given systemd.
+- Actually install allowed-warned-hosts instead of ghosting it, to suppress a
+ runtime warning.
+
* Thu Mar 05 2015 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.10-3
- Enable test suite.
- Drop restorecon plugin.
More information about the scm-commits
mailing list