%{__os_install_post} (do not change completly semantics
%__spec_install_post but rather enlarge).
Changed files:
rpm.macros -> 1.24
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}%{?debug:dbg}.%%{ARCH}.rpm
# remove .comment and .note from ELFs
-%__spec_install_post %{?debug:#}if [ -x /usr/lib/rpm/remove-unneeded-elf-sections ] ; then /usr/lib/rpm/remove-unneeded-elf-sections %{buildroot}; fi
+%__spec_install_post\
+ %{__arch_install_post}\
+ %{__os_install_post}\
+ %{?debug:#}if [ -x /usr/lib/rpm/remove-unneeded-elf-sections ] ; then /usr/lib/rpm/remove-unneeded-elf-sections %{buildroot}; fi\
+%{nil}