X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fvswitch-xen.spec;h=3d2bb75495551ad61cbb18d0e07fd2021cd53622;hb=76f105d9be03588c2d5ec0b94ff769a1d269f2e4;hp=41f709d1f2823251b8be4dacbb34d81e90dbc9ba;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=openvswitch diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index 41f709d1..3d2bb754 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -19,6 +19,7 @@ Name: vswitch Summary: Virtual switch Group: System Environment/Daemons URL: http://www.openvswitch.org/ +Vendor: Nicira Networks, Inc. Version: %{vswitch_version} # The entire source code is ASL 2.0 except datapath/ which is GPLv2 @@ -71,16 +72,14 @@ install -m 644 vswitchd/vswitch.ovsschema \ $RPM_BUILD_ROOT/usr/share/vswitch/vswitch.ovsschema install -m 755 xenserver/opt_xensource_libexec_interface-reconfigure \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/interface-reconfigure -install -m 755 xenserver/opt_xensource_libexec_InterfaceReconfigure.py \ +install -m 644 xenserver/opt_xensource_libexec_InterfaceReconfigure.py \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/InterfaceReconfigure.py -install -m 755 xenserver/opt_xensource_libexec_InterfaceReconfigureBridge.py \ +install -m 644 xenserver/opt_xensource_libexec_InterfaceReconfigureBridge.py \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/InterfaceReconfigureBridge.py -install -m 755 xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py \ +install -m 644 xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/InterfaceReconfigureVswitch.py install -m 755 xenserver/etc_xensource_scripts_vif \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/vif -install -m 755 xenserver/usr_share_vswitch_scripts_dump-vif-details \ - $RPM_BUILD_ROOT/usr/share/vswitch/scripts/dump-vif-details install -m 755 xenserver/usr_share_vswitch_scripts_refresh-xs-network-uuids \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/refresh-xs-network-uuids install -m 755 xenserver/usr_sbin_xen-bugtool \ @@ -340,30 +339,16 @@ fi %if %(echo '%{xen_version}'|awk -F"." '{if ($3>=18) print 1; else print 0;}') /lib/modules/%{xen_version}/kernel/net/vswitch/ip_gre_mod.ko %endif -/usr/share/vswitch/scripts/dump-vif-details /usr/share/vswitch/scripts/refresh-xs-network-uuids /usr/share/vswitch/scripts/interface-reconfigure /usr/share/vswitch/scripts/InterfaceReconfigure.py -/usr/share/vswitch/scripts/InterfaceReconfigure.pyc -/usr/share/vswitch/scripts/InterfaceReconfigure.pyo /usr/share/vswitch/scripts/InterfaceReconfigureBridge.py -/usr/share/vswitch/scripts/InterfaceReconfigureBridge.pyc -/usr/share/vswitch/scripts/InterfaceReconfigureBridge.pyo /usr/share/vswitch/scripts/InterfaceReconfigureVswitch.py -/usr/share/vswitch/scripts/InterfaceReconfigureVswitch.pyc -/usr/share/vswitch/scripts/InterfaceReconfigureVswitch.pyo /usr/share/vswitch/scripts/vif /usr/share/vswitch/scripts/xen-bugtool /usr/share/vswitch/scripts/XSFeatureVSwitch.py /usr/share/vswitch/scripts/brctl /usr/share/vswitch/scripts/sysconfig.template -# Following two files are generated automatically by rpm. We don't -# really need them and they won't be used on the XenServer, but there -# isn't an obvious place to get rid of them since they are generated -# after the install script runs. Since they are small, we just -# include them. -/usr/share/vswitch/scripts/XSFeatureVSwitch.pyc -/usr/share/vswitch/scripts/XSFeatureVSwitch.pyo /usr/share/vswitch/vswitch.ovsschema /usr/sbin/ovs-brcompatd /usr/sbin/ovs-vswitchd @@ -377,6 +362,7 @@ fi /usr/share/man/man1/ovsdb-client.1.gz /usr/share/man/man1/ovsdb-server.1.gz /usr/share/man/man1/ovsdb-tool.1.gz +/usr/share/man/man5/ovs-vswitchd.conf.db.5.gz /usr/share/man/man8/ovs-appctl.8.gz /usr/share/man/man8/ovs-brcompatd.8.gz /usr/share/man/man8/ovs-dpctl.8.gz @@ -384,3 +370,5 @@ fi /usr/share/man/man8/ovs-vsctl.8.gz /usr/share/man/man8/ovs-vswitchd.8.gz /var/lib/openvswitch +%exclude /usr/share/vswitch/scripts/*.pyc +%exclude /usr/share/vswitch/scripts/*.pyo