From 203f3720a75957d9bc014304e6f8aa53ec31df7d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 24 Jan 2018 07:31:04 +0100 Subject: [PATCH] cleanup filelist Signed-off-by: Igor Gnatenko --- libxml2.spec | 59 +++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/libxml2.spec b/libxml2.spec index 4461c28..4a69b2e 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -128,55 +128,48 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz %files %license Copyright %doc AUTHORS NEWS README TODO -%doc %{_mandir}/man1/xmllint.1* -%doc %{_mandir}/man1/xmlcatalog.1* -%doc %{_mandir}/man3/libxml.3* - -%{_libdir}/lib*.so.* +%{_libdir}/libxml2.so.2* +%{_mandir}/man3/libxml.3* %{_bindir}/xmllint +%{_mandir}/man1/xmllint.1* %{_bindir}/xmlcatalog +%{_mandir}/man1/xmlcatalog.1* %files devel -%doc %{_mandir}/man1/xml2-config.1* -%doc AUTHORS NEWS README Copyright %doc doc/*.html doc/html doc/*.gif doc/*.png %doc doc/tutorial doc/libxml2-api.xml.gz %doc doc/examples -%doc %dir %{_datadir}/gtk-doc/html/libxml2 -%doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp -%doc %{_datadir}/gtk-doc/html/libxml2/*.html -%doc %{_datadir}/gtk-doc/html/libxml2/*.png -%doc %{_datadir}/gtk-doc/html/libxml2/*.css - -%{_libdir}/lib*.so -%{_libdir}/*.sh -%{_includedir}/* +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/libxml2/ +%{_libdir}/libxml2.so +%{_libdir}/xml2Conf.sh +%{_includedir}/libxml2/ %{_bindir}/xml2-config +%{_mandir}/man1/xml2-config.1* %{_datadir}/aclocal/libxml.m4 %{_libdir}/pkgconfig/libxml-2.0.pc -%{_libdir}/cmake/libxml2/libxml2-config.cmake +%{_libdir}/cmake/libxml2/ %files static -%{_libdir}/*a +%license Copyright +%{_libdir}/libxml2.a %files -n python2-%{name} -%{_libdir}/python2*/site-packages/libxml2.py* -%{_libdir}/python2*/site-packages/drv_libxml2.py* -%{_libdir}/python2*/site-packages/libxml2mod* -%doc python/TODO -%doc python/libxml2class.txt -%doc doc/*.py -%doc doc/python.html +%doc python/TODO python/libxml2class.txt +%doc doc/*.py doc/python.html +%{python2_sitearch}/libxml2.py* +%{python2_sitearch}/drv_libxml2.py* +%{python2_sitearch}/libxml2mod.so %files -n python3-%{name} -%{_libdir}/python3*/site-packages/libxml2.py* -%{_libdir}/python3*/site-packages/drv_libxml2.py* -%{_libdir}/python3*/site-packages/__pycache__/*py* -%{_libdir}/python3*/site-packages/libxml2mod* -%doc python/TODO -%doc python/libxml2class.txt -%doc py3doc/*.py -%doc doc/python.html +%doc python/TODO python/libxml2class.txt +%doc doc/*.py doc/python.html +%{python3_sitearch}/libxml2.py +%{python3_sitearch}/__pycache__/libxml2.* +%{python3_sitearch}/drv_libxml2.py +%{python3_sitearch}/__pycache__/drv_libxml2.* +%{python3_sitearch}/libxml2mod.so %changelog * Tue Jan 09 2018 Iryna Shcherbina - 2.9.5-3