[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: still confusion with the %doc directive in a spec file



On Mon, 31 Dec 2001, Giulio Orsero wrote:

> On Mon, 31 Dec 2001 06:01:46 -0500 (EST), you wrote:
> 
> >but what i'm doing is demonstrating a *really* trivial way to create a
> >noarch rpm, for which there is no source, and no %setup (not to mention,
> >as you can see above, pretty much little of anything else.)
> a noarch rpm do has source
> 
> How do you create the src.rpm without source?
> 
> The source will be just the very same script/images in a tarball and in the
> spec you'll put the commands to install them in the BuildRoot without any
> compiling.

ah, i see.  i was assuming i could bypass the Source step (and, 
technically, i can) if i just manually put stuff in the RPM's build root
directory.  and what i was doing was, if a bit unusual, still workable
except it screwed up the use of the %doc directive in terms of where it
looked for those documentation files.

so i can just build a tarball with the files/directories i want to 
install in the new noarch RPM, make that the Source, add an %install 
step to untar that into the build root, etc.  fair enough, but i'm still 
unhappy about that weirdness with the %doc directive.  oh well.  

rday





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []