Use empty lines to split blocks to improve readability.
Signed-off-by: Flavio Leitner <[email protected]>
---
rhel/openvswitch-fedora.spec.in | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 1d81567..b48e971 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -92,29 +92,40 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
+
install -p -D -m 0644 rhel/usr_lib_systemd_system_openvswitch.service \
$RPM_BUILD_ROOT%{_unitdir}/openvswitch.service
install -p -D -m 0644
rhel/usr_lib_systemd_system_openvswitch-nonetwork.service \
$RPM_BUILD_ROOT%{_unitdir}/openvswitch-nonetwork.service
+
install -m 0755 rhel/etc_init.d_openvswitch \
$RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
+
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig
+
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
install -m 0755 rhel/etc_logrotate.d_openvswitch \
$RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
+
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d
+
install -m 0644 vswitchd/vswitch.ovsschema \
$RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
+
install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/openvswitch/scripts
+
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
$RPM_BUILD_ROOT/%{_sysconfdir}/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/%{_datadir}/openvswitch/scripts
install -d -m 0755 $RPM_BUILD_ROOT%{python_sitelib}
--
1.9.3
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev