On 18 Aug 2000, Trond Eivind[iso-8859-1]  Glomsrød 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

*YES*!!!!!  That worked!  Thanks a billion!  I've been racking my
brains on this all day!  ;o)  The %setup section is no longer
required for this.

Take care!
TTYL

-- 
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

       Try out Red Hat Linux today:  http://www.redhat.com
           ftp://ftp.redhat.com/pub/redhat/redhat-6.2/




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

Reply via email to