diff --git a/sudo.spec b/sudo.spec index bacb76e787f3bee92f5d8a044b895e67354f3322..7d2b21243aceddbdcb430be841f53229fbcbec31 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,6 +1,11 @@ +# The global macro chrpath_delete defined in +# macros file, but does't work. +# Redefine macro chrpath_delete local. +%define chrpath_delete() (find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep -w "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {}) + Name: sudo Version: 1.9.2 -Release: 13 +Release: 14 Summary: Allows restricted root access for specified users License: ISC URL: http://www.courtesan.com/sudo/ @@ -176,6 +181,9 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i %exclude %{_pkgdocdir}/ChangeLog %changelog +* Fri Nov 10 2023 yixiangzhike - 1.9.2-14 +- redefine chrpath_delete macro to delete runpath/rpath + * Wed Apr 12 2023 wangyu - 1.9.2-13 - Fix compilation error on sw64 arch.