Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 00:45:50 -05:00
parent 8eb32baf04
commit 3389438e13
1 changed files with 0 additions and 8 deletions

View File

@ -250,7 +250,6 @@ fi
%endif %endif
%files %files
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING COPYING-GPLV2 COPYING-LGPLV3 %license COPYING COPYING-GPLV2 COPYING-LGPLV3
%doc README TODO CONTRIBUTING %doc README TODO CONTRIBUTING
@ -272,7 +271,6 @@ fi
%{_bindir}/eu-elfcompress %{_bindir}/eu-elfcompress
%files libs %files libs
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING-GPLV2 COPYING-LGPLV3 %license COPYING-GPLV2 COPYING-LGPLV3
%{_libdir}/libasm-%{version}.so %{_libdir}/libasm-%{version}.so
@ -283,7 +281,6 @@ fi
%{_libdir}/elfutils/lib*.so %{_libdir}/elfutils/lib*.so
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/dwarf.h %{_includedir}/dwarf.h
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/elf-knowledge.h %{_includedir}/elfutils/elf-knowledge.h
@ -300,19 +297,16 @@ fi
%{_libdir}/pkgconfig/libdw.pc %{_libdir}/pkgconfig/libdw.pc
%files devel-static %files devel-static
%defattr(-,root,root)
%{_libdir}/libasm.a %{_libdir}/libasm.a
%{_libdir}/libdw.a %{_libdir}/libdw.a
%files -f %{name}.lang libelf %files -f %{name}.lang libelf
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING-GPLV2 COPYING-LGPLV3 %license COPYING-GPLV2 COPYING-LGPLV3
%{_libdir}/libelf-%{version}.so %{_libdir}/libelf-%{version}.so
%{_libdir}/libelf.so.* %{_libdir}/libelf.so.*
%files libelf-devel %files libelf-devel
%defattr(-,root,root)
%{_includedir}/libelf.h %{_includedir}/libelf.h
%{_includedir}/gelf.h %{_includedir}/gelf.h
%{_includedir}/nlist.h %{_includedir}/nlist.h
@ -320,12 +314,10 @@ fi
%{_libdir}/pkgconfig/libelf.pc %{_libdir}/pkgconfig/libelf.pc
%files libelf-devel-static %files libelf-devel-static
%defattr(-,root,root)
%{_libdir}/libelf.a %{_libdir}/libelf.a
%if %{provide_yama_scope} %if %{provide_yama_scope}
%files default-yama-scope %files default-yama-scope
%defattr(-,root,root)
%{_sysctldir}/10-default-yama-scope.conf %{_sysctldir}/10-default-yama-scope.conf
%endif %endif