Create a lorax-docs package with the html docs

Also include the other top level .rst docs in the main lorax package.

Resolves: rhbz#1695274
(cherry picked from commit 2949edf733)
This commit is contained in:
Brian C. Lane 2019-05-09 15:19:15 -07:00
parent cfc5cea356
commit 396efecf42

View File

@ -88,6 +88,14 @@ It also includes livemedia-creator which is used to create bootable livemedia,
including live isos and disk images. It can use libvirtd for the install, or including live isos and disk images. It can use libvirtd for the install, or
Anaconda's image install feature. Anaconda's image install feature.
%package docs
Summary: Lorax html documentation
Requires: lorax = %{version}-%{release}
%description docs
Includes the full html documentation for lorax, livemedia-creator, lorax-composer and the
pylorax library.
%package lmc-virt %package lmc-virt
Summary: livemedia-creator libvirt dependencies Summary: livemedia-creator libvirt dependencies
Requires: lorax = %{version}-%{release} Requires: lorax = %{version}-%{release}
@ -192,7 +200,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%license COPYING %license COPYING
%doc AUTHORS docs/livemedia-creator.rst docs/product-images.rst %doc AUTHORS
%doc docs/composer-cli.rst docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst
%doc docs/lorax-composer.rst
%doc docs/*ks %doc docs/*ks
%{python3_sitelib}/pylorax %{python3_sitelib}/pylorax
%{python3_sitelib}/*.egg-info %{python3_sitelib}/*.egg-info
@ -207,6 +217,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%{_tmpfilesdir}/lorax.conf %{_tmpfilesdir}/lorax.conf
%files docs
%doc docs/html/*
%files lmc-virt %files lmc-virt
%files lmc-novirt %files lmc-novirt