[EMAIL PROTECTED] (Chris Rode ) writes:

> On Fri, 18 Aug 2000, Mike A. Harris wrote:
> 
> > I have:
> > 
> > package.tgz  and "filename.init" in SOURCES.
> > I want filename.init added to the package as well when it is
> > built.  I've tried various combinations of:
> > 
> > Source: package.tgz
> > Source1: filename.init
> 
> This much is right.  To get the file included in the binary RPM, in the
> %install section of the spec:
> 
> install $RPM_SOURCE_DIR/filename.init \
>         %{buildroot}%{_sysconfdir}/rc.d/init.d/filename.init


%SOURCE1 is much prettier than $RPM_SOURCE_DIR/filename.init

-- 
Trond Eivind Glomsrød
Red Hat, Inc.



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to