[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Installing source rpm, RH8.0
- From: Bret Hughes <bhughes elevating com>
- To: redhat-list redhat com
- Subject: Re: Installing source rpm, RH8.0
- Date: Sat Mar 1 13:18:20 2003
On Sat, 2003-03-01 at 08:39, Michael Fratoni wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> One thing it changes is that packages will place the sources, patches and
> spec file in ~/rpmbuild/SOURCES/package-name, rather than dumping all
> packages in the same directory. (the spec file will be in the same
> directory, instead of a SPECS directory.) This makes things much less
> confusing.
>
> > It's as if some script was supposed to be run to amalgamate them and
> > doesn't. Trying to install using redhat-config-packages doesn't do much
> > better, except that an rpm -q will indicate the package installed - the
> > files in /SOURCES/ remain the same unusable bunch...
>
> Once you have a non-root rpm environment set up, you can run
> 'rpmbuild -bp package_name.spec' which will extract the source and apply
> all the included patches. The complete patched source will then be
> available in ~/rpmbuild/BUILD/package_name/
>
> Hope that helps,
> - --
> - -Michael
>
Thanks for the link Michael this looks helpful. I tend to get in a
hurry and just rebuild stuff as root ( but never on a production box )
Bret
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]