diff --git a/libtracefs.spec b/libtracefs.spec index b4c84c4..21b8503 100644 --- a/libtracefs.spec +++ b/libtracefs.spec @@ -1,27 +1,10 @@ -# git tag -#%%global commit 4f24f98960c223e56329519bb90a90f0b2ad813f -#%%global commitdate 20201120 -#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7}) - -# LTO causes linking issues randomly like -# lto1: internal compiler error: resolution sub id 0x7136344381f3059f not in object file -# So disabling LTO at this moment. - -%global _lto_cflags %nil - Name: libtracefs Version: 1.8.0 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-2.0-only Summary: Library for access kernel tracefs URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ -# If upstream does not provide tarballs, to generate: -# git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git -# cd libtracefs -# git archive --prefix=libtracefs-%%{version}/ -o libtracefs-%%{version}.tar.gz %%{git_commit} -#Source0: libtracefs-%%{version}.tar.gz -#Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%%{commit}.tar.gz Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%{version}.tar.gz BuildRequires: gcc BuildRequires: make @@ -63,6 +46,9 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a %{_libdir}/%{name}.so %changelog +* Tue Jul 09 2024 Jerome Marchand - 1.8.0-4 +- Build with LTO (RHEL-46715) + * Mon Jun 24 2024 Troy Dawson - 1.8.0-3 - Bump release for June 2024 mass rebuild