basho/riak — pull request #165 by dcarley (2012-06-14 21:00:00+00:00)
Title: Change ownership of /etc/riak for RPM packages

The current RPM packages set the ownership of `/etc/riak` and the configurations files therein to `riak:riak`. This is typically considered bad practice because the daemon shouldn't have, or need, permissions to modify it's own configs.

The first commit in this PR rectifies that. The default file ownership is set to `root:root` and log/state directories are then explicitly owned to `riak:riak`. This matches the behaviour of the Debian packages.

The second commit omits some attributes that already come from the `%install` section, thus simplifying the SPEC. It could be squashed into the prior commit if preferred.