diff options
Diffstat (limited to 'libxml.spec.in')
-rw-r--r-- | libxml.spec.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libxml.spec.in b/libxml.spec.in index 24a70d0..27d9752 100644 --- a/libxml.spec.in +++ b/libxml.spec.in @@ -44,7 +44,7 @@ URI library. Summary: Python bindings for the libxml2 library Group: Development/Libraries Requires: libxml2 = %{version} -Requires: python +Requires: %{_libdir}/python%(echo `python -c "import sys; print sys.version[0:3]"`) %description python The libxml2-python package contains a module that permits applications @@ -63,6 +63,7 @@ at parse time or later once the document has been modified. %configure make (cd doc/examples ; make clean) +gzip -9 ChangeLog %install rm -fr %{buildroot} @@ -81,7 +82,7 @@ rm -fr %{buildroot} %files %defattr(-, root, root) -%doc AUTHORS ChangeLog NEWS README Copyright TODO +%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO %doc %{_mandir}/man1/xmllint.1* %doc %{_mandir}/man1/xmlcatalog.1* %doc %{_mandir}/man3/libxml.3* @@ -94,7 +95,7 @@ rm -fr %{buildroot} %defattr(-, root, root) %doc %{_mandir}/man1/xml2-config.1* -%doc AUTHORS ChangeLog NEWS README Copyright TODO +%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO %doc doc/*.html doc/html doc/*.gif doc/*.png %doc doc/tutorial doc/libxml2-api.xml %doc doc/examples @@ -109,7 +110,7 @@ rm -fr %{buildroot} %files python %defattr(-, root, root) -%doc AUTHORS ChangeLog NEWS README Copyright +%doc AUTHORS ChangeLog.gz NEWS README Copyright %{_libdir}/python*/site-packages/libxml2.py %{_libdir}/python*/site-packages/drv_libxml2.py %{_libdir}/python*/site-packages/libxml2mod* |