public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rr] epel10.3: Introduce support for installable testsuite.
@ 2026-11-10 21:33 Sagar Patel
0 siblings, 0 replies; only message in thread
From: Sagar Patel @ 2026-11-10 21:33 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 21:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 21:33 [rpms/rr] epel10.3: Introduce support for installable testsuite Sagar Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox