Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
От | Craig Ringer |
---|---|
Тема | Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo? |
Дата | |
Msg-id | CAMsr+YHU8vC=iEn+v2iars8__2Nb-59dQsNA3HzMyuDdCkT9HA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo? (Devrim Gündüz <devrim@gunduz.org>) |
Ответы |
Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
|
Список | pgsql-pkg-yum |
On 22 March 2018 at 07:40, Devrim Gündüz <devrim@gunduz.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.
В списке pgsql-pkg-yum по дате отправления: