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?