Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 01:57:16 -05:00
parent 3159539729
commit a14f70c2e0

View File

@ -225,7 +225,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog NEWS README.md
%license COPYING
%{_libdir}/libopenscap.so.*
@ -273,19 +272,16 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_datadir}/openscap/cpe/*
%files -n python2-openscap
%defattr(-,root,root,-)
%{python_sitearch}/*
%files python3
%{python3_sitearch}/*
%files perl
%defattr(-,root,root,-)
%{perl_vendorarch}/*
%{perl_vendorlib}/*
%files devel
%defattr(-,root,root,-)
%doc docs/{html,examples}/
%{_libdir}/libopenscap.so
%{_libdir}/pkgconfig/*.pc
@ -293,7 +289,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%exclude %{_includedir}/openscap/sce_engine_api.h
%files engine-sce-devel
%defattr(-,root,root,-)
%{_libdir}/libopenscap_sce.so
%{_includedir}/openscap/sce_engine_api.h
@ -304,7 +299,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_sysconfdir}/bash_completion.d
%files utils
%defattr(-,root,root,-)
%doc docs/oscap-scan.cron
%{_mandir}/man8/*
%exclude %{_mandir}/man8/oscap.8.gz
@ -315,7 +309,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%exclude %{_bindir}/oscap-chroot
%files content-sectool
%defattr(-,root,root,-)
%{_datadir}/openscap/sectool-sce
%files extra-probes
@ -330,7 +323,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/libopenscap_sce.so.*
%files containers
%defattr(-,root,root,-)
%{_bindir}/oscap-docker
%{_mandir}/man8/oscap-docker.8.gz
%{oscapdocker_pysitelib}/oscap_docker_python/*