public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sagar Patel <sapatel@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rr] epel10.3: Introduce support for installable testsuite.
Date: Tue, 10 Nov 2026 21:33:53 GMT [thread overview]
Message-ID: <179434643390.1.16964991372478155247.rpms-rr-51a3d585c953@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rr
Branch : epel10.3
Commit : 51a3d585c953c6df575efce2f5b1b4f02dda8d05
Author : Sagar Patel <sapatel@redhat.com>
Date : 2020-04-24T12:23:54-04:00
Stats : +42/-6 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rr/c/51a3d585c953c6df575efce2f5b1b4f02dda8d05?branch=epel10.3
Log:
Introduce support for installable testsuite.
---
diff --git a/.gitignore b/.gitignore
index 3738c13..9aa79e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/rr-7908fea.tar.gz
/rr-abd3442.tar.gz
/rr-4513b23.tar.gz
+/rr-cf5169b.tar.gz
diff --git a/rr.spec b/rr.spec
index 2380968..c97db1e 100644
--- a/rr.spec
+++ b/rr.spec
@@ -1,5 +1,6 @@
-%global commit 4513b23c8092097dc42c73f3cbaf4cfaebd04efe
+%global commit cf5169bb3e29ce9db4a73e26164bec0e92b083fb
%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
ExclusiveArch: %{ix86} x86_64
# Disable 32-bit builds on architectures with multilibs
@@ -10,7 +11,7 @@ ExclusiveArch: %{ix86} x86_64
Summary: Tool to record and replay execution of applications
Name: rr
Version: 5.3.0
-Release: 11.20200224git%{shortcommit}%{?dist}
+Release: 13.20200424git%{shortcommit}%{?dist}
# The entire source code is MIT with the exceptions of
# files in following directories:
# third-party/blake2 CC0
@@ -34,11 +35,18 @@ BuildRequires: glibc-devel
BuildRequires: libstdc++-devel
BuildRequires: man-pages
BuildRequires: capnproto capnproto-libs capnproto-devel
+BuildRequires: patchelf
%description
rr is a lightweight tool for recording and replaying execution
of applications (trees of processes and threads).
For more information, please visit http://rr-project.org
+
+%package testsuite
+Summary: Testsuite for checking rr functionality
+%description testsuite
+rr-testsuite includes compiled test binaries and other files
+which are used to test the functionality of rr.
%prep
%setup -q -n rr-%{commit}
@@ -46,7 +54,7 @@ For more information, please visit http://rr-project.org
%build
mkdir obj && cd obj
-%cmake3 .. -DCMAKE_BUILD_TYPE=Release %{?disable32bit}
+%cmake3 .. -DCMAKE_BUILD_TYPE=Release -DINSTALL_TESTSUITE=ON %{?disable32bit}
make %{?_smp_mflags}
@@ -56,9 +64,23 @@ cd obj
rm -rf %{buildroot}%{_datadir}/rr/src
+# Using a small hack from the Dyninst testsuite which changes file permissions
+# to prevent any stripping of debugging information. This is done for libraries
+# and executables used by the testsuite.
+find %{buildroot}%{_libdir}/rr/testsuite/obj/bin \
+ -type f -name '*' -execdir chmod 644 '{}' '+'
+
+find %{buildroot}%{_libdir} \
+ -type f -name '*.so' -execdir chmod 644 '{}' '+'
+
+# Some files contain invalid RPATHS.
+patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bin/constructor
+
%files
%dir %{_libdir}/rr
-%{_libdir}/rr/librrpreload.so
+%{_libdir}/rr/*.so
+%attr(755,root,root) %{_libdir}/rr/*.so
+%exclude %{_libdir}/rr/libtest_lib*.so
%{_bindir}/rr
%{_bindir}/rr_exec_stub*
%{_bindir}/signal-rr-recording.sh
@@ -68,10 +90,23 @@ rm -rf %{buildroot}%{_datadir}/rr/src
%{_datadir}/rr/*.xml
%{_datadir}/rr/rr_page_*
+%files testsuite
+%{_libdir}/rr/libtest_lib*.so
+%dir %{_libdir}/rr/testsuite
+%{_libdir}/rr/testsuite/*
+
+%attr(755,root,root) %{_libdir}/rr/libtest_lib*.so
+%attr(755,root,root) %{_libdir}/rr/testsuite/obj/bin/*
+
%license LICENSE
%changelog
-* Mon Feb 24 2020 Sagar Patel <sapatel@redhat.com> 10.20200224git4513b23
+* Fri Apr 24 2020 Sagar Patel <sapatel@redhat.com> 12.20200424gitcf5169b
+- Sync with upstream branch master,
+ commit cf5169bb3e29ce9db4a73e26164bec0e92b083fb.
+- Introduces support for installable testsuite.
+
+* Mon Feb 24 2020 Sagar Patel <sapatel@redhat.com> 11.20200224git4513b23
- Sync with upstream branch master,
commit 4513b23c8092097dc42c73f3cbaf4cfaebd04efe.
- New patches enable rr to be built on older compilers.
diff --git a/sources b/sources
index 62074d7..b1a9efc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rr-4513b23.tar.gz) = a3ecad204f436eb147e015cd0b2364f5b8e41cb74440ed23759ba0c26cd5800e612e5244b4b72f15d143d6ad37a524ed327c9c6ad0af289e2c9d712d55f64050
+SHA512 (rr-cf5169b.tar.gz) = 767cb077b149926308aec1941fef090afd06f36b5784ecb57286c79be9539278ffc501e79a2d1946949729ae8d3216417fae2255cc3a57d774eb7b1a48f9fb11
reply other threads:[~2026-11-10 21:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179434643390.1.16964991372478155247.rpms-rr-51a3d585c953@fedoraproject.org \
--to=sapatel@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox