Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 00:33:52 -05:00
parent 811f0d1829
commit 4dbc86aaca

View File

@ -203,7 +203,6 @@ EOF
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root)
%doc README README-WORDS NEWS README-LICENSE AUTHORS %doc README README-WORDS NEWS README-LICENSE AUTHORS
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING.LIB %license COPYING.LIB
@ -214,13 +213,11 @@ EOF
%{_mandir}/man8/* %{_mandir}/man8/*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/* %{_includedir}/*
%{_libdir}/libcrack.so %{_libdir}/libcrack.so
%{_mandir}/man3/* %{_mandir}/man3/*
%files dicts %files dicts
%defattr(-,root,root)
%{_datadir}/cracklib/pw_dict.* %{_datadir}/cracklib/pw_dict.*
%{_datadir}/cracklib/cracklib-small.* %{_datadir}/cracklib/cracklib-small.*
%{_libdir}/cracklib_dict.* %{_libdir}/cracklib_dict.*
@ -229,7 +226,6 @@ EOF
%if 0%{?rhel} == 0 %if 0%{?rhel} == 0
%files -n python2-cracklib %files -n python2-cracklib
%defattr(-,root,root)
%{_libdir}/python*/site-packages/_cracklib*.so %{_libdir}/python*/site-packages/_cracklib*.so
%{_libdir}/python*/site-packages/*.py* %{_libdir}/python*/site-packages/*.py*
%endif %endif