[PATCH] Add help content subpackage (#1072033)
Martin Kolman
mkolman at redhat.com
Thu Nov 27 13:26:46 UTC 2014
On Wed, 2014-11-26 at 13:13 -0500, Chris Lumens wrote:
> > @@ -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.
I've check the rpm.org docuementation on using the %setup macro[0] with
additional source tarballs and it looked a little bit too crazy, but
I'll try to give it another go. :)
>
> > @@ -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 )
>
Oh, nice! I'll change that. :)
> > %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?
Oh, right, thanks for spotting this! Just a residue of one of those
"make scratch-bumpver" runs. :P
>
> - Chris
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list