Re: Tcl Support in the FC4 rpms at posgresql.org? - Mailing list pgsql-general

From Devrim GUNDUZ
Subject Re: Tcl Support in the FC4 rpms at posgresql.org?
Date
Msg-id Pine.LNX.4.63.0511280017450.29024@mail.kivi.com.tr
Whole thread Raw
In response to Re: Tcl Support in the FC4 rpms at posgresql.org?  (Jerry LeVan <jerry.levan@eku.edu>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Sun, 27 Nov 2005, Jerry LeVan wrote:

> The "--rebuild" option is not recognized  by the default rpm supplied
> with FC4.

Arrgh... It was also a typo in README.rpm-dist file :( I've fixed in our
CVS. (See below)

> There is an rpmbuild command, but it always appears to do an "install".
> Is there any way to simply build the binary rpms from the postgresql src rpm
> without doing an "install"?

Yes, it should be rpmbuild --rebuild ...

If you want rpmbuild to clean all the files used during the build process,
then run:

rpmbuild --rmsource --clean --rebuild --define 'tcl 1' postgresql-8.1.0-2PGDG.src.rpm

> Browsing about, I found the PostgreSQL-RPM-installation-PGDG.pdf file. The
> packages that it asserts will be build seem a bit different from what is
> in the spec file.

Well, we don't actually set all macros to 1. That's the only difference,
AFAICS. If you can see any more differences, please let us know and we'll
fix the document.

> In any case, from which directory should the rpmbuild command be given?

It does not matter:

rpmbuild [blah blah] /path/to/source_rpm

Regards,
- --
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                       http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDijRh4zE8DGqpiZARAr5nAJ0VlkooUcInc7SSlxmaBkvEZY7PyACfUvJH
kSy2Zajt8QzRfGyEcaYtLfk=
=kS9k
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: Jerry LeVan
Date:
Subject: Re: Tcl Support in the FC4 rpms at posgresql.org?
Next
From: Haim Ashkenazi
Date:
Subject: need help in designing a database.