[jwhois] Fix /usr/bin/jwhois to be non-writable by group

vcrhonek vcrhonek at fedoraproject.org
Tue Mar 29 14:19:39 UTC 2011


commit 5cd8012aa7476833dafe2bf013fb411ec6e3c15c
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Mar 29 16:19:33 2011 +0200

    Fix /usr/bin/jwhois to be non-writable by group

 jwhois.spec |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/jwhois.spec b/jwhois.spec
index a17b4c7..4f3aef4 100644
--- a/jwhois.spec
+++ b/jwhois.spec
@@ -1,8 +1,8 @@
-%{?!with_cache: %define with_cache 0}
+%{?!with_cache: %global with_cache 0}
 
 Name: jwhois
 Version: 4.0
-Release: 26%{?dist}
+Release: 27%{?dist}
 URL: http://www.gnu.org/software/jwhois/
 Source0: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
 Patch0: jwhois-4.0-connect.patch
@@ -75,10 +75,10 @@ touch $RPM_BUILD_ROOT%{_mandir}/man1/whois.1
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %if %{with_cache}
-%attr(2775,root,jwhois) %{_bindir}/jwhois
+%attr(2755,root,jwhois) %{_bindir}/jwhois
 %attr(2775,root,jwhois) %{_localstatedir}/cache/jwhois/jwhois.db
 %else
-%attr(0775,root,root) %{_bindir}/jwhois
+%attr(0755,root,root) %{_bindir}/jwhois
 %endif
 %ghost %verify(not md5 size mtime) %{_bindir}/whois
 %{_mandir}/man1/jwhois.1*
@@ -116,6 +116,10 @@ fi
 rm -fr $RPM_BUILD_ROOT
 
 %changelog
+* Tue Mar 29 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.0-27
+- Fix /usr/bin/jwhois to be non-writable by group
+  Resolves: #690604
+
 * Tue Mar 15 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.0-26
 - Fix IDN encoding failed with error code 5
   Resolves: #682841


More information about the scm-commits mailing list