On Fri, 18 Aug 2000, Mike A. Harris wrote:
>
> Yeah, I got that part allready. It isn't getting included
> though. The %setup part needs to place the file in with the
> source code to begin with and it is not. That is the problem I'm
> having. I'm sure it is simple, but can't quite get it.
The %setup macro shouldn' thave to do anythign with the file. As long as
it's in /usr/src/redhat/SOURCES, $RPM_SOURCE_DIR/file.init (or
%SOURCE1 as Trond pointed out) will pick it up, and from there you can do
whatever you like with it. It sounds to me like you're looking for the
file in $RPM_BUILD_DIR, not $RPM_SOURCE_DIR.... :)
> Aside from Maximum RPM, and the HOWTO, is there any RPM reference
> avail? For the macro builtins? Seems a lot of new stuff is in
> there for sure, and I'd like to take advantage of it.
Maximum RPM and the HOWTO are the only things I've run across. A lot of
what I've learned about packaging things, I've garnered just by looking at
other spec files. If I come across something in a spec file that I can't
find documented anywhere, I do a websearch on google and pray I get a hit
or two that might be useful. I'd love to see somethign more up to date
than what's available... :)
--Chris.
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list