Revert "spec: exclude /usr/lib/debug" 37/270237/3 accepted/tizen_7.0_base_hotfix accepted/tizen_7.0_base_tool accepted/tizen_7.0_base_tool_hotfix tizen_7.0_base_hotfix accepted/tizen/7.0/base/20230714.003125 accepted/tizen/7.0/base/hotfix/20230714.003935 accepted/tizen/7.0/base/tool/20221028.120434 accepted/tizen/7.0/base/tool/hotfix/20221115.084500 accepted/tizen/base/tool/20220127.053827 accepted/tizen/base/tool/20221212.074203 submit/tizen_7.0_base/20221028.201301 submit/tizen_7.0_base_hotfix/20221115.161701 submit/tizen_base/20220127.022049 submit/tizen_base/20221212.073425 tizen_7.0_m2_release
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Jan 2022 01:47:45 +0000 (01:47 +0000)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Jan 2022 02:12:10 +0000 (11:12 +0900)
This reverts commit 4fb938d2f54912737f9675663be8b6f1e1194055.

Without %exclude /usr/lib/debug,
it causes build errors under the lower version of RPM package modules.

[   75s] Processing files: shadow-utils-debuginfo-4.1.4.2-20220126.005810.2.1.armv7l
[   75s] warning: File listed twice: /usr/lib/debug/.build-id
[   75s] warning: File listed twice: /usr/lib/debug/.build-id
[   75s] warning: File listed twice: /usr/lib/debug/.build-id

[   75s] RPM build errors:
[   75s]     File listed twice: /usr/lib/debug/.build-id
...
[   75s]     File listed twice: /usr/lib/debug/.build-id
[   75s]     Installed (but unpackaged) file(s) found:

Change-Id: I021b16378458b3755fef13b9a5ce1191fa891537
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
packaging/shadow-utils.spec

index bdfefa1..6cbf1fc 100644 (file)
@@ -143,6 +143,7 @@ rm %{buildroot}/%{_sbindir}/vipw
 %{_sbindir}/useradd
 %{_sbindir}/userdel
 %{_sbindir}/usermod
+%exclude /usr/lib/debug
 %exclude /bin/login
 %exclude %{_sbindir}/nologin