Re: How to install source rpm's on redhat 9

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 22 Apr 2003 11:05:39 -0400 (EDT), William Hooper wrote:

> For example, I use Leafnode, which is distributed as a tar.bz2 file.  The
> author does included a spec file, so I can just do:
> 
> # rpmbuild -tb leafnode-<version>.tar.bz2
> 
> When trying as a user now I get:
> 
> [whooper@xxxxxxxx whooper]$ rpmbuild -tb
> /harddrive2/storage/downloads/linux/leafnode-1.9.37.rel.tar.bz2
> error: Failed to rename
> /home/whooper/rpmbuild/SOURCES/%{name}-%{version}/rpm-spec.3oomkl to
> /home/whooper/rpmbuild/SOURCES/%{name}-%{version}/rpm-spec.3oomkl: No such
> file or directory: No such file or directory

This is a side-effect of having individual source directories in the
SOURCES directory.

Either change %_sourcedir to

  %_sourcedir    %{_topdir}

in your ~/.rpmmacros or create the necessary directory manually.
Then rpmbuild -ta will work.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+pWKL0iMVcrivHFQRAng7AJ96rQaA2VgXRLjPA73Jndr+YIwAZACfTDNb
GX9GuG7tW4LOV9EFqQqK1Aw=
=4B4z
-----END PGP SIGNATURE-----





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux