Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 01:52:31 -05:00
parent 6ba97862ec
commit d024607d45

View File

@ -239,7 +239,6 @@ systemctl start lvm2-lvmpolld.socket >/dev/null 2>&1 || :
/bin/systemctl try-restart lvm2-monitor.service > /dev/null 2>&1 || :
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LIB
%doc README VERSION WHATS_NEW
@ -442,7 +441,6 @@ This package contains shared lvm2 libraries for applications.
%postun libs -p /sbin/ldconfig
%files libs
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license COPYING.LIB
%defattr(555,root,root,-)
@ -716,7 +714,6 @@ This package contains the supporting userspace utility, dmsetup,
for the kernel device-mapper.
%files -n device-mapper
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LIB
%doc WHATS_NEW_DM VERSION_DM README
@ -769,7 +766,6 @@ This package contains the device-mapper shared library, libdevmapper.
%postun -n device-mapper-libs -p /sbin/ldconfig
%files -n device-mapper-libs
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LIB
%defattr(555,root,root,-)
@ -825,7 +821,6 @@ libdevmapper-event.
%postun -n device-mapper-event-libs -p /sbin/ldconfig
%files -n device-mapper-event-libs
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license COPYING.LIB
%defattr(555,root,root,-)
@ -861,7 +856,6 @@ License: LGPLv2
An extensive functional testsuite for LVM2.
%files testsuite
%defattr(-,root,root,-)
%{_datadir}/lvm2-testsuite/
%{_libexecdir}/lvm2-testsuite/
%{_bindir}/lvm2-testsuite