public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/partclone] epel10.2: Merge remote branch 'origin/main' into epel10.2
@ 2026-11-01 20:27 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-11-01 20:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/partclone
Branch : epel10.2
Commit : e0a70ebc2b57a5cd332bcc1a8023d9a83a4521ca
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-11-01T21:26:56+01:00
Stats  : +31/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/partclone/c/e0a70ebc2b57a5cd332bcc1a8023d9a83a4521ca?branch=epel10.2

Log:
Merge remote branch 'origin/main' into epel10.2

---
diff --git a/partclone-0.3.52-s390x.patch b/partclone-0.3.52-s390x.patch
new file mode 100644
index 0000000..ef38c88
--- /dev/null
+++ b/partclone-0.3.52-s390x.patch
@@ -0,0 +1,28 @@
+From 4122d46cabd03489cccc8f783a9a74ec3fb4581d Mon Sep 17 00:00:00 2001
+From: Robert Scheck <robert-scheck@users.noreply.github.com>
+Date: Sun, 1 Nov 2026 20:44:25 +0100
+Subject: [PATCH] tests: fix exFAT last-cluster test on big-endian
+ architectures
+
+Explicitly specify `--endian=little` for `od -t u4` when reading the exFAT cluster
+count and cluster heap offset. Otherwise, `od` uses the host's native byte order,
+resulting in incorrect offset calculations on s390x and causing the test to hang.
+---
+ tests/exfat_last_clusters.test | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/exfat_last_clusters.test b/tests/exfat_last_clusters.test
+index 3fa300a3..c7ac3ddc 100755
+--- a/tests/exfat_last_clusters.test
++++ b/tests/exfat_last_clusters.test
+@@ -85,8 +85,8 @@ f.close()
+ EOF
+ 
+ echo -e "fill the last two clusters with a random pattern\n"
+-ccount=$(od -An -j 0x5C -N 4 -t u4 "$raw")
+-heap=$(od -An -j 0x58 -N 4 -t u4 "$raw")
++ccount=$(od --endian=little -An -j 0x5C -N 4 -t u4 "$raw")
++heap=$(od --endian=little -An -j 0x58 -N 4 -t u4 "$raw")
+ bps=$((1 << $(od -An -j 0x6C -N 1 -t u1 "$raw")))
+ spcs=$((1 << $(od -An -j 0x6D -N 1 -t u1 "$raw")))
+ off=$(( heap*bps + (ccount-2)*bps*spcs ))

diff --git a/partclone.spec b/partclone.spec
index 608cf4f..a52841e 100644
--- a/partclone.spec
+++ b/partclone.spec
@@ -19,6 +19,7 @@ License:        BSD-2-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-o
 URL:            https://partclone.org/
 Source0:        https://github.com/Thomas-Tsai/partclone/archive/%{version}/%{name}-%{version}.tar.gz
 Patch0:         https://github.com/Thomas-Tsai/partclone/pull/322.patch#/partclone-0.3.52-pthread.patch
+Patch1:         https://github.com/Thomas-Tsai/partclone/pull/323.patch#/partclone-0.3.52-s390x.patch
 BuildRequires:  gcc
 BuildRequires:  make
 BuildRequires:  libuuid-devel

diff --git a/partclone.spec b/partclone.spec
index b11ca65..a52841e 100644
--- a/partclone.spec
+++ b/partclone.spec
@@ -137,8 +137,8 @@ make check || { cat tests/test-suite.log; exit 1; }
 * Sat Oct 31 2026 Robert Scheck <robert@fedoraproject.org> 0.3.52-1
 - Upgrade to 0.3.52 (#2561536)
 
-* Fri Sep 25 2026 Tom Callaway <spot@fedoraproject.org> - 0.3.50-2
-- rebuild for new ntfs-3g (sover 91)
+* Mon Sep 28 2026 Tom Callaway <spot@fedoraproject.org> - 0.3.50-2
+- rebuild for new ntfs-3g
 
 * Sat Sep 12 2026 Robert Scheck <robert@fedoraproject.org> 0.3.50-1
 - Upgrade to 0.3.50 (#2529139 #c1)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-01 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 20:27 [rpms/partclone] epel10.2: Merge remote branch 'origin/main' into epel10.2 Robert Scheck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox