import libtracefs-1.3.1-1.el9

This commit is contained in:
CentOS Sources 2023-03-28 09:14:21 +00:00 committed by Stepan Oksanichenko
parent e6d4feab0c
commit f98ac07b89
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 = \
($(print_shared_lib_compile) \
- $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LIBS))
+ $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LIBS))
- $(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,8 +10,8 @@
%global _lto_cflags %nil
Name: libtracefs
Version: 1.0.2
Release: 7%{?dist}
Version: 1.3.1
Release: 1%{?dist}
License: LGPLv2+ and GPLv2+
Summary: Library for access kernel tracefs
@ -59,7 +59,7 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a
%license LICENSES/LGPL-2.1
%license LICENSES/GPL-2.0
%{_libdir}/%{name}.so.1
%{_libdir}/%{name}.so.1.0.2
%{_libdir}/%{name}.so.1.3.1
%files devel
%{_includedir}/tracefs/tracefs.h
@ -67,6 +67,10 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a
%{_libdir}/%{name}.so
%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
- Harden library linking; add the flags to install section too
Related: rhbz#2038853