File gen-hmacs of Package kernel-source

#!/bin/sh

KEY="I'm smarter than the average bear!"
cat "$@" | while read file; do
	file="$RPM_BUILD_ROOT/$file"
	openssl dgst -sha256 -binary -hmac "$KEY" "${file%.hmac}" >"$file"
done