Browse code

libjpeg-turbo: Update BuildRequires nasm only for x86_64.

Change-Id: Ieb9713660c6d185fa87fcfd8036a26903702e9b2
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6816
Reviewed-by: Bo Gan <ganb@vmware.com>
Tested-by: michellew <michellew@vmware.com>

Keerthana K authored on 2019/03/04 14:54:00
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        fork of the original IJG libjpeg which uses SIMD.
2 2
 Name:           libjpeg-turbo
3 3
 Version:        2.0.0
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        IJG
6 6
 URL:            http://sourceforge.net/projects/libjpeg-turbo
7 7
 Group:          System Environment/Libraries
... ...
@@ -10,7 +10,9 @@ Distribution:   Photon
10 10
 Source0:        http://downloads.sourceforge.net/libjpeg-turbo/%{name}-%{version}.tar.gz
11 11
 %define sha1    libjpeg-turbo=6d74b609294b6bae5a7cde035f7d6b80d60ebb77
12 12
 Patch0:         CVE-2018-20330.patch
13
+%ifarch x86_64
13 14
 BuildRequires:  nasm
15
+%endif
14 16
 BuildRequires:  cmake
15 17
 
16 18
 %description
... ...
@@ -57,6 +59,8 @@ make DESTDIR=%{buildroot} install
57 57
 %{_libdir}/pkgconfig/*.pc
58 58
 
59 59
 %changelog
60
+*   Mon Mar 04 2019 Keerthana K <keerthanak@vmware.com> 2.0.0-3
61
+-   Update BuildRequires nasm only for x86_64.
60 62
 *   Thu Jan 10 2019 Sujay G <gsujay@vmware.com> 2.0.0-2
61 63
 -   Added patch to fix CVE-2018-20330
62 64
 *   Sun Sep 20 2018 Bo Gan <ganb@vmware.com> 2.0.0-1