Browse code

Build ovs with shared libs

Change-Id: Icd6c592208e7e7a2a5553dd607bcc202607aafdb
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2071
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>

Vinay Kulkarni authored on 2017/02/15 14:04:51
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Open vSwitch daemon/database/utilities
2 2
 Name:           openvswitch
3 3
 Version:        2.6.1
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        ASL 2.0 and LGPLv2+
6 6
 URL:            http://www.openvswitch.org/
7 7
 Group:          System Environment/Daemons
... ...
@@ -65,7 +65,8 @@ It contains the documentation and manpages for openvswitch.
65 65
         --libdir=%{_libdir} \
66 66
         --sysconfdir=/etc \
67 67
         --localstatedir=/var \
68
-        --enable-ssl
68
+        --enable-ssl \
69
+        --enable-shared
69 70
 
70 71
 make %{_smp_mflags}
71 72
 
... ...
@@ -121,7 +122,7 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
121 121
 %{_includedir}/ovn/*.h
122 122
 %{_includedir}/openflow/*.h
123 123
 %{_includedir}/openvswitch/*.h
124
-%{_libdir}/*.a
124
+%{_libdir}/lib*
125 125
 %{_libdir}/pkgconfig/*.pc
126 126
 
127 127
 %files doc
... ...
@@ -136,6 +137,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
136 136
 /usr/share/man/man8/vtep-ctl.8.gz
137 137
 
138 138
 %changelog
139
+*	Fri Feb 10 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.6.1-2
140
+-	Build ovs shared library
139 141
 *	Wed Nov 16 2016 Vinay Kulkarni <kulkarniv@vmware.com> 2.6.1-1
140 142
 -	Update to openvswitch 2.6.1
141 143
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.4.0-3