http://bugzilla.novell.com/show_bug.cgi?id=588390 http://bugzilla.novell.com/show_bug.cgi?id=588390#c2 --- Comment #2 from stephen ware <stephenx.e.ware@intel.com> 2010-03-15 17:29:13 UTC --- here is a copy of the %post script for setup-2.8.15-1.fc13.src.rpm #throw away useless and dangerous update stuff until rpm will be able to #handle it ( http://rpm.org/ticket/6 ) %post -p <lua> for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do os.remove("/etc/"..name..".rpmnew") end My configuration requires this as part of the build environment. Since init_buildsystem executes the %post script with bash rather than lua, it fails. I'd like to see build check the -p flag and use the requested interpreter. I did it with: prog=`rpm -qp --nodigest --nosignature --qf \ %{PREINPROG}" "$BUILD_ROOT/.init_b_cache/rpms/$PKG.rpm" | \ sed 's/<(.*)>/\1/'` and then a test of prog to see if using a requested interpreter or bash (on prog = "") I did not include my changes as a patch since mine is a hack, not necessarily a fix. Hope this helps. -stephen -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.