Chris Lalancette
2008-Jun-06 08:29 UTC
[Ovirt-devel] [PATCH]: Cleanup the ovirt-wui SPEC and activate daemons
While I develop, I constantly do something like: rpm -e ovirt-wui ; make rpms ; rpm -ivh rpm-build/ovirt-wui-<version>.rpm However, this sequence does not currently turn on the various daemons. The attached patch always adds the relevant daemons in question, and turns them on if and only this is a new install. If it's an upgrade (and the daemons are already in place), it respects the administrator's decision. Signed-off-by: Chris Lalancette <clalance at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: wui-spec-cleanup.patch Type: text/x-patch Size: 2763 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080606/72b82a40/attachment.bin>
Alan Pevec
2008-Jun-06 10:16 UTC
[Ovirt-devel] [PATCH]: Cleanup the ovirt-wui SPEC and activate daemons
Chris Lalancette wrote:> While I develop, I constantly do something like: > > rpm -e ovirt-wui ; make rpms ; rpm -ivh rpm-build/ovirt-wui-<version>.rpm > > However, this sequence does not currently turn on the various daemons. The > attached patch always adds the relevant daemons in question, and turns them on > if and only this is a new install. If it's an upgrade (and the daemons are > already in place), it respects the administrator's decision.ACK if you add: %config(noreplace)/config/database.yml %config(noreplace)/config/ldap.yml %config(noreplace)/config/environments/development.rb %config(noreplace)/config/environments/production.rb %config(noreplace)/config/environments/test.rb This is not kosher, since config files should be under /etc http://fedoraproject.org/wiki/Packaging/Guidelines#Configuration_files but we can do that later since this would require code changes (or symlink?)