diff --git a/annobin.spec b/annobin.spec index 4532bba..dedb2b4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.92 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -206,6 +206,10 @@ touch configure */configure Makefile.in */Makefile.in # Similarly we do not want to rebuild the documentation. touch doc/annobin.info +# Generate a source tarball for installation later with all the patches +# applied. This must be the last step in the prep section. +tar -C ../ -cJf ../latest-annobin.tar.xz %{name}-%{version} + #--------------------------------------------------------------------------------- %build @@ -313,7 +317,7 @@ cat `gcc --print-file-name=rpmver` > %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}/%{av # Also install a copy of the sources into the build tree. mkdir -p %{buildroot}%{annobin_source_dir} -cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz +cp ../latest-annobin.tar.xz %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz %endif rm -f %{buildroot}%{_infodir}/dir @@ -370,6 +374,9 @@ exit $res #--------------------------------------------------------------------------------- %changelog +* Mon Mar 10 2025 Tulio Magno Quites Machado Filho - 12.92-2 +- Generate latest-annobin.tar.xz at prep phase (RHEL-82899) + * Fri Feb 14 2025 Nick Clifton - 12.92-1 - Annocheck: Do not rely upon libelf's ability to detect links to separate debuginfo files. (RHEL-79264)