Skip to contentSkip to conversation

ndctl: remove %defattr from spec file template

PATCH New Dan Williams 1 participant 1 message Mar 11, 2016 libnvdimm: non-volatile memory device

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ndctl: remove %defattr from spec file template

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."

---
 ndctl.spec.in |    3 ---
 1 file changed, 3 deletions(-)
ndctl.spec.in +0 -3
index e24b31cc54f0..6f6e99bd743b 100644
@@ -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

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm