File iptables-apply-mktemp-fix.patch of Package iptables

Index: iptables-apply
===================================================================
--- iptables-apply.orig
+++ iptables-apply
@@ -110,7 +110,7 @@ case "${0##*/}" in
 		;;
 esac
 
-COMMANDS=(tempfile "$SAVE" "$RESTORE")
+COMMANDS=(mktemp "$SAVE" "$RESTORE")
 
 for cmd in "${COMMANDS[@]}"; do
 	if ! command -v $cmd >/dev/null; then
@@ -121,7 +121,7 @@ done
 
 umask 0700
 
-TMPFILE=$(tempfile -p iptap)
+TMPFILE=$(mktemp)
 trap "rm -f $TMPFILE" EXIT 1 2 3 4 5 6 7 8 10 11 12 13 14 15
 
 if ! "$SAVE" >"$TMPFILE"; then
openSUSE Build Service is sponsored by