From 49ec6ea2468e584c55786993743ab12ea5386da5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 13 Jan 2023 08:11:24 +0000 Subject: [PATCH] Auto sync2gitlab import of rtla-5.14.0-2.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - rtla.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 rtla.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9e737d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rtla-5.14.0.tar.bz2 diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/rtla.spec b/rtla.spec new file mode 100644 index 0000000..83dcd80 --- /dev/null +++ b/rtla.spec @@ -0,0 +1,72 @@ +Name: rtla +Version: 5.14.0 +Release: 2%{?dist} +Summary: Real-Time Linux Analysis tools + +License: GPLv2 +URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git +# The Source0 rtla-5.14.0.tar.bz2 file was created from git +# tag kernel-5.14.0-204.el9 +# and from the tools/tracing/rtla directory issuing make tarball +Source0: rtla-5.14.0.tar.bz2 + +BuildRequires: gcc +BuildRequires: python3-docutils +BuildRequires: libtraceevent-devel >= 1.5.3 +BuildRequires: libtracefs-devel >= 1.3.1 +Requires: libtraceevent >= 1.5.3 +Requires: libtracefs >= 1.3.1 + +# Patches + +%description +The rtla meta-tool includes a set of commands that aims to analyze +the real-time properties of Linux. Instead of testing Linux as a black box, +rtla leverages kernel tracing capabilities to provide precise information +about the properties and root causes of unexpected results. + + +%prep +%autosetup + + +%build +%make_build + + +%install +install -d -m 755 %{buildroot}/%{_bindir} +install -m 755 rtla %{buildroot}/%{_bindir}/rtla +install -d -m 755 %{buildroot}/%{_mandir} +make DESTDIR=%{buildroot} -C Documentation clean +make DESTDIR=%{buildroot} -C Documentation +make DESTDIR=%{buildroot} -C Documentation install +(cd %{buildroot} + + ln -sf rtla ./%{_bindir}/osnoise + ln -sf rtla ./%{_bindir}/timerlat +) + + +%files +%{_bindir}/rtla +%{_bindir}/osnoise +%{_bindir}/timerlat +%doc +%{_mandir}/man1/rtla-osnoise-hist.1.gz +%{_mandir}/man1/rtla-osnoise-top.1.gz +%{_mandir}/man1/rtla-osnoise.1.gz +%{_mandir}/man1/rtla-timerlat-hist.1.gz +%{_mandir}/man1/rtla-timerlat-top.1.gz +%{_mandir}/man1/rtla-timerlat.1.gz +%{_mandir}/man1/rtla.1.gz + + +%changelog +* Tue Dec 13 2022 John Kacur - 5.14.0-2 +- A few spec file improvements +Resolves: rhbz#2075203 +jiraProject == RHELPLAN-142262 + +* Wed Dec 07 2022 John Kacur - 5.14.0-1 +- Initial build of rtla diff --git a/sources b/sources new file mode 100644 index 0000000..07e47bd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rtla-5.14.0.tar.bz2) = 1cf03f7f3fcd2c59a358d6c928048d7ddb82028b21a00d9cbe34cddd291427ab99230163cba90479155e2b57f67911b33cd1d4fe82c02115d26443e4174cc763