summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2014-11-06 16:45:49 -0200
committerBen Pfaff <blp@nicira.com>2014-11-06 14:11:11 -0800
commitc846a5b2b0fc55530da3f68f52585a811e63bb8c (patch)
treeca59ed9e8b7fd351861e54548ccf1d6fab33d1a7 /rhel
parent3224d9487fef797559b75817c725c253e5d7fb5f (diff)
downloadopenvswitch-c846a5b2b0fc55530da3f68f52585a811e63bb8c.tar.gz
fedora-spec: move sysconfig template
Move the sysconfig template close to other systemd lines. Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/openvswitch-fedora.spec.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 6e169b4c3..67b7ca905 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -96,6 +96,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
install -p -D -m 0644 \
+ rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
+ $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
+install -p -D -m 0644 \
rhel/usr_lib_systemd_system_openvswitch.service \
$RPM_BUILD_ROOT%{_unitdir}/openvswitch.service
install -p -D -m 0644 \
@@ -117,10 +120,6 @@ install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
$RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
-install -p -D -m 0644 \
- rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
- $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
-
install -d -m 0755 $RPM_BUILD_ROOT%{python_sitelib}
mv $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
$RPM_BUILD_ROOT%{python_sitelib}