Browse code

OVS runtime depends on libatomic.so

Change-Id: Iec8ffbf37663efabd5b220f659073eb7f27375a6
Reviewed-on: http://photon-jenkins.eng.vmware.com/86
Reviewed-by: Sharath George
Tested-by: jenkins-photon <wangnan2015@hotmail.com>

Vinay Kulkarni authored on 2015/11/02 05:40:15
Showing 2 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:	Contains the GNU compiler collection
3 3
 Name:		gcc
4 4
 Version:	4.8.2
5
-Release:	4%{?dist}
5
+Release:	5%{?dist}
6 6
 License:	GPLv2+
7 7
 URL:		http://gcc.gnu.org
8 8
 Group:		Development/Tools
... ...
@@ -24,6 +24,12 @@ Group:         	System Environment/Libraries
24 24
 %description -n libgcc
25 25
 The libgcc package contains GCC shared libraries for gcc .
26 26
 
27
+%package -n     libgcc-atomic
28
+Summary:        GNU C Library for atomic counter updates
29
+Group:          System Environment/Libraries
30
+%description -n libgcc-atomic
31
+The libgcc package contains GCC shared libraries for atomic counter updates.
32
+
27 33
 %package -n	libgcc-devel
28 34
 Summary:	GNU C Library
29 35
 Group:         	Development/Libraries
... ...
@@ -160,6 +166,14 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
160 160
 %{_libdir}/libgcc_s.so.*
161 161
 %endif
162 162
 
163
+%files -n libgcc-atomic
164
+%defattr(-,root,root)
165
+%ifarch x86_64
166
+%{_lib64dir}/libatomic.so*
167
+%else
168
+%{_lib64dir}/libatomic.so*
169
+%endif
170
+
163 171
 %files -n libgcc-devel
164 172
 %defattr(-,root,root)
165 173
 %ifarch x86_64
... ...
@@ -214,6 +228,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
214 214
 %endif
215 215
 
216 216
 %changelog
217
+*   Mon Nov 02 2015 Vinay Kulkarni <kulkarniv@vmware.com> 4.8.2-5
218
+-   Put libatomic.so into its own package.
217 219
 *   Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 4.8.2-4
218 220
 -   Updated group.
219 221
 *   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 4.8.2-3
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Open vSwitch daemon/database/utilities
2 2
 Name:           openvswitch
3 3
 Version:        2.4.0
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
... ...
@@ -22,6 +22,7 @@ BuildRequires:  python2-libs
22 22
 BuildRequires:  python-xml
23 23
 BuildRequires:  python-setuptools
24 24
 
25
+Requires:       libgcc-atomic
25 26
 Requires:       libcap-ng
26 27
 Requires:       openssl
27 28
 Requires:       PyYAML
... ...
@@ -126,6 +127,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
126 126
 /usr/share/man/man8/vtep-ctl.8.gz
127 127
 
128 128
 %changelog
129
+*       Sat Oct 31 2015 Vinay Kulkarni <kulkarniv@vmware.com> 2.4.0-2
130
+-       OVS requires libatomic.so.1 provided by gcc.
129 131
 *       Mon Oct 12 2015 Vinay Kulkarni <kulkarniv@vmware.com> 2.4.0-1
130 132
 -       Update to OVS v2.4.0
131 133
 *       Fri May 29 2015 Kumar Kaushik <kaushikk@vmware.com> 2.3.1-1