|
Zamir SUN |
415600 |
Name: libtracefs
|
|
Zamir SUN |
008ef1 |
Version: 1.8.0
|
|
Jerome Marchand |
3772ca |
Release: 5%{?dist}
|
|
Zamir SUN |
bb6a08 |
License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-2.0-only
|
|
Zamir SUN |
415600 |
Summary: Library for access kernel tracefs
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
|
|
Zamir SUN |
415600 |
Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%{version}.tar.gz
|
|
Jerome Marchand |
3772ca |
Patch0: libtracefs-Call-va_end-before-exiting-tracefs_hist_s.patch
|
|
Jerome Marchand |
3772ca |
Patch1: libtracefs-Prevent-memory-leak-in-append_filer.patch
|
|
Jerome Marchand |
3772ca |
Patch2: libtracefs-Prevent-a-memory-leak-in-update_fields.patch
|
|
Jerome Marchand |
3772ca |
Patch3: libtracefs-Prevent-a-memory-leak-in-tracefs_synth_ad.patch
|
|
Jerome Marchand |
3772ca |
Patch4: libtracefs-Prevent-memory-leak-in-tracefs_event_syst.patch
|
|
Jerome Marchand |
3772ca |
Patch5: libtracefs-Don-t-leak-socket-file-descriptor-in-open.patch
|
|
Jerome Marchand |
3772ca |
Patch6: libtracefs-Prevent-a-memory-leak-in-add_func_str.patch
|
|
Jerome Marchand |
3772ca |
Patch7: libtracefs-Prevent-a-memory-leak-in-tracefs_system_e.patch
|
|
Jerome Marchand |
3772ca |
Patch8: libtracefs-Prevent-a-memory-leak-in-open_cpu_files.patch
|
|
Jerome Marchand |
3772ca |
Patch9: libtracefs-Prevent-memory-leak-in-tracefs_instance_c.patch
|
|
Jerome Marchand |
3772ca |
Patch10: libtracefs-my_yyinput-should-return-0-when-no-data-c.patch
|
|
Jerome Marchand |
3772ca |
Patch11: libtracefs-Prevent-memory-leak-in-tracefs_dynevent_g.patch
|
|
Jerome Marchand |
3772ca |
Patch12: libtracefs-Close-dir-in-the-error-path-in-tracefs_sy.patch
|
|
Jerome Marchand |
3772ca |
Patch13: libtracefs-Close-dir-in-the-error-path-in-tracefs_ev.patch
|
|
Jerome Marchand |
3772ca |
Patch14: libtracefs-Initialize-val-in-build_filter.patch
|
|
Jerome Marchand |
3772ca |
|
|
Zamir SUN |
415600 |
BuildRequires: gcc
|
|
Zamir SUN |
415600 |
BuildRequires: make
|
|
Zamir SUN |
008ef1 |
BuildRequires: pkgconfig(libtraceevent) >= 1.8.0
|
|
Zamir SUN |
415600 |
# 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
|
|
Jerome Marchand |
39ab20 |
Conflicts: trace-cmd < 2.9.1-6
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%description
|
|
Zamir SUN |
415600 |
libtracefs is a library for accessing kernel tracefs
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%package devel
|
|
Zamir SUN |
415600 |
Summary: Development headers of %{name}
|
|
Zamir SUN |
415600 |
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%description devel
|
|
Zamir SUN |
415600 |
Development headers of %{name}
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%prep
|
|
Jerome Marchand |
3772ca |
%autosetup -p1
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%build
|
|
Zamir SUN |
415600 |
%set_build_flags
|
|
Ziqian SUN(Zamir) |
ddd951 |
# parallel compiling don't always work
|
|
Ziqian SUN(Zamir) |
ddd951 |
make -O -j1 V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir} all
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%install
|
|
Zamir SUN |
415600 |
%make_install prefix=%{_prefix} libdir=%{_libdir}
|
|
Zamir SUN |
415600 |
rm -rf %{buildroot}/%{_libdir}/libtracefs.a
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%files
|
|
Zamir SUN |
415600 |
%license LICENSES/LGPL-2.1
|
|
Zamir SUN |
415600 |
%license LICENSES/GPL-2.0
|
|
Zamir SUN |
415600 |
%{_libdir}/%{name}.so.1
|
|
Zamir SUN |
008ef1 |
%{_libdir}/%{name}.so.1.8.0
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%files devel
|
|
Zamir SUN |
415600 |
%{_includedir}/tracefs/tracefs.h
|
|
Zamir SUN |
415600 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
Zamir SUN |
415600 |
%{_libdir}/%{name}.so
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
%changelog
|
|
Jerome Marchand |
3772ca |
* Wed Jul 10 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.0-5
|
|
Jerome Marchand |
3772ca |
- Fix SAST vulnerabilities (RHEL-40413)
|
|
Jerome Marchand |
3772ca |
|
|
Jerome Marchand |
4af170 |
* Tue Jul 09 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.0-4
|
|
Jerome Marchand |
4af170 |
- Build with LTO (RHEL-46715)
|
|
Jerome Marchand |
4af170 |
|
|
|
1892da |
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.0-3
|
|
|
1892da |
- Bump release for June 2024 mass rebuild
|
|
|
1892da |
|
|
Fedora Release Engineering |
cae820 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
|
Fedora Release Engineering |
cae820 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
Fedora Release Engineering |
cae820 |
|
|
Zamir SUN |
008ef1 |
* Tue Jan 23 2024 Zamir SUN <sztsian@gmail.com> - 1.8.0-1
|
|
Zamir SUN |
008ef1 |
- Update to 1.8.0 (RHBZ#2213357)
|
|
Zamir SUN |
008ef1 |
|
|
Fedora Release Engineering |
c12883 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-4
|
|
Fedora Release Engineering |
c12883 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
Fedora Release Engineering |
c12883 |
|
|
Fedora Release Engineering |
2a55c1 |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-3
|
|
Fedora Release Engineering |
2a55c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
Fedora Release Engineering |
2a55c1 |
|
|
Zamir SUN |
bb6a08 |
* Mon Jun 05 2023 Zamir SUN <sztsian@gmail.com> - 1.6.4-2
|
|
Zamir SUN |
bb6a08 |
- SPDX migration
|
|
Zamir SUN |
bb6a08 |
|
|
Zamir SUN |
cd0d2c |
* Wed Apr 05 2023 Zamir SUN <sztsian@gmail.com> - 1.6.4-1
|
|
Zamir SUN |
cd0d2c |
- Update to 1.6.4
|
|
Zamir SUN |
cd0d2c |
|
|
Fedora Release Engineering |
879c4e |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
Fedora Release Engineering |
879c4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
Fedora Release Engineering |
879c4e |
|
|
Zamir SUN |
2a0fb8 |
* Tue Oct 11 2022 Zamir SUN <sztsian@gmail.com> - 1.5.0-1
|
|
Zamir SUN |
2a0fb8 |
- Update to 1.5.0
|
|
Zamir SUN |
2a0fb8 |
|
|
Fedora Release Engineering |
a5daef |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
|
Fedora Release Engineering |
a5daef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
Fedora Release Engineering |
a5daef |
|
|
Ziqian SUN(Zamir) |
ddd951 |
* Fri Apr 15 2022 Zamir SUN <sztsian@gmail.com> - 1.3.1-2
|
|
Ziqian SUN(Zamir) |
ddd951 |
- Update with newer libtracefs
|
|
Ziqian SUN(Zamir) |
ddd951 |
|
|
Ziqian SUN(Zamir) |
3fe2b8 |
* Wed Apr 13 2022 Zamir SUN <sztsian@gmail.com> - 1.3.1-1
|
|
Ziqian SUN(Zamir) |
3fe2b8 |
- Update to 1.3.1
|
|
Ziqian SUN(Zamir) |
3fe2b8 |
|
|
Zamir SUN |
b2f1bf |
* Tue Feb 15 2022 Zamir SUN <sztsian@gmail.com> - 1.2.5-1
|
|
Zamir SUN |
b2f1bf |
- Update to 1.2.5
|
|
Zamir SUN |
b2f1bf |
|
|
Fedora Release Engineering |
a85cf0 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
|
Fedora Release Engineering |
a85cf0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
Fedora Release Engineering |
a85cf0 |
|
|
Fedora Release Engineering |
896de5 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
Fedora Release Engineering |
896de5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
Fedora Release Engineering |
896de5 |
|
|
Zamir SUN |
b2f1bf |
|
|
Zamir SUN |
931fc7 |
* Mon Apr 19 2021 Zamir SUN <sztsian@gmail.com> - 1.1.1-1
|
|
Zamir SUN |
931fc7 |
- Update to 1.1.1
|
|
Zamir SUN |
931fc7 |
|
|
Jerome Marchand |
39ab20 |
* Wed Mar 24 2021 Jerome Marchand <jmarchan@redhat.com> - 1.0.2-2
|
|
Jerome Marchand |
39ab20 |
- Remove conflict for latest trace-cmd
|
|
Jerome Marchand |
39ab20 |
|
|
Zamir SUN |
415600 |
* Mon Feb 08 2021 Zamir SUN <sztsian@gmail.com> - 1.0.2-1
|
|
Zamir SUN |
415600 |
- Update to 1.0.2
|
|
Zamir SUN |
415600 |
|
|
Zamir SUN |
415600 |
* Mon Nov 23 2020 Zamir SUN <sztsian@gmail.com> - 0-0.1.20201120git4f24f98
|
|
Zamir SUN |
415600 |
- Initial libtracefs
|
|
Zamir SUN |
415600 |
|