Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 01:20:33 -05:00
parent cdc2806d68
commit 1ee4430d42

View File

@ -582,7 +582,6 @@ set -x
exit $rv exit $rv
%files %files
%defattr(-,root,root)
%doc ABOUT_APACHE README CHANGES LICENSE VERSIONING NOTICE %doc ABOUT_APACHE README CHANGES LICENSE VERSIONING NOTICE
%doc docs/conf/extra/*.conf %doc docs/conf/extra/*.conf
@ -673,7 +672,6 @@ exit $rv
%attr(755,root,root) %dir %{_unitdir}/httpd.socket.d %attr(755,root,root) %dir %{_unitdir}/httpd.socket.d
%files tools %files tools
%defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%doc LICENSE NOTICE %doc LICENSE NOTICE
@ -681,12 +679,10 @@ exit $rv
%exclude %{_mandir}/man1/apxs.1* %exclude %{_mandir}/man1/apxs.1*
%files manual %files manual
%defattr(-,root,root)
%{contentdir}/manual %{contentdir}/manual
%config(noreplace) %{_sysconfdir}/httpd/conf.d/manual.conf %config(noreplace) %{_sysconfdir}/httpd/conf.d/manual.conf
%files -n mod_ssl %files -n mod_ssl
%defattr(-,root,root)
%{_libdir}/httpd/modules/mod_ssl.so %{_libdir}/httpd/modules/mod_ssl.so
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-ssl.conf %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-ssl.conf
%config(noreplace) %{_sysconfdir}/httpd/conf.d/ssl.conf %config(noreplace) %{_sysconfdir}/httpd/conf.d/ssl.conf
@ -698,29 +694,24 @@ exit $rv
%{_mandir}/man8/httpd-init.* %{_mandir}/man8/httpd-init.*
%files -n mod_proxy_html %files -n mod_proxy_html
%defattr(-,root,root)
%{_libdir}/httpd/modules/mod_proxy_html.so %{_libdir}/httpd/modules/mod_proxy_html.so
%{_libdir}/httpd/modules/mod_xml2enc.so %{_libdir}/httpd/modules/mod_xml2enc.so
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-proxyhtml.conf %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-proxyhtml.conf
%files -n mod_ldap %files -n mod_ldap
%defattr(-,root,root)
%{_libdir}/httpd/modules/mod_*ldap.so %{_libdir}/httpd/modules/mod_*ldap.so
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-ldap.conf %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-ldap.conf
%files -n mod_session %files -n mod_session
%defattr(-,root,root)
%{_libdir}/httpd/modules/mod_session*.so %{_libdir}/httpd/modules/mod_session*.so
%{_libdir}/httpd/modules/mod_auth_form.so %{_libdir}/httpd/modules/mod_auth_form.so
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-session.conf %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-session.conf
%files -n mod_md %files -n mod_md
%defattr(-,root,root)
%{_libdir}/httpd/modules/mod_md.so %{_libdir}/httpd/modules/mod_md.so
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-md.conf %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-md.conf
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/httpd %{_includedir}/httpd
%{_bindir}/apxs %{_bindir}/apxs
%{_mandir}/man1/apxs.1* %{_mandir}/man1/apxs.1*