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@redhat.com]
Sent: Sunday, May 15, 2011 6:25 PM
To: Discussion of RPM packaging standards and practices for Fedora
Cc: Gupta2, Sunil
Subject: Re: [Fedora-packaging] How to add additional files in rpm
On 05/15/2011 07:50 AM, Sunil_Gupta2(a)Dell.com 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(a)redhat.com>
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/