public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rr] epel10: - Sync with upstream branch master,
@ 2026-11-10 21:33 William Cohen
0 siblings, 0 replies; only message in thread
From: William Cohen @ 2026-11-10 21:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rr
Branch : epel10
Commit : 6ddf5e4851d788f855857ea2b1c9d0acb1ed9394
Author : William Cohen <wcohen@redhat.com>
Date : 2022-08-05T10:52:50-04:00
Stats : +70/-6 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rr/c/6ddf5e4851d788f855857ea2b1c9d0acb1ed9394?branch=epel10
Log:
- Sync with upstream branch master,
commit da33770d22b404d7333e46e26495eaca0c5a6d8a.
---
diff --git a/.gitignore b/.gitignore
index aa27d0b..2e7d696 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/rr-b53e4d9.tar.gz
/rr-5.4.0.tar.gz
/rr-5.5.0.tar.gz
+/rr-da33770.tar.gz
diff --git a/rr-mount.patch b/rr-mount.patch
new file mode 100644
index 0000000..33bb439
--- /dev/null
+++ b/rr-mount.patch
@@ -0,0 +1,29 @@
+From 54b3fde90f9d95e24bfe523893d8580be28a5980 Mon Sep 17 00:00:00 2001
+From: William Cohen <wcohen@redhat.com>
+Date: Thu, 4 Aug 2022 15:42:52 -0400
+Subject: [PATCH 1/2] Remove problematic include of <sys/mount.h>
+
+There can be incompatibilities between <linux/mount.h> and <sys/mount.h>.
+Need to choose one or the other include according to:
+
+https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
+---
+ src/test/util.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/test/util.h b/src/test/util.h
+index 2b0bd3b2..ec891db8 100644
+--- a/src/test/util.h
++++ b/src/test/util.h
+@@ -13,8 +13,6 @@
+
+ /* btrfs needs NULL but doesn't #include it */
+ #include <stdlib.h>
+-/* need to include sys/mount.h before linux/fs.h */
+-#include <sys/mount.h>
+
+ #include <arpa/inet.h>
+ #include <assert.h>
+--
+2.37.1
+
diff --git a/rr-time.patch b/rr-time.patch
new file mode 100644
index 0000000..906aea4
--- /dev/null
+++ b/rr-time.patch
@@ -0,0 +1,24 @@
+From 2bcd4ebd97622e08fcfe44b7e77e32f6d97e4d94 Mon Sep 17 00:00:00 2001
+From: William Cohen <wcohen@redhat.com>
+Date: Thu, 4 Aug 2022 15:49:57 -0400
+Subject: [PATCH 2/2] Add needed <time.h> include.
+
+---
+ src/test-monitor/test-monitor.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/test-monitor/test-monitor.cc b/src/test-monitor/test-monitor.cc
+index 2ac6173b..e2175a3c 100644
+--- a/src/test-monitor/test-monitor.cc
++++ b/src/test-monitor/test-monitor.cc
+@@ -9,6 +9,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <time.h>
+ #include <unistd.h>
+
+ #include <string>
+--
+2.37.1
+
diff --git a/rr.spec b/rr.spec
index 099d4d8..49c73ac 100644
--- a/rr.spec
+++ b/rr.spec
@@ -1,10 +1,10 @@
# Force out of source build
%undefine __cmake_in_source_build
-%global commit 815eae2f4de45c990c92dcf12da818dcf816b7ea
+%global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
%global gittag 5.5.0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global baserelease 4
+%global baserelease 5
ExclusiveArch: %{ix86} x86_64 aarch64
@@ -16,7 +16,7 @@ ExclusiveArch: %{ix86} x86_64 aarch64
Summary: Tool to record and replay execution of applications
Name: rr
Version: 5.5.0
-Release: %{baserelease}%{?dist}
+Release: %{baserelease}.20220805git%{shortcommit}%{?dist}
# The entire source code is MIT with the exceptions of
# files in following directories:
# third-party/blake2 CC0
@@ -25,7 +25,9 @@ Release: %{baserelease}%{?dist}
License: MIT and CC0 and BSD
URL: http://rr-project.org
-Source: https://github.com/mozilla/rr/archive/%{gittag}/%{name}-%{version}.tar.gz
+Source: https://github.com/mozilla/rr/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+Patch1: rr-mount.patch
+Patch2: rr-time.patch
%if 0%{?rhel} == 7
BuildRequires: cmake3
@@ -42,6 +44,7 @@ BuildRequires: libstdc++-devel
BuildRequires: man-pages
BuildRequires: capnproto capnproto-libs capnproto-devel
BuildRequires: patchelf
+BuildRequires: zlib-devel
%description
rr is a lightweight tool for recording and replaying execution
@@ -65,7 +68,10 @@ rr-testsuite includes compiled test binaries and other files
which are used to test the functionality of rr.
%prep
-%setup -q -n rr-%{gittag}
+%setup -q -n rr-%{shortcommit}
+
+%patch1 -p1 -b .mount
+%patch2 -p1 -b .time
%build
%if 0%{?rhel} == 7
@@ -122,6 +128,10 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
%license LICENSE
%changelog
+* Fri Aug 5 2022 William Cohen <wcohen@redhat.com> - 5.5.0-5.20220805gitda33770
+- Sync with upstream branch master,
+ commit da33770d22b404d7333e46e26495eaca0c5a6d8a.
+
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
diff --git a/sources b/sources
index 44f34ca..209c2e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rr-5.5.0.tar.gz) = 4101de8ccf46533e5fc8e72f99bff39253a40543510d9bc9a611ed0909efcd45a050244994a9ebc878d1c6d0af548ec7e2879d1e737f6455db732f75175ab497
+SHA512 (rr-da33770.tar.gz) = 266a216c787df9c2bf1448127a7dd5b1110a86d517d666458ff64c810c7b787cc6838a9906e83183ff971a06909cc91dd464bf689137f8092078c4154ab2624d
^ 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: - Sync with upstream branch master, William Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox