rpmrebuild/backport-Set-the-directory-mode-to-instead-of-omit.patch
2023-02-13 15:58:28 +08:00

28 lines
744 B
Diff

From 8ae69fc903e45cf692fa57cf48d8b31f222c0a2c Mon Sep 17 00:00:00 2001
From: xujing <xujing125@huawei.com>
Date: Wed, 8 Feb 2023 10:54:46 +0800
Subject: [PATCH] Set the directory mode to '-' instead of omit
The directory mode is not explicitly set. It should be explicitly
set to '-' ensure the accuracy of the "-k" option.
---
rpmrebuild_files.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rpmrebuild_files.sh b/rpmrebuild_files.sh
index cf2d6be..30955c0 100755
--- a/rpmrebuild_files.sh
+++ b/rpmrebuild_files.sh
@@ -70,7 +70,7 @@ if [ "$RPMREBUILD_CAP_FROM_FS" = "yes" ]; then
fi
if [ "$RPMREBUILD_PUG_FROM_FS" = "yes" ]; then
- echo "%defattr(-,-,-)"
+ echo "%defattr(-,-,-,-)"
fi
while :; do
--
2.33.0