Disable package note generation
Otherwise additional flag will be used during build process: gcc .... /builddir/build/BUILD/postgresql-13.6/.package_note-postgresql-13.6-1.module_f36+13837+d3769ef5.x86_64.ld ... which will be inherited (with wrong paths) during some extension build via: pg_config --pgxs
This commit is contained in:
parent
22d30cc342
commit
cad6817e55
@ -57,11 +57,15 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
# Don't create note file, added package_note_flags to linker by redhat-rpm-config
|
||||
# will cause issue during extension build because it'll be inherited.
|
||||
%undefine _package_note_file
|
||||
|
||||
Summary: PostgreSQL client programs
|
||||
Name: postgresql
|
||||
%global majorversion 14
|
||||
Version: %{majorversion}.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||
# recognizes it as an independent license, so we do as well.
|
||||
@ -1247,6 +1251,9 @@ make -C postgresql-setup-%{setup_version} check
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 23 2022 Marek Kulik <mkulik@redhat.com> - 14.2-2
|
||||
- Disable package note generation due to extension build issue.
|
||||
|
||||
* Wed Feb 09 2022 Filip Janus <fjanus@redhat.com> - 14.2-1
|
||||
- Update to 14.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user