Blame libtraceevent.spec

Zamir SUN 59ca74
# git tag
Zamir SUN 59ca74
#%%global commit 5dd505f3aba255c5fbc2a6dbed57fcba51b400f6
Zamir SUN 59ca74
#%%global commitdate 20201009
Zamir SUN 59ca74
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
Zamir SUN 59ca74
Zamir SUN 59ca74
Name: libtraceevent
Zamir SUN 9419bd
Version: 1.8.2
Jerome Marchand 7cf8e2
Release: 5%{?dist}
Zamir SUN d10c7a
License: LGPL-2.1-only AND LGPL-2.1-or-later AND GPL-2.0-only AND GPL-2.0-or-later
Zamir SUN 59ca74
Summary: Library to parse raw trace event formats
Zamir SUN 59ca74
Zamir SUN 59ca74
URL: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
Zamir SUN 59ca74
# If upstream does not provide tarballs, to generate:
Zamir SUN 59ca74
# git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
Zamir SUN 59ca74
# cd libtraceevent
Zamir SUN 59ca74
# git archive --prefix=libtraceevent-%%{version}/ -o libtraceevent-%%{version}.tar.gz %%{git_commit}
Zamir SUN 59ca74
#Source0: libtraceevent-%%{version}.tar.gz
Zamir SUN 59ca74
Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-%{version}.tar.gz
Jerome Marchand 7cf8e2
Patch0: libtraceevent-Fix-event-parse-memory-leak-in-process.patch
Jerome Marchand 7cf8e2
Patch1: libtraceevent-Close-shared-object-in-the-error-path-.patch
Jerome Marchand 7cf8e2
Patch2: libtraceevent-Prevent-a-memory-leak-in-process_field.patch
Jerome Marchand 7cf8e2
Patch3: libtraceevent-prevent-a-memory-leak-in-tep_plugin_ad.patch
Jerome Marchand 7cf8e2
Patch4: libtraceevent-Have-unit-test-fail-when-any-tests-fai.patch
Jerome Marchand 7cf8e2
Patch5: libtraceevent-Do-not-return-a-local-stack-pointer-in.patch
Jerome Marchand 7cf8e2
Zamir SUN 59ca74
BuildRequires:  gcc
Zamir SUN 59ca74
BuildRequires: xmlto
Zamir SUN 59ca74
BuildRequires: asciidoc
Zamir SUN 59ca74
Zamir SUN 59ca74
%global __provides_exclude_from ^%{_libdir}/traceevent/plugins
Zamir SUN 59ca74
Zamir SUN 59ca74
Zamir SUN 59ca74
%description
Zamir SUN 59ca74
libtraceevent is a library to parse raw trace event formats.
Zamir SUN 59ca74
Zamir SUN 59ca74
%package devel
Zamir SUN 59ca74
Summary: Development headers of %{name}
Zamir SUN 59ca74
Requires: %{name}%{_isa} = %{version}-%{release}
Zamir SUN 59ca74
Zamir SUN 59ca74
%description devel
Zamir SUN 59ca74
Development headers of %{name}-libs
Zamir SUN 59ca74
Zamir SUN 59ca74
%prep
Jerome Marchand 7cf8e2
%autosetup -p1
Zamir SUN 59ca74
Zamir SUN 59ca74
%build
Zamir SUN 59ca74
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
Ziqian SUN(Zamir) 17c3a0
# Parallel build does not work
Jerome Marchand 974b9d
make -O -j1 V=1 VERBOSE=1 CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
Zamir SUN 59ca74
Zamir SUN 59ca74
%install
Zamir SUN 59ca74
%make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install
Zamir SUN 59ca74
rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
Zamir SUN 59ca74
Zamir SUN 59ca74
%files
Zamir SUN 59ca74
%license LICENSES/LGPL-2.1
Zamir SUN 59ca74
%license LICENSES/GPL-2.0
Zamir SUN 59ca74
%{_libdir}/traceevent/
Zamir SUN 59ca74
%{_libdir}/libtraceevent.so.%{version}
Zamir SUN 59ca74
%{_libdir}/libtraceevent.so.1
Zamir SUN 59ca74
%{_mandir}/man3/tep_*.3.*
Zamir SUN 59ca74
%{_mandir}/man3/libtraceevent.3.*
Zamir SUN 59ca74
%{_mandir}/man3/trace_seq*.3.*
Zamir SUN 43653c
%{_mandir}/man3/kbuffer_*.3.gz
Zamir SUN 59ca74
%{_docdir}/%{name}-doc
Zamir SUN 59ca74
Zamir SUN 59ca74
%files devel
Zamir SUN 59ca74
%{_includedir}/traceevent/
Zamir SUN 59ca74
%{_libdir}/libtraceevent.so
Zamir SUN 59ca74
%{_libdir}/pkgconfig/libtraceevent.pc
Zamir SUN 59ca74
Zamir SUN 59ca74
%changelog
Jerome Marchand 7cf8e2
* Wed Jul 10 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.2-5
Jerome Marchand 7cf8e2
- Fix SAST vulnerabilities (RHEL-40624)
Jerome Marchand 7cf8e2
47ae8c
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.2-4
47ae8c
- Bump release for June 2024 mass rebuild
47ae8c
Jerome Marchand 974b9d
* Tue Jun 18 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.2-3
Jerome Marchand 974b9d
- Use the distribution building flags (RHEL-33502)
Jerome Marchand 974b9d
Fedora Release Engineering cf9d58
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
Fedora Release Engineering cf9d58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Fedora Release Engineering cf9d58
Zamir SUN 9419bd
* Tue Jan 23 2024 Zamir SUN <sztsian@gmail.com> - 1.8.2-1
Zamir SUN 9419bd
- Update to 1.8.2 (#2213358)
Zamir SUN 9419bd
Fedora Release Engineering 02dde9
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-4
Fedora Release Engineering 02dde9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Fedora Release Engineering 02dde9
Fedora Release Engineering 6a2496
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
Fedora Release Engineering 6a2496
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Fedora Release Engineering 6a2496
Zamir SUN d10c7a
* Mon Jun 05 2023 Zamir SUN <sztsian@gmail.com> - 1.7.2-2
Zamir SUN d10c7a
- SPDX migration
Zamir SUN d10c7a
Zamir SUN 43653c
* Wed Apr 05 2023 Zamir SUN <sztsian@gmail.com> - 1.7.2-1
Zamir SUN 43653c
- Update to 1.7.2
Zamir SUN 43653c
Fedora Release Engineering 8f7b8a
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
Fedora Release Engineering 8f7b8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Fedora Release Engineering 8f7b8a
Zamir SUN 7ea75e
* Tue Oct 11 2022 Zamir SUN <sztsian@gmail.com> - 1.6.3-1
Zamir SUN 7ea75e
- Update to 1.6.3
Zamir SUN 7ea75e
Fedora Release Engineering 39a0eb
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
Fedora Release Engineering 39a0eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Fedora Release Engineering 39a0eb
Ziqian SUN(Zamir) 17c3a0
* Fri Apr 15 2022 Zamir SUN <sztsian@gmail.com> - 1.5.3-2
Ziqian SUN(Zamir) 17c3a0
- Disable parallel compile
Ziqian SUN(Zamir) 17c3a0
Ziqian SUN(Zamir) 17c3a0
* Thu Apr 14 2022 Zamir SUN <sztsian@gmail.com> - 1.5.3-1
Ziqian SUN(Zamir) e191a7
- Update to 1.5.3
Ziqian SUN(Zamir) e191a7
Ziqian SUN(Zamir) 17c3a0
* Tue Feb 15 2022 Zamir SUN <sztsian@gmail.com> - 1.5.0-1
Zamir SUN 5dc15c
- Update to 1.5.0
Zamir SUN 5dc15c
Fedora Release Engineering 1fb065
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
Fedora Release Engineering 1fb065
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Fedora Release Engineering 1fb065
Fedora Release Engineering 4a1149
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
Fedora Release Engineering 4a1149
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Fedora Release Engineering 4a1149
Justin M. Forbes 91e13d
* Mon Jun 07 2021 Justin Forbes <jforbes@fedoraproject.org>
Justin M. Forbes 91e13d
- Remove erroneus "Conflicts: perf" which broke perf.
Justin M. Forbes 91e13d
Zamir SUN 84693b
* Mon Apr 19 2021 Zamir SUN <sztsian@gmail.com> - 1.2.1-1
Zamir SUN 84693b
- Update to 1.2.1
Zamir SUN 84693b
Zamir SUN 59ca74
* Mon Feb 08 2021 Zamir SUN <sztsian@gmail.com> - 1.1.1-1
Zamir SUN 59ca74
- Update to 1.1.1
Zamir SUN 59ca74
Zamir SUN 59ca74
* Sat Oct 17 2020 Zamir SUN <sztsian@gmail.com> - 1.1.0-1
Zamir SUN 59ca74
- Update to 1.1.0
Zamir SUN 59ca74
Zamir SUN 59ca74
* Fri Oct 09 2020 Zamir SUN <sztsian@gmail.com> - 0-0.1.20201009git5dd505f
Zamir SUN 59ca74
- Initial libtraceevent
Zamir SUN 59ca74