Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 01:43:37 -05:00
parent 5940ccada5
commit 052fa90bc6

View File

@ -498,7 +498,6 @@ fi
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root)
%doc README NEWS AUTHORS %doc README NEWS AUTHORS
%doc Documentation/deprecated.txt %doc Documentation/deprecated.txt
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
@ -855,7 +854,6 @@ fi
%files -n uuidd %files -n uuidd
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Documentation/licenses/COPYING.GPLv2 %license Documentation/licenses/COPYING.GPLv2
%{_mandir}/man8/uuidd.8* %{_mandir}/man8/uuidd.8*
@ -867,51 +865,43 @@ fi
%files -n libfdisk %files -n libfdisk
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Documentation/licenses/COPYING.LGPLv2.1 libfdisk/COPYING %license Documentation/licenses/COPYING.LGPLv2.1 libfdisk/COPYING
%{_libdir}/libfdisk.so.* %{_libdir}/libfdisk.so.*
%files -n libfdisk-devel %files -n libfdisk-devel
%defattr(-,root,root)
%{_libdir}/libfdisk.so %{_libdir}/libfdisk.so
%{_includedir}/libfdisk %{_includedir}/libfdisk
%{_libdir}/pkgconfig/fdisk.pc %{_libdir}/pkgconfig/fdisk.pc
%files -n libsmartcols %files -n libsmartcols
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Documentation/licenses/COPYING.LGPLv2.1 libsmartcols/COPYING %license Documentation/licenses/COPYING.LGPLv2.1 libsmartcols/COPYING
%{_libdir}/libsmartcols.so.* %{_libdir}/libsmartcols.so.*
%files -n libsmartcols-devel %files -n libsmartcols-devel
%defattr(-,root,root)
%{_libdir}/libsmartcols.so %{_libdir}/libsmartcols.so
%{_includedir}/libsmartcols %{_includedir}/libsmartcols
%{_libdir}/pkgconfig/smartcols.pc %{_libdir}/pkgconfig/smartcols.pc
%files -n libmount %files -n libmount
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Documentation/licenses/COPYING.LGPLv2.1 libmount/COPYING %license Documentation/licenses/COPYING.LGPLv2.1 libmount/COPYING
%{_libdir}/libmount.so.* %{_libdir}/libmount.so.*
%files -n libmount-devel %files -n libmount-devel
%defattr(-,root,root)
%{_libdir}/libmount.so %{_libdir}/libmount.so
%{_includedir}/libmount %{_includedir}/libmount
%{_libdir}/pkgconfig/mount.pc %{_libdir}/pkgconfig/mount.pc
%files -n libblkid %files -n libblkid
%defattr(-,root,root)
%doc libblkid/COPYING %doc libblkid/COPYING
%{_libdir}/libblkid.so.* %{_libdir}/libblkid.so.*
%files -n libblkid-devel %files -n libblkid-devel
%defattr(-,root,root)
%doc libblkid/COPYING %doc libblkid/COPYING
%{_libdir}/libblkid.so %{_libdir}/libblkid.so
%{_includedir}/blkid %{_includedir}/blkid
@ -920,13 +910,11 @@ fi
%files -n libuuid %files -n libuuid
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Documentation/licenses/COPYING.BSD-3 libuuid/COPYING %license Documentation/licenses/COPYING.BSD-3 libuuid/COPYING
%{_libdir}/libuuid.so.* %{_libdir}/libuuid.so.*
%files -n libuuid-devel %files -n libuuid-devel
%defattr(-,root,root)
%{_libdir}/libuuid.so %{_libdir}/libuuid.so
%{_includedir}/uuid %{_includedir}/uuid
%{_mandir}/man3/uuid.3* %{_mandir}/man3/uuid.3*
@ -944,7 +932,6 @@ fi
%{_libdir}/pkgconfig/uuid.pc %{_libdir}/pkgconfig/uuid.pc
%files -n %{pypkg}-libmount %files -n %{pypkg}-libmount
%defattr(-, root, root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Documentation/licenses/COPYING.LGPLv2.1 libmount/COPYING %license Documentation/licenses/COPYING.LGPLv2.1 libmount/COPYING
%{_libdir}/python*/site-packages/libmount/ %{_libdir}/python*/site-packages/libmount/