Vinzenz Feenstra has posted comments on this change.

Change subject: Updated spec file to follow packaging guide lines (BZ#772608)
......................................................................


Patch Set 1: (6 inline comments)

....................................................
File ovirt-guest-agent.spec
Line 31: Requires: kernel > 2.6.18-238.5.0
Line 32: Requires: usermode
Line 33: Provides: %{name} = %{version}-%{release}
Line 34: %if 0%{?fc16}
Line 35: Requires: selinux-policy >= 3.10.0-77
Done
Line 36: %endif
Line 37: %if 0%{?fedora} >= 17
Line 38: Requires: selinux-policy >= 3.10.0-89
Line 39: %endif


Line 69: run-time data from within the guest itself. The agent also accepts
Line 70: control commands to be run executed within the OS (like: shutdown and
Line 71: restart).
Line 72: 
Line 73: %description service
I have verified it. It works yum remove/erase ovirt-guest-agent will remove 
ovirt-guest-agent-service and all packages which depend on ovirt-guest-agent 
(in the test scenario it was gdm and pam subpackages)
Line 74: This is the oVirt management agent running inside the guest. The agent
Line 75: interfaces with the oVirt manager, supplying heart-beat info as well as
Line 76: run-time data from within the guest itself. The agent also accepts
Line 77: control commands to be run executed within the OS (like: shutdown and


Line 109: # Update timestamps on Python files in order to avoid differences 
between
Line 110: # .pyc/.pyo files.
Line 111: touch -r %{SOURCE0} %{buildroot}%{_datadir}/ovirt-guest-agent/*.py
Line 112: 
Line 113: # Create needed folders
Done
Line 114: mkdir -p %{buildroot}%{_localstatedir}/log/ovirt-guest-agent
Line 115: mkdir -p %{buildroot}%{_localstatedir}/lock/subsys/ovirt-guest-agent
Line 116: 
Line 117: ln -sf /usr/bin/consolehelper 
%{buildroot}%{_datadir}/ovirt-guest-agent/ovirt-locksession


Line 177: %config(noreplace) %{_sysconfdir}/security/console.apps/ovirt-shutdown
Line 178: %config(noreplace) 
%{_sysconfdir}/security/console.apps/ovirt-hibernate
Line 179: %config(noreplace) %{_sysconfdir}/pam.d/ovirt-locksession
Line 180: %config(noreplace) %{_sysconfdir}/pam.d/ovirt-shutdown
Line 181: %config(noreplace) %{_sysconfdir}/pam.d/ovirt-hibernate
Done
Line 182: 
Line 183: #This is intentionally NOT 'noreplace' it's a required udev rule. If 
this is
Line 184: #modified by an user this actually might break it.
Line 185: %config %attr (644,root,root) 
%{_sysconfdir}/udev/rules.d/55-ovirt-guest-agent.rules


Line 180: %config(noreplace) %{_sysconfdir}/pam.d/ovirt-shutdown
Line 181: %config(noreplace) %{_sysconfdir}/pam.d/ovirt-hibernate
Line 182: 
Line 183: #This is intentionally NOT 'noreplace' it's a required udev rule. If 
this is
Line 184: #modified by an user this actually might break it.
Done
Line 185: %config %attr (644,root,root) 
%{_sysconfdir}/udev/rules.d/55-ovirt-guest-agent.rules
Line 186: 
Line 187: %attr (755,root,root) 
%{_datadir}/ovirt-guest-agent/ovirt-guest-agent.py*
Line 188: 


Line 226: %doc AUTHORS COPYING NEWS README
Line 227: 
Line 228: %changelog
Line 229: * Fri Oct 19 2012 Vinzenz Feenstra <vfeen...@redhat.com> - 1.0.5-2
Line 230: - introduced ovirt-guest-agent-service noarch package which provides 
Done
Line 231:   ovirt-guest-agent and avoids duplication of the same package content
Line 232: - fixed various rpmlint errors and warnings
Line 233: - added AUTHORS, COPYING, NEWS and README to all subpackages
Line 234: - changed conflicts to be requires, which is more accurate


--
To view, visit http://gerrit.ovirt.org/8715
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iec350b4027bffff8dff73db7986020fdc48261cd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeen...@redhat.com>
Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com>
Gerrit-Reviewer: Gal Hammer <gham...@redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeen...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to