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>
%{_sbindir}/useradd
%{_sbindir}/userdel
%{_sbindir}/usermod
-%exclude /usr/lib/debug
+%exclude %dir /usr/lib/debug/.build-id
%exclude /bin/login
%exclude %{_sbindir}/nologin