diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2023-11-17 14:58:31 +0900 |
---|---|---|
committer | youngjae cho <y0.cho@samsung.com> | 2023-11-22 10:37:04 +0000 |
commit | 0ca617ba62383a3d05259198e379d6733b7f2a56 (patch) | |
tree | e5e1e5500cd6383455cbcd5443c12b0a08648b84 | |
parent | adfdc57ca16af1c06dfa6306fcb8abe65165ad78 (diff) | |
download | shadow-utils-0ca617ba62383a3d05259198e379d6733b7f2a56.tar.gz shadow-utils-0ca617ba62383a3d05259198e379d6733b7f2a56.tar.bz2 shadow-utils-0ca617ba62383a3d05259198e379d6733b7f2a56.zip |
spec: Exclude /usr/lib/debug/.build-id explicitlyaccepted/tizen/base/riscv/20231128.013842accepted/tizen/base/20231123.050224
The only %exclude isn't enough for /usr/lib/debug directory at the
current rpm version 4.14.1. Specifiy %dir and .build-id directory to
make main package drop the directory.
It is unclear which situation blames the .build-id as shown in the
previous patch. And it seems enough that just removing the whole %exclude
clause for dropping debug info. However, respect the previous endeavors
that trying to exclude the .build-id from packaging.
Change-Id: I47037e1a3ef824435cc116960e48b0382877d5c9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit d05709a8bf6214ddc4bebd7d186b90cc511f3f25)
-rw-r--r-- | packaging/shadow-utils.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/shadow-utils.spec b/packaging/shadow-utils.spec index 6cbf1fc..22b5852 100644 --- a/packaging/shadow-utils.spec +++ b/packaging/shadow-utils.spec @@ -143,7 +143,7 @@ rm %{buildroot}/%{_sbindir}/vipw %{_sbindir}/useradd %{_sbindir}/userdel %{_sbindir}/usermod -%exclude /usr/lib/debug +%exclude %dir /usr/lib/debug/.build-id %exclude /bin/login %exclude %{_sbindir}/nologin |