From 68ef4ec5c10414d7d78759b035b1e7835947b9b0 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 13 Apr 2016 10:37:42 -0400 Subject: [PATCH] spec: Only pull in API docs with -devel package Move some API specific documentation out of -docs package and into -devel, and some end user docs out of -devel and into -docs, then drop the -devel dep on -docs. This is more in line with the suggested Fedora guidelines. https://bugzilla.redhat.com/show_bug.cgi?id=1310155 (cherry picked from commit feffcc03a0d3690dcffd860682dcbaa61d726b39) --- libvirt.spec.in | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 54088f7ed7..49e1e4fe52 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1193,7 +1193,6 @@ namespaces. Summary: Libraries, includes, etc. to compile with the libvirt library Group: Development/Libraries Requires: %{name}-client = %{version}-%{release} -Requires: %{name}-docs = %{version}-%{release} Requires: pkgconfig %description devel @@ -1897,7 +1896,9 @@ exit 0 %files docs %defattr(-, root, root) -%doc AUTHORS ChangeLog.gz NEWS README TODO libvirt-docs/* +%doc AUTHORS ChangeLog.gz NEWS README TODO +%doc libvirt-docs/* +%doc docs/*.html docs/html docs/*.gif # API docs %dir %{_datadir}/gtk-doc/html/libvirt/ @@ -1905,6 +1906,15 @@ exit 0 %doc %{_datadir}/gtk-doc/html/libvirt/*.html %doc %{_datadir}/gtk-doc/html/libvirt/*.png %doc %{_datadir}/gtk-doc/html/libvirt/*.css +%doc examples/hellolibvirt +%doc examples/object-events +%doc examples/dominfo +%doc examples/domsuspend +%doc examples/dommigrate +%doc examples/openauth +%doc examples/xml +%doc examples/systemtap + %if %{with_libvirtd} %files daemon @@ -2317,18 +2327,8 @@ exit 0 %{_datadir}/libvirt/api/libvirt-api.xml %{_datadir}/libvirt/api/libvirt-qemu-api.xml %{_datadir}/libvirt/api/libvirt-lxc-api.xml - - -%doc docs/*.html docs/html docs/*.gif +# Needed building python bindings %doc docs/libvirt-api.xml -%doc examples/hellolibvirt -%doc examples/object-events -%doc examples/dominfo -%doc examples/domsuspend -%doc examples/dommigrate -%doc examples/openauth -%doc examples/xml -%doc examples/systemtap %changelog * Wed Dec 23 2015 Cole Robinson - 1.2.18.2-1 -- 2.47.2