Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYrWe-0001AF-7V for pgsql-pkg-yum@arkaria.postgresql.org; Sat, 22 Jul 2017 10:20:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dYrWc-0002Fw-60 for pgsql-pkg-yum@arkaria.postgresql.org; Sat, 22 Jul 2017 10:20:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dYrWb-0002Fm-Lg for pgsql-pkg-yum@postgresql.org; Sat, 22 Jul 2017 10:20:41 +0000 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dYrWY-0001hM-Al for pgsql-pkg-yum@postgresql.org; Sat, 22 Jul 2017 10:20:40 +0000 Received: by mail-io0-x235.google.com with SMTP id g13so29686214ioj.5 for ; Sat, 22 Jul 2017 03:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3EhklN0+lpN/szou6bUluKbMF2ivme7gcZdNEnu7OkQ=; b=SGfxbt5BV12daBeH/BSD6WssMQUXd/eiqhRzKhib4J403SXQxobiCaHZQ26XwjGbnS jGheS5Ug4h/6kjYDqPQVl7mS5J6k2NASi2aedKp6EI6KtBUErQCbIyPYI55RRr5vKlBu Q3FAijcMqzYuNq/eKnqRg9dY+oMixtRbB9+QpL/R76s922PHxViozNysnnjwXrUsncLg Y7cMq9HDxXyEfNX3gszmOxvnI3IdvutpyijDF4uTHi8/qr+TneemZ+9R6pl4UYIhCQUY C3mEKYy2GKW/SMR1CeAxm3FqmB8uNRoB0y6eeLyTlagZtOXIlqpsjV6BLfNA1rj2Wlyu E74A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3EhklN0+lpN/szou6bUluKbMF2ivme7gcZdNEnu7OkQ=; b=mOfvhI/AugiFBFIaCtX5SJhnv/sBx52Ih+dBC9ELcEIqdgH8pvF2m4CT5g+R27MZpo HHthgNr5UWvUScGBF6CYinaAhO22I8VNblGZSqDC2j0/hWy3VrBOVyLLXv2Q9ZGzu7is QKzVV3fJiR3U2KZlH/WIE9q5iYT67mJzs1s4KA1l6B5ufrZYAgzOO3AH/HcEdGfwzB0h Czh6e2dehK5RCzPjuz1MC/k56EN9Um6iTCdH4vE819O0wuThVDUEY8Lrw1mxvHLrOtqI nXP1Jlb4SidfmpEGtGTzT/EYQs8m0hodLRZWjhHciggkuCCj5JzjGLaTyR8NZYPKIryN zSEQ== X-Gm-Message-State: AIVw111BrAta69TeQJKGjAYAY4QxWu9eAD3RG/M6UgKE/0tNRdx0fNu/ gtE3L/LdVPFUhxY0GfBfna6Ndk+diKCNnE8= X-Received: by 10.107.130.159 with SMTP id m31mr9535315ioi.326.1500718837077; Sat, 22 Jul 2017 03:20:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.54.17 with HTTP; Sat, 22 Jul 2017 03:20:36 -0700 (PDT) Received: by 10.36.54.17 with HTTP; Sat, 22 Jul 2017 03:20:36 -0700 (PDT) In-Reply-To: <1500710382.2815.1.camel@gunduz.org> References: <96c26493-91f1-801f-9590-89d090abf98c@2ndquadrant.com> <1500710382.2815.1.camel@gunduz.org> From: =?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= Date: Sat, 22 Jul 2017 07:20:36 -0300 Message-ID: Subject: Re: patch bug in 9.6 spec To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgsql-pkg-yum Content-Type: multipart/alternative; boundary="001a113ec070313e090554e555d8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --001a113ec070313e090554e555d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok, I will check. Thanks, El 22 jul. 2017 4:59 AM, "Devrim G=C3=BCnd=C3=BCz" escr= ibi=C3=B3: > > Hi Martin, > > On Thu, 2017-07-06 at 22:16 -0300, Mart=C3=ADn Marqu=C3=A9s wrote: > > I was making a custom build with a patch for 9.6 and found this which > > seems to be a bug in the spec file of postgresql 9.6.3 src.rpm package: > > > > %patch6 -p1 > > %if 0%{?rhel} && 0%{?rhel} <=3D 5 > > %patch7 -p1 > > %endif > > > > Compilation passed because I'm using rhel7, but that patch doesn't exis= t > > in the spec file, so if someone would have tried to compile it on rhel5 > > it would have failed. > > > > I didn't do much digging on when it got there, but it seems it would be > > good to remove it. > > I think you are using an older version of the spec file -- this is from > 9.6.3-2 > changelog: > > - Remove nonexistent Patch7 reference > > I refactored the spec files recently, so please let me know if you see mo= re > issues. > > Regards, > -- > Devrim G=C3=BCnd=C3=BCz > EnterpriseDB: https://www.enterprisedb.com > PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Enginee= r > Twitter: @DevrimGunduz , @DevrimGunduzTR > --001a113ec070313e090554e555d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ok, I will check.=C2=A0

Thanks,

El 22 jul. 2017 4:59 AM, "Devrim G=C3=BCnd=C3=BCz" = <devrim@gunduz.org> escribi= =C3=B3:

Hi Martin,

On Thu, 2017-07-06 at 22:16 -0300, Mart=C3=ADn Marqu=C3=A9s wrote:
> I was making a custom build with a patch for 9.6 and found this which<= br> > seems to be a bug in the spec file of postgresql 9.6.3 src.rpm package= :
>
> %patch6 -p1
> %if 0%{?rhel} && 0%{?rhel} <=3D 5
> %patch7 -p1
> %endif
>
> Compilation passed because I'm using rhel7, but that patch doesn&#= 39;t exist
> in the spec file, so if someone would have tried to compile it on rhel= 5
> it would have failed.
>
> I didn't do much digging on when it got there, but it seems it wou= ld be
> good to remove it.

I think you are using an older version of the spec file -- this is from 9.6= .3-2
changelog:

- Remove nonexistent Patch7 reference

I refactored the spec files recently, so please let me know if you see more=
issues.

Regards,
--
Devrim G=C3=BCnd=C3=BCz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer<= br> Twitter: @DevrimGunduz , @DevrimGunduzTR
--001a113ec070313e090554e555d8--