Alon Bar-Lev has uploaded a new change for review.
Change subject: packaging: cleanup spec file
......................................................................
packaging: cleanup spec file
1. use %{_initddir}
2. be more consistent with service name, use explict name always
Change-Id: Ib30fc665069d90b7cdb6855c92ee27d8ef143615
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/fedora/spec/ovirt-engine.spec.in
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/14373/1
diff --git a/packaging/fedora/spec/ovirt-engine.spec.in
b/packaging/fedora/spec/ovirt-engine.spec.in
index 2d9ac179..1aaada7 100644
--- a/packaging/fedora/spec/ovirt-engine.spec.in
+++ b/packaging/fedora/spec/ovirt-engine.spec.in
@@ -376,13 +376,13 @@
# Install the systemd files:
%if %{install_systemd}
install -dm 755 "%{buildroot}%{_unitdir}"
-cp "%{buildroot}%{engine_data}/services/ovirt-engine.systemd"
"%{buildroot}%{_unitdir}/%{engine_name}.service"
+cp "%{buildroot}%{engine_data}/services/ovirt-engine.systemd"
"%{buildroot}%{_unitdir}/ovirt-engine.service"
%endif
# Install System V init scripts:
%if %{install_systemv}
-install -dm 755 "%{buildroot}%{_sysconfdir}/rc.d/init.d"
-cp "%{buildroot}%{engine_data}/services/ovirt-engine.sysv"
"%{buildroot}%{_sysconfdir}/rc.d/init.d/ovirt-engine"
+install -dm 755 "%{buildroot}%{_initddir}"
+cp "%{buildroot}%{engine_data}/services/ovirt-engine.sysv"
"%{buildroot}%{_initddir}/ovirt-engine"
%endif
# backward compatibly (pre-3.3.0)
@@ -510,7 +510,7 @@
# Files needed by the service:
%{engine_data}/services
%if %{install_systemd}
-%{_unitdir}/%{engine_name}.service
+%{_unitdir}/ovirt-engine.service
%endif
%if %{install_systemv}
%{_initddir}/ovirt-engine
--
To view, visit http://gerrit.ovirt.org/14373
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib30fc665069d90b7cdb6855c92ee27d8ef143615
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches