[PATCH] Add help content subpackage (#1072033)

Chris Lumens clumens at redhat.com
Wed Nov 26 18:13:00 UTC 2014


> @@ -211,8 +217,16 @@ The 'anaconda' dracut module handles installer-specific boot tasks and
>  options. This includes driver disks, kickstarts, and finding the anaconda
>  runtime on NFS/HTTP/FTP servers or local disks.
>  
> +%package user-help
> +Version: %{helpver}
> +Summary: Content for the Anaconda built-in help system
> +
> +%description user-help
> +This package hold the content for the Anaconda built-in help system.
> +
>  %prep
>  %setup -q
> +tar xf %{_sourcedir}/anaconda-user-help-%{helpver}.tar.gz

You should also be able to use the setup macro for the second source
file, yeah?  At least, searching for "rpm %setup" reveals some info on
this.

> @@ -220,10 +234,18 @@ runtime on NFS/HTTP/FTP servers or local disks.
>             --enable-gtk-doc
>  %{__make} %{?_smp_mflags}
>  
> +# generate content for the help system
> +cd anaconda-user-help-%{helpver}
> +python prepare_anaconda_help_content.py
> +

To avoid a potential gotcha for whoever adds something after this, you
may want to do the cd and python bit in a subshell:

( cd anaconda-user-help-%{helpver} && python prepare_anaconda_help_content.py )

>  %changelog
> +* Wed Nov 26 2014 Martin Kolman <mkolman at redhat.com> - 19.31.114-1
> +
>  * Mon Nov 24 2014 Brian C. Lane <bcl at redhat.com> - 19.31.110-1
>  - Fix PWQError issues. (sbueno+anaconda)
>    Resolves: rhbz#1066988

Debugging bit that got left in the patch?

- Chris


More information about the anaconda-patches mailing list