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 Tuesday 22 April 2003 12:26 pm, William Hooper wrote:
> Michael Schwendt said:

> > Either change %_sourcedir to
> >
> >   %_sourcedir    %{_topdir}
> >
> > in your ~/.rpmmacros or create the necessary directory manually.
> > Then rpmbuild -ta will work.
>
> You are correct.  Thanks!
>
> I actually changed it to
>     %_sourcedir     %{_topdir}/SOURCES
>
> instead of
>
>     %_sourcedir     %{_topdir}/SOURCES/%{name}-%{version}
>
> after replying to Mike Vanecek's message because RPM didn't clean up by
> removing the name-version directory automatically.  After thinking
> about it, the behavior of leaving the directory makes sense, I just
> don't need to have the extra directory created in the first place.
>
> I would have been wondering why it suddenly worked had I tried it
> again!

Sorry for the confussion. The script sets things up that way because 
that's how I like it. ;)

I didn't like having source and patches dumped in /SOURCES and the 
specfile in SPECS/

I've found it much easier to deal with when the source, patches and 
specfile are all in SOURCES/%{name}-%{version}/.
For example, when building the kernel.src.rpm, it installs almost 200 
files in SOURCES/. Xfree86 is good for another 30-40 files. Combined with 
the source and patches from several other packages, it gets difficult to 
handle in a hurry when it is all in one directory. At least for me, your 
mileage may vary, to each his own, etc. ;)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+pbm+n/07WoAb/SsRArT5AJoDis5CTzJJ4zLntl6Htueu7bFY4QCeJXBO
A86b0HU1BcGeMw5zE/bz3RQ=
=bh2n
-----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