Blame SPECS/rtla.spec

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