Re: How to add additional files in rpm

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

 



I did that as well I added the package as Source1: ltp_interface.tar.bz2  and put  the tar ball under rpmbuild/SOURCES and added the directory in %files but no go :( it still says 

"install: cannot stat ltp_interface : ....

I tried putting the individual file in rpmbuild/BUILD directory and use install -m 00755 to install individual file...same result.

--Sunil

-----Original Message-----
From: John Dennis [mailto:jdennis@xxxxxxxxxx] 
Sent: Sunday, May 15, 2011 6:25 PM
To: Discussion of RPM packaging standards and practices for Fedora
Cc: Gupta2, Sunil
Subject: Re:  How to add additional files in rpm

On 05/15/2011 07:50 AM, Sunil_Gupta2@xxxxxxxx wrote:
> Hello list,
>
> I am trying to add some programs in rpm which are not the part of 
> source package. I copied them in BUILD directory and mentioned them in
>
> %install and %files section but rpmbuild âbb specfile always say
>
> Install: cannot stat `iotestlist.sh`: No such file or directory
>
> Am I missing something?

Yes

SourceN: filename

Where N is one or more digits, e.g. Source1:, Source2: etc.

--
John Dennis <jdennis@xxxxxxxxxx>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux