diff mbox

[ndctl] ndctl: remove %defattr from spec file template

Message ID 20160311174428.33053.76522.stgit@dwillia2-desk3.jf.intel.com (mailing list archive)
State Accepted
Commit 8753740992cc
Headers show

Commit Message

Dan Williams March 11, 2016, 5:44 p.m. UTC
Per Ralf Corsepius:
"Except if you want to support very outdated distros (IIRC, < rhel5),
%defattr(-,root,root) is not necessary, anymore and should not be used
in specs anymore."

Reported-by: Ralf Corsepius <rc040203@freenet.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 ndctl.spec.in |    3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/ndctl.spec.in b/ndctl.spec.in
index e24b31cc54f0..6f6e99bd743b 100644
--- a/ndctl.spec.in
+++ b/ndctl.spec.in
@@ -65,19 +65,16 @@  make check
 %postun -n LNAME -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %license licenses/GPLv2 licenses/BSD-MIT licenses/CC0
 %{_bindir}/ndctl
 %{_mandir}/man1/*
 
 %files -n LNAME
-%defattr(-,root,root)
 %doc README.md
 %license COPYING licenses/BSD-MIT licenses/CC0
 %{_libdir}/libndctl.so.*
 
 %files -n DNAME
-%defattr(-,root,root)
 %license COPYING
 %{_includedir}/ndctl/
 %{_libdir}/libndctl.so