import libtracefs-1.3.1-1.el9

This commit is contained in:
CentOS Sources 2023-05-09 05:37:12 +00:00 committed by Stepan Oksanichenko
parent 1ed9a1b2ae
commit 0ad09a0a68
4 changed files with 11 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libtracefs-1.0.2.tar.gz SOURCES/libtracefs-1.3.1.tar.gz

View File

@ -1 +1 @@
b26b6e4b4767895b489c32fad9f1162494fe3285 SOURCES/libtracefs-1.0.2.tar.gz 400dc7422f22b86ab64f2adaaf0a2d106e4b0261 SOURCES/libtracefs-1.3.1.tar.gz

View File

@ -4,8 +4,8 @@
do_compile_shared_library = \ do_compile_shared_library = \
($(print_shared_lib_compile) \ ($(print_shared_lib_compile) \
- $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LIBS)) - $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LDFLAGS) $(LIBS))
+ $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LIBS)) + $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LDFLAGS) $(LIBS))
do_compile_plugin_obj = \ do_compile_plugin_obj = \
($(print_plugin_obj_compile) \ ($(print_plugin_obj_compile) \

View File

@ -10,8 +10,8 @@
%global _lto_cflags %nil %global _lto_cflags %nil
Name: libtracefs Name: libtracefs
Version: 1.0.2 Version: 1.3.1
Release: 7%{?dist} Release: 1%{?dist}
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
Summary: Library for access kernel tracefs Summary: Library for access kernel tracefs
@ -59,7 +59,7 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a
%license LICENSES/LGPL-2.1 %license LICENSES/LGPL-2.1
%license LICENSES/GPL-2.0 %license LICENSES/GPL-2.0
%{_libdir}/%{name}.so.1 %{_libdir}/%{name}.so.1
%{_libdir}/%{name}.so.1.0.2 %{_libdir}/%{name}.so.1.3.1
%files devel %files devel
%{_includedir}/tracefs/tracefs.h %{_includedir}/tracefs/tracefs.h
@ -67,6 +67,10 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%changelog %changelog
* Tue Aug 30 2022 Michael Petlan <mpetlan@redhat.com> - 1.3.1-1
- Rebase to 1.3.1
Related: rhbz#2075215
* Fri Jan 14 2022 Michael Petlan <mpetlan@redhat.com> - 1.0.2-7 * Fri Jan 14 2022 Michael Petlan <mpetlan@redhat.com> - 1.0.2-7
- Harden library linking; add the flags to install section too - Harden library linking; add the flags to install section too
Related: rhbz#2038853 Related: rhbz#2038853