diff --git a/gdb.spec b/gdb.spec index eb9d52730f883b142537c780425e0a380bcf968f..c06bb534b84b6e3df471a70aadbf1774f70a4830 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,6 +1,6 @@ Name: gdb Version: 14.1 -Release: 3 +Release: 4 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL-1.3 Source: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz @@ -288,6 +288,9 @@ ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack %endif ) +#Strip ELF files +find $RPM_BUILD_ROOT%{_datadir}/gdb/guile -name '*.go' | xargs eu-strip + # Remove. rm -f $RPM_BUILD_ROOT%{_infodir}/gdbint* rm -f $RPM_BUILD_ROOT%{_infodir}/stabs* @@ -335,6 +338,9 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py %{_infodir}/ctf-spec.info.gz %changelog +* Fri Feb 14 2025 wangxiao - 14.1-4 +- Strip ELF files + * Thu Jun 13 2024 wangxiao - 14.1-3 - modify gdb-help package's license GFDL to GFDL-1.3-or-later