Blame SPECS/rtla.spec

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