Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: Daniel Farina <daniel(at)citusdata(dot)com>, Jason Petersen <jason(at)citusdata(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
Date: 2018-03-22 03:54:43
Message-ID: CAMsr+YHU8vC=iEn+v2iars8__2Nb-59dQsNA3HzMyuDdCkT9HA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On 22 March 2018 at 07:40, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:

>
> Hi Daniel,
>
> On Tue, 2017-10-10 at 23:30 +0000, Daniel Farina wrote:
> > I forked them. Do you an idea what macros can be used to make
> amazon-linux
> > specific paths?
>
> I found this on Google:
>
> %global is_amz %(grep -qi 'Amazon Linux' /etc/system-release && echo 1 ||
> echo 0)
>
> But not sure how you'll detect different Amazon Linux versions, I don't
> have
> access to them. Maybe you can improve the grep part.
>
>
They haven't added anything to rpmmacros?

rpm --showrc?

If not, that's surely a bug in their distribution. Not that they're always
big on caring about bugs.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2018-03-22 09:42:16 Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
Previous Message Devrim Gündüz 2018-03-21 23:42:27 Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?