remove %defattr declarations

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-24 06:43:02 +01:00
parent 965bdac3f2
commit db8ab5e351
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -144,8 +144,6 @@ make runtests
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-, root, root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license Copyright %license Copyright
%doc AUTHORS NEWS README TODO %doc AUTHORS NEWS README TODO
@ -158,8 +156,6 @@ make runtests
%{_bindir}/xmlcatalog %{_bindir}/xmlcatalog
%files devel %files devel
%defattr(-, root, root)
%doc %{_mandir}/man1/xml2-config.1* %doc %{_mandir}/man1/xml2-config.1*
%doc AUTHORS NEWS README Copyright %doc AUTHORS NEWS README Copyright
%doc doc/*.html doc/html doc/*.gif doc/*.png %doc doc/*.html doc/html doc/*.gif doc/*.png
@ -180,13 +176,9 @@ make runtests
%{_libdir}/cmake/libxml2/libxml2-config.cmake %{_libdir}/cmake/libxml2/libxml2-config.cmake
%files static %files static
%defattr(-, root, root)
%{_libdir}/*a %{_libdir}/*a
%files -n python2-%{name} %files -n python2-%{name}
%defattr(-, root, root)
%{_libdir}/python2*/site-packages/libxml2.py* %{_libdir}/python2*/site-packages/libxml2.py*
%{_libdir}/python2*/site-packages/drv_libxml2.py* %{_libdir}/python2*/site-packages/drv_libxml2.py*
%{_libdir}/python2*/site-packages/libxml2mod* %{_libdir}/python2*/site-packages/libxml2mod*
@ -197,8 +189,6 @@ make runtests
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-%{name} %files -n python3-%{name}
%defattr(-, root, root)
%{_libdir}/python3*/site-packages/libxml2.py* %{_libdir}/python3*/site-packages/libxml2.py*
%{_libdir}/python3*/site-packages/drv_libxml2.py* %{_libdir}/python3*/site-packages/drv_libxml2.py*
%{_libdir}/python3*/site-packages/__pycache__/*py* %{_libdir}/python3*/site-packages/__pycache__/*py*