From 2949edf73349c6575dd919da2d781ef775f72d60 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 9 May 2019 15:19:15 -0700 Subject: [PATCH] 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 --- lorax.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lorax.spec b/lorax.spec index d82edde6..5ab8c14a 100644 --- a/lorax.spec +++ b/lorax.spec @@ -87,6 +87,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 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 Summary: livemedia-creator libvirt dependencies Requires: lorax = %{version}-%{release} @@ -196,7 +204,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %files %defattr(-,root,root,-) %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 %{python3_sitelib}/pylorax %{python3_sitelib}/*.egg-info @@ -212,6 +222,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %{_mandir}/man1/livemedia-creator.1* %{_tmpfilesdir}/lorax.conf +%files docs +%doc docs/html/* + %files lmc-virt %files lmc-novirt