# Add an ELF note with information about the package the code was compiled for. # See https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects # for details. %_package_note_file %{_builddir}/.package_note-%{name}-%{version}-%{release}.%{_arch}.ld %_package_note_flags %{?name:-Wl,-dT,%{_package_note_file}} %_generate_package_note_file %{?name: if ! [ -f %{_package_note_file} ] && [ -f %{_rpmconfigdir}/generate-rpm-note.sh ]; then %{_rpmconfigdir}/generate-rpm-note.sh %{name} %{version}-%{release} %{_arch} >%{_package_note_file}; fi}