Browse code

Update libseccomp to 2.3.3

Change-Id: Ib28bea3ea03205417ec455f23d08cf815bf6059a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5638
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

Bo Gan authored on 2018/09/11 07:07:28
Showing 1 changed files
... ...
@@ -1,11 +1,11 @@
1 1
 Summary:      Enhanced seccomp library
2 2
 Name:         libseccomp
3
-Version:      2.3.2
3
+Version:      2.3.3
4 4
 Release:      1%{?dist}
5 5
 License:      LGPLv2
6 6
 Group:        System Environment/Libraries
7 7
 Source0:      https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
8
-%define sha1 libseccomp=6eb7fa147008f4ae189d56c2ea801a619bb08cd0
8
+%define sha1 libseccomp=89b1f35447b1891a3051de979dc92ad9f7258b60
9 9
 Url:          https://github.com/seccomp/libseccomp/wiki
10 10
 Vendor:       VMware, Inc.
11 11
 Distribution: Photon
... ...
@@ -30,14 +30,11 @@ needed for developing secure applications.
30 30
 %setup -q
31 31
 
32 32
 %build
33
-./configure --prefix="%{_prefix}" --libdir="%{_libdir}"
34
-CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
33
+%configure
34
+make V=1 %{?_smp_mflags}
35 35
 
36 36
 %install
37 37
 rm -rf "%{buildroot}"
38
-mkdir -p "%{buildroot}/%{_libdir}"
39
-mkdir -p "%{buildroot}/%{_includedir}"
40
-mkdir -p "%{buildroot}/%{_mandir}"
41 38
 make V=1 DESTDIR="%{buildroot}" install
42 39
 
43 40
 %check
... ...
@@ -52,18 +49,20 @@ make check
52 52
 %doc CREDITS
53 53
 %doc README.md
54 54
 %{_libdir}/libseccomp.so.*
55
-%{_libdir}/libseccomp.a
56
-%{_libdir}/libseccomp.la
57 55
 
58 56
 %files devel
59 57
 %{_includedir}/seccomp.h
60 58
 %{_libdir}/libseccomp.so
59
+%{_libdir}/libseccomp.a
60
+%{_libdir}/libseccomp.la
61 61
 %{_libdir}/pkgconfig/libseccomp.pc
62 62
 %{_bindir}/scmp_sys_resolver
63 63
 %{_mandir}/man1/*
64 64
 %{_mandir}/man3/*
65 65
 
66 66
 %changelog
67
+*       Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 2.3.3-1
68
+-       Updated to version 2.3.3
67 69
 *	Tue Apr 11 2017 Harish Udaiya KUmar <hudaiyakumar@vmware.com> 2.3.2-1
68 70
 -	Updated to version 2.3.2
69 71
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.2.3-2