[ovs-dev] [PATCH 2/2] Packaging: Add useful files for debian and rhel.

Pravin B Shelar pshelar at nicira.com
Mon Aug 11 22:54:18 UTC 2014


CC: Ben Pfaff <blp at nicira.com>
Signed-off-by: Flavio Leitner <fbl at redhat.com>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
---
 debian/openvswitch-common.docs  | 1 +
 rhel/openvswitch-fedora.spec.in | 1 +
 rhel/openvswitch.spec.in        | 7 ++-----
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/openvswitch-common.docs b/debian/openvswitch-common.docs
index d6360a1..3bd2ca3 100644
--- a/debian/openvswitch-common.docs
+++ b/debian/openvswitch-common.docs
@@ -1 +1,2 @@
 FAQ
+INSTALL.DPDK
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 30fe439..9f66f41 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -201,6 +201,7 @@ systemctl start openvswitch.service
 %doc /usr/share/man/man8/ovs-test.8.gz
 %doc /usr/share/man/man8/ovs-l3ping.8.gz
 %doc /usr/share/man/man8/vtep-ctl.8.gz
+%doc COPYING DESIGN INSTALL.SSL NOTICE README WHY-OVS FAQ NEWS INSTALL.DPDK
 /var/lib/openvswitch
 /var/log/openvswitch
 /usr/share/openvswitch/scripts/ovs-ctl
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index c817cce..251cfe5 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -55,9 +55,6 @@ rhel_cp etc_sysconfig_network-scripts_ifup-ovs 0755
 rhel_cp etc_sysconfig_network-scripts_ifdown-ovs 0755
 rhel_cp usr_share_openvswitch_scripts_sysconfig.template 0644
 
-docdir=$RPM_BUILD_ROOT/usr/share/doc/openvswitch-%{version}
-install -d -m755 "$docdir"
-install -m 0644 FAQ rhel/README.RHEL "$docdir"
 install python/compat/uuid.py $RPM_BUILD_ROOT/usr/share/openvswitch/python
 install python/compat/argparse.py $RPM_BUILD_ROOT/usr/share/openvswitch/python
 
@@ -175,7 +172,7 @@ exit 0
 /usr/share/openvswitch/scripts/sysconfig.template
 /usr/share/openvswitch/vswitch.ovsschema
 /usr/share/openvswitch/vtep.ovsschema
-/usr/share/doc/openvswitch-%{version}/FAQ
-/usr/share/doc/openvswitch-%{version}/README.RHEL
+%doc COPYING DESIGN INSTALL.SSL NOTICE README WHY-OVS FAQ NEWS
+%doc INSTALL.DPDK rhel/README.RHEL
 /var/lib/openvswitch
 /var/log/openvswitch
-- 
1.9.3




More information about the dev mailing list