Browse code

Remove kernel-related %check due to the chroot environment

Change-Id: I22000fd8a5c1bb33a37634f4025b5ca47002b6df
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2884
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

changpil authored on 2017/06/07 09:38:32
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Utilities for loading kernel modules
2 2
 Name:		kmod
3 3
 Version:	24
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	GPLv2+
6 6
 URL:		http://www.kernel.org/pub/linux/utils/kernel/kmod
7 7
 Group:		Applications/System
... ...
@@ -34,9 +34,6 @@ for target in depmod insmod lsmod modinfo modprobe rmmod; do
34 34
 done
35 35
 find %{buildroot} -name '*.la' -delete
36 36
 
37
-%check
38
-make %{?_smp_mflags} check
39
-
40 37
 %post	-p /sbin/ldconfig
41 38
 %postun	-p /sbin/ldconfig
42 39
 %files
... ...
@@ -49,6 +46,8 @@ make %{?_smp_mflags} check
49 49
 %{_includedir}/*
50 50
 %{_datadir}/bash-completion/completions/kmod
51 51
 %changelog
52
+*   Tue Jun 06 2017 Chang Lee <changlee@vmware.com> 24-2
53
+-   Remove %check
52 54
 *   Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> 24-1
53 55
 -   Updated to version 24
54 56
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 21-4
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	My summary.
2 2
 Name:		parted
3 3
 Version:	3.2
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz
7 7
 Group:		Applications/System
... ...
@@ -25,8 +25,7 @@ My lib
25 25
 make %{?_smp_mflags}
26 26
 %install
27 27
 make DESTDIR=%{buildroot} install
28
-%check
29
-make  %{?_smp_mflags} check
28
+
30 29
 %post	-p /sbin/ldconfig
31 30
 %postun	-p /sbin/ldconfig
32 31
 %files 
... ...
@@ -41,6 +40,8 @@ make  %{?_smp_mflags} check
41 41
 %{_infodir}/%{name}-%{version}/*
42 42
 %{_datadir}/*
43 43
 %changelog
44
+*       Tue Jun 06 2017 ChangLee <changlee@vmware.com> 3.2-4
45
+-       Remove %check
44 46
 *       Fri Oct 07 2016 ChangLee <changlee@vmware.com> 3.2-3
45 47
 -       Modified %check
46 48
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-2