Rebase to version 1.6.4

Resolves: RHEL-36547

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
This commit is contained in:
Jerome Marchand 2024-07-09 11:17:48 +02:00
parent 598f2ef1c1
commit 968d798b32
4 changed files with 7 additions and 17 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/libtracefs-1.0.2.tar.gz
/libtracefs-1.3.1.tar.gz
/libtracefs-1.6.4.tar.gz

View File

@ -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) \

View File

@ -10,7 +10,7 @@
%global _lto_cflags %nil
Name: libtracefs
Version: 1.3.1
Version: 1.6.4
Release: 1%{?dist}
License: LGPLv2+ and GPLv2+
Summary: Library for access kernel tracefs
@ -23,7 +23,6 @@ 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)
@ -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,9 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a
%{_libdir}/%{name}.so
%changelog
* Fri Aug 16 2024 Jerome Marchand <jmarchan@redhat.com> - 1.6.4-1
- Rebase to 1.6.4 (RHEL-36547)
* Tue Aug 30 2022 Michael Petlan <mpetlan@redhat.com> - 1.3.1-1
- Rebase to 1.3.1
Related: rhbz#2075215

View File

@ -1 +1 @@
SHA512 (libtracefs-1.3.1.tar.gz) = 1d8423ff1033a4ab601dd8e9fa4a801c27425234505070733641c8c9a4dd382cc6563d3fde89958f18e0bc95e2cbbdf65e69a2935fe208d5de9fd3ac26374ec1
SHA512 (libtracefs-1.6.4.tar.gz) = 0db20393272ce75c9132fc189993929545f41ac00cc9b0fdbb6adcb4bcda41433f05c047d06d9774f9b00b9e3ed3cfed3879e75365e72c0bb705cf16449e06c4