[ovs-dev] [PATCH 29/33] fedora-spec: remove uneeded lines

Flavio Leitner fbl at redhat.com
Thu Nov 6 18:45:47 UTC 2014


Signed-off-by: Flavio Leitner <fbl at redhat.com>
---
 rhel/openvswitch-fedora.spec.in | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index b48e971..a51365d 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -93,7 +93,6 @@ make %{?_smp_mflags}
 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 \
@@ -104,19 +103,12 @@ install -p -D -m 0644 rhel/usr_lib_systemd_system_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 \
+install -p -D -m 0644 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
@@ -126,8 +118,6 @@ install -p -m 0755 rhel/etc_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}
 mv $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* $RPM_BUILD_ROOT%{python_sitelib}
 rmdir $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
-- 
1.9.3




More information about the dev mailing list