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

Re: Problem in buiding RPM package



On Wed, 2003-03-12 at 07:48, Stephen Liu wrote:
> Re-tried as USER
> 
> $ rpmbuild -tb /home/user/AAA.tar
> error: File /home/user/AAA.tar: Permission denied
> sh: /home/user/AAA.tar: Permission denied
> error: Failed to rename /usr/src/redhat/SPECS/rpm-spec.iEoPOB to 
> /usr/src/redhat/SPECS/rpm-spec.iEoPOB: No such file or directory: No 
> such file or directory
> 
> $ su
> password
> 
> $ chmod -c 0666 /home/user/AAA.tar
> mode of `/home/user/AAA.tar' changed to 0666 (rw-rw-rw-)
> 
> $ rpmbuild -tb /home/user/AAA.tar
> error: Failed to rename /usr/src/redhat/SPECS/rpm-spec.Nk0Iay to 
> /usr/src/redhat/SPECS/rpm-spec.Nk0Iay: No such file or directory: No 
> such file or directory

It appears that the tarball does not have a spec file.  The spec file is
necessary to build packages.  There are many references available at
http://www.rpm.org/ if you are not familiar with spec files.

Thanks.
Peter





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