Skip site navigation (1) Skip section navigation (2)

RPM Spec problems & patch

From: "James A(dot) Pattie" <james(at)pcxperience(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: RPM Spec problems & patch
Date: 2001-10-03 18:03:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
I tried sending this patch to the list last week but Mozilla blew up on 
me and claimed it was sent.  Since I haven't
seen anything I'm going to resend it.

I tried to rebuild PostgreSQL 7.1.3 rpms on a RH 7.0 box (with all the 
latest updates applied) and encountered the
following problems:
    It requires python-devel to be installed even though I specified not 
to build the python related packages.  The attached patch should fix 
that (if it is valid that python-devel is not needed by any other packages).
    After retrying with my patch applied to the spec file, it then blew 
up on the tk related packages as I didn't have X devel installed.  After 
turning off building the tk related packages it then blew up trying to 
install the pgaccess file which wasn't built.  Should the pgaccess 
installation step be conditionally done?

    I don't have ssl, python, X or kerberos development packages 
installed so I used the following line:
rpm --ba --define 'ssl 0' --define 'python 0' --define 'kerberos 0' 
--define 'tkpkg 0' postgresql.spec

OT: does anyone know how to make an rpm package build for anything other 
than i386?

P.S. I might have done the diff to create the patch backwards. :)  I 
usually just apply patches not create them.

James A. Pattie

Linux  --  SysAdmin / Programmer
PC & Web Xperience, Inc.

Attachment: postgresql.spec.diff
Description: text/plain (386 bytes)

pgsql-patches by date

Next:From: Bradley McLeanDate: 2001-10-03 18:48:28
Subject: Patch to make int8 values work inside plpython functions
Previous:From: Bruce MomjianDate: 2001-10-03 17:38:45
Subject: Re: Unicode combining characters

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group