Blame SPECS/rtla.spec

aa4be3
Name:    rtla
aa4be3
Version: 5.14.0
797121
Release: 4%{?dist}
aa4be3
Summary: Real-Time Linux Analysis tools
aa4be3
aa4be3
License: GPLv2
aa4be3
URL:     https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
aa4be3
# The Source0 rtla-5.14.0.tar.bz2 file was created from git
aa4be3
# tag kernel-5.14.0-204.el9
aa4be3
# and from the tools/tracing/rtla directory issuing make tarball
aa4be3
Source0: rtla-5.14.0.tar.bz2
aa4be3
aa4be3
BuildRequires: gcc
aa4be3
BuildRequires: python3-docutils
aa4be3
BuildRequires: libtraceevent-devel >= 1.5.3
aa4be3
BuildRequires: libtracefs-devel >= 1.3.1
aa4be3
Requires: libtraceevent >= 1.5.3
aa4be3
Requires: libtracefs >= 1.3.1
aa4be3
aa4be3
# Patches
797121
Patch1: rtla-Fix-exit-status-when-returning-from-calls-to-usage.patch
aa4be3
aa4be3
%description
aa4be3
The rtla meta-tool includes a set of commands that aims to analyze
aa4be3
the real-time properties of Linux. Instead of testing Linux as a black box,
aa4be3
rtla leverages kernel tracing capabilities to provide precise information
aa4be3
about the properties and root causes of unexpected results.
aa4be3
aa4be3
aa4be3
%prep
797121
%setup -q -n %{name}-%{version}
797121
%patch1 -p1
aa4be3
aa4be3
aa4be3
%build
aa4be3
%make_build
aa4be3
aa4be3
aa4be3
%install
aa4be3
install -d -m 755 %{buildroot}/%{_bindir}
aa4be3
install -m 755 rtla %{buildroot}/%{_bindir}/rtla
aa4be3
install -d -m 755 %{buildroot}/%{_mandir}
aa4be3
make DESTDIR=%{buildroot} -C Documentation clean
aa4be3
make DESTDIR=%{buildroot} -C Documentation
aa4be3
make DESTDIR=%{buildroot} -C Documentation install
aa4be3
(cd %{buildroot}
aa4be3
aa4be3
        ln -sf rtla ./%{_bindir}/osnoise
aa4be3
        ln -sf rtla ./%{_bindir}/timerlat
aa4be3
)
aa4be3
aa4be3
aa4be3
%files
aa4be3
%{_bindir}/rtla
aa4be3
%{_bindir}/osnoise
aa4be3
%{_bindir}/timerlat
aa4be3
%doc
aa4be3
%{_mandir}/man1/rtla-osnoise-hist.1.gz
aa4be3
%{_mandir}/man1/rtla-osnoise-top.1.gz
aa4be3
%{_mandir}/man1/rtla-osnoise.1.gz
aa4be3
%{_mandir}/man1/rtla-timerlat-hist.1.gz
aa4be3
%{_mandir}/man1/rtla-timerlat-top.1.gz
aa4be3
%{_mandir}/man1/rtla-timerlat.1.gz
aa4be3
%{_mandir}/man1/rtla.1.gz
aa4be3
aa4be3
aa4be3
%changelog
797121
* Thu Jan 26 2023 John Kacur <jkacur@redhat.com> - 5.14.0-4
797121
- Add a gating test for rtla
797121
Resolves: rhbz#2164877
797121
jiraProject == RHELPLAN-146610
797121
797121
* Thu Jan 26 2023 John Kacur <jkacur@redhat.com> - 5.14.0-3
797121
- Fix exit status when returning from calls to usage()
797121
Resolves: rhbz#2161423
797121
jiraProject == RHELPLAN-145250
797121
aa4be3
* Tue Dec 13 2022 John Kacur <jkacur@redhat.com> - 5.14.0-2
aa4be3
- A few spec file improvements
aa4be3
Resolves: rhbz#2075203
aa4be3
jiraProject == RHELPLAN-142262
aa4be3
aa4be3
* Wed Dec 07 2022 John Kacur <jkacur@redhat.com> - 5.14.0-1
aa4be3
- Initial build of rtla