add environment checks
just have %files be all of %{_prefix}
sync changes back to template.spec
minor doc
proper env check