Re: Using rpmbuild -ta with nightly CVS snapshots

Philip Prindeville <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
Bob Proulx wrote:
> Philip Prindeville wrote:
>   
>> Unfortunately, the script fails because %{SOURCE0} isn't being set to 
>> the argument passed into rpmbuild -ta ...
>>
>> Shouldn't the behavior of "rpmbuild -t..." be to ignore SOURCE0 and use 
>> the tarball from the command line???
>>     
>
> This won't help you at all but...  This works for me.  I build my
> project using -ta fine.
>
> What does your Source: lines in your spec file look like?
>
>   grep -i ^Source.*: yourfile.spec
>
> I like using the macros and so mine looks like this:
>
>   Source: %{name}-%{version}.tar.gz
>
> Perhaps your Source: line is not being set correctly in your spec
> file?
>
> Bob
>   

The file in question is:

http://proftp.cvs.sourceforge.net/*checkout*/proftp/proftpd/contrib/dist/rpm/proftpd.spec
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.