Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxAUC-0004cH-Hw for pgsql-www@arkaria.postgresql.org; Mon, 21 Jan 2013 06:04:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TxAUB-0004pt-M0 for pgsql-www@arkaria.postgresql.org; Mon, 21 Jan 2013 06:03:59 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxAUA-0004pj-7h; Mon, 21 Jan 2013 06:03:58 +0000 Received: from mail-vc0-f172.google.com ([209.85.220.172]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxAU8-0002Ve-43; Mon, 21 Jan 2013 06:03:57 +0000 Received: by mail-vc0-f172.google.com with SMTP id l6so4314787vcl.31 for ; Sun, 20 Jan 2013 22:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=mO7w+ByQGgAjxM4WUgfmdE3PN/bu9uWUKr18XE1NJrI=; b=Rh+xS0EyL1DpAQCrHZjnIIxwEap5X1D8HpjEPOkLIi60INaeVy3mUJnaAzZlFk96IH mFsPRLosMhjL8uVh8fBx5jncv5whIgijf0Y+KrNeogdC3yVl1lcbT+w5a8wrcn8q5A1b kUjFZ/wITpW5S1siETL/HsuZI1z6gVJlOYjyiz1Gxr3CqmT6fjEI+85W70ndvAS69K4S S2t47wu/EjFatHxUBNpcFFUO4yQ8oRfz3xYrrFtvijB388l0pVn47owCPXjzgTJQh8nB 2E5mVBW2e3cr3DxtdsUiJQRsgrT36yAC8lOXuxgXfv86UPhIeYa+qJD16i1Y3l6CZyca 2BkA== MIME-Version: 1.0 X-Received: by 10.52.29.109 with SMTP id j13mr11818449vdh.111.1358748234714; Sun, 20 Jan 2013 22:03:54 -0800 (PST) Received: by 10.220.20.204 with HTTP; Sun, 20 Jan 2013 22:03:54 -0800 (PST) In-Reply-To: <1358746779.31904.10.camel@lenovo01-laptop03.gunduz.org> References: <1358746779.31904.10.camel@lenovo01-laptop03.gunduz.org> Date: Mon, 21 Jan 2013 11:33:54 +0530 Message-ID: Subject: Re: [HACKERS] Error Building rpm From: Vivek Singh Raghuwanshi To: =?ISO-8859-1?Q?Devrim_G=DCND=DCZ?= Cc: PostgreSQL WWW , pgsql-hackers@postgresql.org Content-Type: multipart/alternative; boundary=20cf3079b570de8de104d3c63920 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org --20cf3079b570de8de104d3c63920 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Devrim, But i am trying to achieve this via multiple if conditions , can you send me your redhat and suse spec files. On Mon, Jan 21, 2013 at 11:09 AM, Devrim G=C3=9CND=C3=9CZ wrote: > > Hi, > > On Mon, 2013-01-21 at 10:53 +0530, Vivek Singh Raghuwanshi wrote: > > I am trying to build rpm of PostgreSQL, and the approach is building > > rpm for > > 1. CentOS 6+ > > 2. Fedora 15+ > > 3. RedHat 6+ > > 4. OpenSUSE > > 5. SuSE > > > > via single spec file and not using any external rpm or repo while > > building > > Building RPMs using a single spec file is almost impossible, as I wrote > you in my previous emails. SuSE has different package names, Fedora 15+ > has separate init system (systemd), etc. That's why I am keeping > separate copies of each spec file for Fedora and its derivatives (RHEL, > SL, CentOS) separately. > -- > Devrim G=C3=9CND=C3=9CZ > Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com > PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Enginee= r > Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr > http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz > --=20 ViVek Raghuwanshi Mobile -+91-09595950504 Skype - vivek_raghuwanshi IRC vivekraghuwanshi http://vivekraghuwanshi.wordpress.com/ http://in.linkedin.com/in/vivekraghuwanshi --20cf3079b570de8de104d3c63920 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Devrim,

But i am trying to achieve this via multiple if condi= tions , can you send me your redhat and suse spec files.

On Mon, Jan 21, 2013 at 11:09 AM, Devrim G=C3=9CND=C3=9CZ = <devrim@gunduz.org> wrote:

Hi,

On Mon, 2013-01-21 at 10:53 +0530, Vivek Singh Raghuwanshi wrote:
> I am trying to build rpm of PostgreSQL, and the approach is building > rpm for
> 1. CentOS 6+
> 2. Fedora 15+
> 3. RedHat 6+
> 4. OpenSUSE
> 5. SuSE
>
> via single spec file and not using any external rpm or repo while
> building

Building RPMs using a single spec file is almost impossible, as I wro= te
you in my previous emails. SuSE has different package names, Fedora 15+
has separate init system (systemd), etc. That's why I am keeping
separate copies of each spec file for Fedora and its derivatives (RHEL,
SL, CentOS) separately.
--
Devrim G=C3=9CND=C3=9CZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer<= br> Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org =C2=A0Twitter: http://twitter.com/devrimgunduz



--
ViVek Rag= huwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC viv= ekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
ht= tp://in.linkedin.com/in/vivekraghuwanshi
--20cf3079b570de8de104d3c63920--