rpm-config/Delete-the-commented-code.patch
xujing b72db74b92 don't delete the commented code in macros
(cherry picked from commit 5a558f96b8ef33b32aa1cad689cb5f862fe398f6)
2024-04-29 16:40:21 +08:00

25 lines
637 B
Diff

From c7605385b9d838be78a87de02a48eaaa6e69b4b2 Mon Sep 17 00:00:00 2001
From: hongjinghao <hongjinghao@huawei.com>
Date: Tue, 5 Mar 2024 20:22:59 +0800
Subject: [PATCH] Delete the commented code
---
brp-digest-list | 1 -
1 file changed, 1 deletion(-)
diff --git a/brp-digest-list b/brp-digest-list
index 77248c9..7de42b7 100644
--- a/brp-digest-list
+++ b/brp-digest-list
@@ -9,7 +9,6 @@ if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
fi
# Create temporary file listing files in the manifest
-#[ -n "$TMPDIR" ] || TMPDIR="/tmp"
TMPDIR="/tmp"
BIN_PKG_FILES=${TMPDIR}/${3%%.rpm}
cat - > $BIN_PKG_FILES
--
2.33.0