This way, the xenserver spec file and the upcoming RHEL 5.6 spec file don't
have to install it by hand.

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 vswitchd/automake.mk           |    1 +
 xenserver/openvswitch-xen.spec |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk
index b8ee5b3..1df5dff 100644
--- a/vswitchd/automake.mk
+++ b/vswitchd/automake.mk
@@ -42,6 +42,7 @@ OVSIDL_BUILT += \
        vswitchd/vswitch-idl.ovsidl
 VSWITCH_IDL_FILES = vswitchd/vswitch.ovsschema vswitchd/vswitch-idl.ann
 EXTRA_DIST += $(VSWITCH_IDL_FILES)
+pkgdata_DATA += vswitchd/vswitch.ovsschema
 vswitchd/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES)
        $(OVSDB_IDLC) -C $(srcdir) annotate $(VSWITCH_IDL_FILES) > $@.tmp
        mv $@.tmp $@
diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec
index 0eafc01..da9ed1f 100644
--- a/xenserver/openvswitch-xen.spec
+++ b/xenserver/openvswitch-xen.spec
@@ -94,8 +94,6 @@ install -d -m 755 
$RPM_BUILD_ROOT/etc/xensource/bugtool/system-configuration
 install -m 644 
xenserver/etc_xensource_bugtool_system-configuration_openvswitch.xml \
          
$RPM_BUILD_ROOT/etc/xensource/bugtool/system-configuration/openvswitch.xml
 install -d -m 755 $RPM_BUILD_ROOT/usr/share/openvswitch/scripts
-install -m 644 vswitchd/vswitch.ovsschema \
-         $RPM_BUILD_ROOT/usr/share/openvswitch/vswitch.ovsschema
 install -m 755 xenserver/opt_xensource_libexec_interface-reconfigure \
              
$RPM_BUILD_ROOT/usr/share/openvswitch/scripts/interface-reconfigure
 install -m 644 xenserver/opt_xensource_libexec_InterfaceReconfigure.py \
-- 
1.7.4.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to