Rebase to upstream v1.3.1

This commit is contained in:
Michael Petlan 2022-08-30 14:41:13 +02:00 committed by Stepan Oksanichenko
parent be331d6a56
commit 56f4c9b261
5 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

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

1
.libtracefs.metadata Normal file
View File

@ -0,0 +1 @@
400dc7422f22b86ab64f2adaaf0a2d106e4b0261 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

View File

@ -1 +1 @@
SHA512 (libtracefs-1.0.2.tar.gz) = 1fc64f7ba3a575201bf6bc3e1328c4aa5825a5d6ebf5b3bf4b46db751e1460ef986714e47fc6528aebcb190bf3dcd246b29de59fbd52634c14bb364cdf028281
SHA512 (libtracefs-1.3.1.tar.gz) = 1d8423ff1033a4ab601dd8e9fa4a801c27425234505070733641c8c9a4dd382cc6563d3fde89958f18e0bc95e2cbbdf65e69a2935fe208d5de9fd3ac26374ec1