building from el9 src rpm

Поиск
Список
Период
Сортировка
От Ted Toth
Тема building from el9 src rpm
Дата
Msg-id CAFPpqQHOqe5JPwWd8Yvp-eTj4R3+=eOTBqMBhnaXCghTTk7seg@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Not sure if this is the right place to ask but I've tried to build using this source rpm https://ftp.postgresql.org/pub/repos/yum/srpms/13/redhat/rhel-9-x86_64/postgresql13-13.9-1PGDG.rhel9.src.rpm on a RHEL 9 system and gotten the follow error:
rpmbuild -bb SPECS/postgresql-13.spec
warning: line 80: Possible unexpanded macro in: Name: postgresql%{pgmajorversion}
warning: line 280: Possible unexpanded macro in: Provides: postgresql-libs = %{pgmajorversion} libpq5 >= 10.0
warning: line 483: Possible unexpanded macro in: Obsoletes: postgresql%{pgmajorversion}-pl <= 13.9-1PGDG.el9
warning: line 505: Possible unexpanded macro in: Obsoletes: postgresql%{pgmajorversion}-pl <= 13.9-1PGDG.el9
warning: line 534: Possible unexpanded macro in: Obsoletes: postgresql%{pgmajorversion}-pl <= 13.9-1PGDG.el9
error: Bad source: /root/rpmbuild/SOURCES/postgresql-%{pgmajorversion}-rpm-pgsql.patch: No such file or directory

I don't see pgmajorversion in the spec file, what am I missing?

Ted

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: psql: Add role's membership options to the \du+ command
Следующее
От: Robert Haas
Дата:
Сообщение: Re: proposal: psql: show current user in prompt