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

Re: Problem in buiding RPM package



--- Stephen Liu <satimis@icare.com.hk> wrote:
> Hi all folks
> 
> Just join this list
> 
> I encountered problem in building a RPM package. 
> Steps carried out as 
> follows;
> 
> as 'USER'
> 
> 1) Download a tarball from Internet and kept it in
> 
> /home/user/AAA.tar.gz
> 
> gunzip -d AAA.tar.gz
> 
> #ls /home/user
> AAA,tar
> 
> su
> password
> 
> cd /
> # rpmbuid -bb /home/user/AAA.tar
> error: File /home/user/AAA.tar does not appear to be
> a specfile.
> 
> Also tried
> # rpm -bb /home/user/AAA.tar
> with the same result
> 
> Kindly advise.
> 
> TIA
> 
> B.Regards
> Stephen Liu


use rpmbuild -bt /home/user/AAA.tar

valery

P.S. why you build as root ?
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com





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