From 126b2225b3ad239a20c4a65b104493253ec0d09f Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Tue, 3 Jul 2018 16:12:49 -0400 Subject: [PATCH] defattr no longer needed https://fedoraproject.org/wiki/Packaging:Guidelines#File_Permissions --- sudo.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sudo.spec b/sudo.spec index fe6c25b..000a261 100644 --- a/sudo.spec +++ b/sudo.spec @@ -3,7 +3,7 @@ Summary: Allows restricted root access for specified users Name: sudo Version: 1.8.23 -Release: 1%{?dist} +Release: 2%{?dist} License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ @@ -151,7 +151,6 @@ EOF %files -f sudo_all.lang -%defattr(-,root,root) %attr(0440,root,root) %config(noreplace) /etc/sudoers %attr(0750,root,root) %dir /etc/sudoers.d/ %config(noreplace) /etc/pam.d/sudo @@ -195,12 +194,14 @@ EOF /bin/chmod 0440 /etc/sudoers || : %files devel -%defattr(-,root,root,-) %doc plugins/sample/sample_plugin.c %{_includedir}/sudo_plugin.h %{_mandir}/man8/sudo_plugin.8* %changelog +* Tue Jul 03 2018 Matthew Miller - 1.8.23-2 +- remove defattr, as default is now sane + * Wed May 09 2018 Daniel Kopecek - 1.8.23-1 - update to 1.8.23