Remove needless use of %defattr
This commit is contained in:
parent
9b79c712ed
commit
513c87ef80
|
@ -441,7 +441,6 @@ if [ $1 -eq 0 ]; then
|
|||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING.LIB NEWS
|
||||
%{_mandir}/man1/lsmcli.1*
|
||||
%{_mandir}/man1/lsmd.1*
|
||||
|
@ -464,7 +463,6 @@ fi
|
|||
%attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
@ -473,7 +471,6 @@ fi
|
|||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{name}
|
||||
%defattr(-,root,root,-)
|
||||
#Python library files
|
||||
%dir %{python_sitelib}/lsm
|
||||
%{python_sitelib}/lsm/__init__.*
|
||||
|
@ -535,7 +532,6 @@ fi
|
|||
%{python3_sitelib}/lsm/_clib.*
|
||||
|
||||
%files smis-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/smispy
|
||||
%dir %{python3_sitelib}/lsm/plugin/smispy/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/smispy/__pycache__/*
|
||||
|
@ -554,7 +550,6 @@ fi
|
|||
%{_mandir}/man1/smispy_lsmplugin.1*
|
||||
|
||||
%files netapp-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/ontap
|
||||
%dir %{python3_sitelib}/lsm/plugin/ontap/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/ontap/__pycache__/*
|
||||
|
@ -565,7 +560,6 @@ fi
|
|||
%{_mandir}/man1/ontap_lsmplugin.1*
|
||||
|
||||
%files targetd-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/targetd
|
||||
%dir %{python3_sitelib}/lsm/plugin/targetd/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/targetd/__pycache__/*
|
||||
|
@ -575,7 +569,6 @@ fi
|
|||
%{_mandir}/man1/targetd_lsmplugin.1*
|
||||
|
||||
%files nstor-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/nstor
|
||||
%dir %{python3_sitelib}/lsm/plugin/nstor/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/nstor/__pycache__/*
|
||||
|
@ -585,12 +578,10 @@ fi
|
|||
%{_mandir}/man1/nstor_lsmplugin.1*
|
||||
|
||||
%files udev
|
||||
%defattr(-,root,root,-)
|
||||
%{_udevrulesdir}/../scan-scsi-target
|
||||
%{_udevrulesdir}/90-scsi-ua.rules
|
||||
|
||||
%files megaraid-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/megaraid
|
||||
%dir %{python3_sitelib}/lsm/plugin/megaraid/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/megaraid/__pycache__/*
|
||||
|
@ -602,7 +593,6 @@ fi
|
|||
%{_mandir}/man1/megaraid_lsmplugin.1*
|
||||
|
||||
%files hpsa-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/hpsa
|
||||
%dir %{python3_sitelib}/lsm/plugin/hpsa/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/hpsa/__pycache__/*
|
||||
|
@ -614,7 +604,6 @@ fi
|
|||
%{_mandir}/man1/hpsa_lsmplugin.1*
|
||||
|
||||
%files nfs-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/nfs
|
||||
%dir %{python3_sitelib}/lsm/plugin/nfs/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/nfs/__pycache__/*
|
||||
|
@ -628,7 +617,6 @@ fi
|
|||
%{python3_sitelib}/lsm/plugin/nfs/nfs_clib.*
|
||||
|
||||
%files arcconf-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/arcconf
|
||||
%dir %{python3_sitelib}/lsm/plugin/arcconf/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/arcconf/__pycache__/*
|
||||
|
@ -640,7 +628,6 @@ fi
|
|||
%{_mandir}/man1/arcconf_lsmplugin.1*
|
||||
|
||||
%files local-plugin
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/local
|
||||
%dir %{python3_sitelib}/lsm/plugin/local/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/local/__pycache__/*
|
||||
|
|
Loading…
Reference in New Issue