From 3be3d6b4bc00746c7f229751e528401caa51e68b Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 4 Dec 2025 12:32:45 +0000 Subject: [PATCH] Import from AlmaLinux stable repository --- .gitignore | 2 +- .libtracefs.metadata | 2 +- SOURCES/libtracefs-1.0.2-harden-linking.patch | 11 ---------- SPECS/libtracefs.spec | 20 ++++++++++++------- 4 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 SOURCES/libtracefs-1.0.2-harden-linking.patch diff --git a/.gitignore b/.gitignore index 4815b6c..9453396 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libtracefs-1.3.1.tar.gz +SOURCES/libtracefs-1.8.1.tar.gz diff --git a/.libtracefs.metadata b/.libtracefs.metadata index 72a8313..79009b7 100644 --- a/.libtracefs.metadata +++ b/.libtracefs.metadata @@ -1 +1 @@ -400dc7422f22b86ab64f2adaaf0a2d106e4b0261 SOURCES/libtracefs-1.3.1.tar.gz +a633cf5c20eb287fc9aaadaac3508eb1a300f53e SOURCES/libtracefs-1.8.1.tar.gz diff --git a/SOURCES/libtracefs-1.0.2-harden-linking.patch b/SOURCES/libtracefs-1.0.2-harden-linking.patch deleted file mode 100644 index 878f74b..0000000 --- a/SOURCES/libtracefs-1.0.2-harden-linking.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/scripts/utils.mk -+++ b/scripts/utils.mk -@@ -56,7 +56,7 @@ - - do_compile_shared_library = \ - ($(print_shared_lib_compile) \ -- $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LDFLAGS) $(LIBS)) -+ $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LDFLAGS) $(LIBS)) - - do_compile_plugin_obj = \ - ($(print_plugin_obj_compile) \ diff --git a/SPECS/libtracefs.spec b/SPECS/libtracefs.spec index 09791de..cc2860d 100644 --- a/SPECS/libtracefs.spec +++ b/SPECS/libtracefs.spec @@ -10,8 +10,8 @@ %global _lto_cflags %nil Name: libtracefs -Version: 1.3.1 -Release: 1%{?dist} +Version: 1.8.1 +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ Summary: Library for access kernel tracefs @@ -23,10 +23,9 @@ URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ #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 -Patch0: libtracefs-1.0.2-harden-linking.patch BuildRequires: gcc BuildRequires: make -BuildRequires: pkgconfig(libtraceevent) +BuildRequires: pkgconfig(libtraceevent) >= 1.8.0 # The libtracefs is meant to be used by perf, trace-cmd etc. in the future, before it's ready in perf, let's add a conflict Conflicts: trace-cmd < 2.9.1-6 @@ -42,7 +41,6 @@ Development headers of %{name} %prep %setup -q -%patch0 -p1 %build %set_build_flags @@ -58,8 +56,7 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a %files %license LICENSES/LGPL-2.1 %license LICENSES/GPL-2.0 -%{_libdir}/%{name}.so.1 -%{_libdir}/%{name}.so.1.3.1 +%{_libdir}/%{name}.so.* %files devel %{_includedir}/tracefs/tracefs.h @@ -67,6 +64,15 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a %{_libdir}/%{name}.so %changelog +* Mon Mar 03 2025 Jerome Marchand - 1.8.1-2 +- Rebuild without side-tags (RHEL-81923) + +* Mon Feb 24 2025 Jerome Marchand - 1.8.1-1 +- Rebase to 1.8.1 (Related: RHEL-76155) + +* Fri Aug 16 2024 Jerome Marchand - 1.6.4-1 +- Rebase to 1.6.4 (RHEL-36547) + * Tue Aug 30 2022 Michael Petlan - 1.3.1-1 - Rebase to 1.3.1 Related: rhbz#2075215