Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 01:35:09 -05:00
parent 82763a0340
commit ead53c5a91

View File

@ -632,7 +632,6 @@ fi
%endif %endif
%files %files
%defattr(-, root, root, -)
%doc README.torque torque.setup Release_Notes %doc README.torque torque.setup Release_Notes
%doc CHANGELOG PBS_License.txt README.Fedora contrib/PBS_License_2.3.txt %doc CHANGELOG PBS_License.txt README.Fedora contrib/PBS_License_2.3.txt
%dir %{torquehomedir} %dir %{torquehomedir}
@ -656,7 +655,6 @@ fi
%endif %endif
%files client %files client
%defattr(-, root, root, -)
%{_bindir}/q* %{_bindir}/q*
%{_bindir}/chk_tree %{_bindir}/chk_tree
%{_bindir}/hostn %{_bindir}/hostn
@ -724,7 +722,6 @@ fi
%files docs %files docs
%defattr(-, root, root, -)
%doc doc/admin_guide.ps %doc doc/admin_guide.ps
%if 0%{?doxydoc} %if 0%{?doxydoc}
%doc src/drmaa/drmaa.pdf %doc src/drmaa/drmaa.pdf
@ -732,7 +729,6 @@ fi
%if %{build_gui} %if %{build_gui}
%files gui %files gui
%defattr(-, root, root, -)
%{_bindir}/pbs_wish %{_bindir}/pbs_wish
%{_bindir}/xpbs %{_bindir}/xpbs
%{_bindir}/xpbsmon %{_bindir}/xpbsmon
@ -745,11 +741,9 @@ fi
%endif %endif
%files libs %files libs
%defattr(-, root, root, -)
%{_libdir}/libtorque.so.* %{_libdir}/libtorque.so.*
%files devel %files devel
%defattr(-, root, root, -)
%{_libdir}/libtorque.so %{_libdir}/libtorque.so
%{_includedir}/torque %{_includedir}/torque
%exclude %{_includedir}/torque/drmaa.h %exclude %{_includedir}/torque/drmaa.h
@ -789,7 +783,6 @@ fi
%{_mandir}/man3/tm.3.* %{_mandir}/man3/tm.3.*
%files mom %files mom
%defattr(-, root, root, -)
%{_sbindir}/momctl %{_sbindir}/momctl
%{_sbindir}/pbs_mom %{_sbindir}/pbs_mom
%{_sbindir}/qnoded %{_sbindir}/qnoded
@ -813,12 +806,10 @@ fi
%config(noreplace) %{_sysconfdir}/torque/mom/mom.layout %config(noreplace) %{_sysconfdir}/torque/mom/mom.layout
%files pam %files pam
%defattr(-, root, root, -)
%doc src/pam/README.pam %doc src/pam/README.pam
/%{_lib}/security/pam_pbssimpleauth.so /%{_lib}/security/pam_pbssimpleauth.so
%files scheduler %files scheduler
%defattr(-, root, root, -)
%attr(0755, root, root) %{_sbindir}/pbs_sched %attr(0755, root, root) %{_sbindir}/pbs_sched
%{_sbindir}/qschedd %{_sbindir}/qschedd
%if 0%{?rhel} >= 7 || 0%{?fedora} > 0 %if 0%{?rhel} >= 7 || 0%{?fedora} > 0
@ -841,7 +832,6 @@ fi
%config(noreplace) %{_sysconfdir}/torque/sched/sched_config %config(noreplace) %{_sysconfdir}/torque/sched/sched_config
%files server %files server
%defattr(-, root, root, -)
%attr(0755, root, root) %{_sbindir}/pbs_server %attr(0755, root, root) %{_sbindir}/pbs_server
%{_sbindir}/qserverd %{_sbindir}/qserverd
%if 0%{?rhel} >= 7 || 0%{?fedora} > 0 %if 0%{?rhel} >= 7 || 0%{?fedora} > 0
@ -855,11 +845,9 @@ fi
%{_mandir}/man8/pbs_server.8.* %{_mandir}/man8/pbs_server.8.*
%files drmaa %files drmaa
%defattr(-, root, root, -)
%{_libdir}/libdrmaa.so.* %{_libdir}/libdrmaa.so.*
%files drmaa-devel %files drmaa-devel
%defattr(-, root, root, -)
%{_libdir}/libdrmaa.so %{_libdir}/libdrmaa.so
%{_includedir}/torque/drmaa.h %{_includedir}/torque/drmaa.h
%if 0%{?doxydoc} %if 0%{?doxydoc}