public inbox for [email protected]  
help / color / mirror / Atom feed
From: Craig Ringer <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: Daniel Farina <[email protected]>
Cc: Jason Petersen <[email protected]>
Cc: pgsql-pkg-yum <[email protected]>
Subject: Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
Date: Thu, 22 Mar 2018 11:54:43 +0800
Message-ID: <CAMsr+YHU8vC=iEn+v2iars8__2Nb-59dQsNA3HzMyuDdCkT9HA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<CAOPfGFizQpGSc3qAXgRXrbYF=c3EG3AYZJ3O3iH5MNo3mZMi0w@mail.gmail.com>
	<[email protected]>
	<CAOPfGFimCaPfH66h-4+3HcTCOjfy20zS_d-uR7tTGPX=BiRFBg@mail.gmail.com>
	<[email protected]>

On 22 March 2018 at 07:40, Devrim Gündüz <[email protected]> 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


view thread (13+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
  In-Reply-To: <CAMsr+YHU8vC=iEn+v2iars8__2Nb-59dQsNA3HzMyuDdCkT9HA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox