Current cauldron provides new rpm build macros: %set_build_flags %build_cflags %build_cxxflags %build_fflags %build_ldflags And for compatibility: %__global_cflags %__global_cxxflags %__global_fflags %__global_fcflags %__global_ldflags For compatibility with cauldron and Fedora .specs it would be a good idea to backport those macros also to mga7.
Pushed rpm-mageia-setup-2.39.2-1.mga7 to core/updates_testing for mga7. SRPMS: rpm-mageia-setup-2.39.2-1.mga7 RPMS: rpm-mageia-setup-2.39.2-1.mga7 rpm-mageia-setup-build-2.39.2-1.mga7
Assignee: bugsquad => qa-bugs
New rpm macros can be evaluated with "rpm -E". If macros aren't available, evaluation returns just the macro name. For example: $ rpm -E %build_cflags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables $ rpm -E %__global_ldflags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags
@Pascal, please add the needed rpm-setup fixes to this update, so we can flush it all out at the same time
CC: (none) => pterjan, tmbKeywords: (none) => feedback
Those are the 3 commits needed: http://gitweb.mageia.org/software/rpm/rpm-setup/commit/?id=ef2cb0548e7863b5bffa5358e4e0be5ac83605f9 http://gitweb.mageia.org/software/rpm/rpm-setup/commit/?id=aeac2980f8d8c8fa46858cd0a7fca842ba334ec8 http://gitweb.mageia.org/software/rpm/rpm-setup/commit/?id=f87447dbe96a7a8a0685428ae31357689da833e3
(In reply to Pascal Terjan from comment #4) > Those are the 3 commits needed: > > http://gitweb.mageia.org/software/rpm/rpm-setup/commit/ > ?id=ef2cb0548e7863b5bffa5358e4e0be5ac83605f9 > http://gitweb.mageia.org/software/rpm/rpm-setup/commit/ > ?id=aeac2980f8d8c8fa46858cd0a7fca842ba334ec8 > http://gitweb.mageia.org/software/rpm/rpm-setup/commit/ > ?id=f87447dbe96a7a8a0685428ae31357689da833e3 hm, those are all already in this update... http://gitweb.mageia.org/software/rpm/rpm-setup/log/?h=distro/mga7 Ah, we probably just need to install this update on the ec2 builders then :)
dropping feedback, this update is now installed on ec2 hosts
Keywords: feedback => (none)
Whiteboard: (none) => MGA7-64-OK, MGA7-32-OKCC: (none) => sysadmin-bugsKeywords: (none) => advisory, validated_update
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0018.html
Status: NEW => RESOLVEDResolution: (none) => FIXED