rpm: use env specific lock file.