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

Reply via email to