Browse code

Modified %check for SPEC files - 13

Change-Id: I0574493026b6d2b7a1f8c1678789e91cc266c161
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1407
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sarah Choi <sarahc@vmware.com>

Chang authored on 2016/09/17 09:26:27
Showing 7 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:	Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6. 
3 3
 Name:		net-snmp   
4 4
 Version:	5.7.3
5
-Release:	4%{?dist}
5
+Release:	5%{?dist}
6 6
 License:	BSD (like)  
7 7
 URL:		http://net-snmp.sourceforge.net/
8 8
 Group:		Productivity/Networking/Other
... ...
@@ -76,6 +76,9 @@ ExecReload=/bin/kill -HUP $MAINPID
76 76
 WantedBy=multi-user.target
77 77
 EOF
78 78
 
79
+%check
80
+make %{?_smp_mflags} test
81
+
79 82
 %post
80 83
 /sbin/ldconfig
81 84
 %systemd_post snmpd.service
... ...
@@ -112,7 +115,9 @@ rm -rf %{buildroot}/*
112 112
 %exclude /usr/lib/perl5/5.22.1/x86_64-linux-thread-multi/perllocal.pod
113 113
 
114 114
 %changelog
115
-*   Thu May 26 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 5.7.3-4
115
+*       Mon Oct 04 2016 ChangLee <changLee@vmware.com> 5.7.3-5
116
+-       Modified %check
117
+*       Thu May 26 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 5.7.3-4
116 118
 -	Excluded the perllocal.pod log.
117 119
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 5.7.3-3
118 120
 -	GA - Bump release of all rpms
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Networking Tools
2 2
 Name:		net-tools
3 3
 Version:	1.60
4
-Release:	7%{?dist}
4
+Release:	8%{?dist}
5 5
 License:	GPLv2+
6 6
 URL:		http://net-tools.sourceforge.net
7 7
 Group:		System Environment/Base
... ...
@@ -90,8 +90,7 @@ sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
90 90
 make
91 91
 %install
92 92
 make BASEDIR=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} install
93
-%check
94
-make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
93
+
95 94
 %post	-p /sbin/ldconfig
96 95
 %postun	-p /sbin/ldconfig
97 96
 %clean
... ...
@@ -105,6 +104,8 @@ rm -rf %{buildroot}/*
105 105
 %{_mandir}/man8/*
106 106
 
107 107
 %changelog
108
+*       Mon Oct 04 2016 ChangLee <changLee@vmware.com> 1.60-8
109
+-       Modified %check
108 110
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.60-7
109 111
 -	GA - Bump release of all rpms
110 112
 *	Thu Feb 4 2016 Alexey Makhalov <amakhalov@vmware.com> 1.60-6
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Low level cryptographic libraries
2 2
 Name:		nettle
3 3
 Version:	3.2
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	LGPLv3+ or GPLv2+
6 6
 URL:            http://www.lysator.liu.se/~nisse/nettle/
7 7
 Source0: 	https://ftp.gnu.org/gnu/nettle/%{name}-%{version}.tar.gz
... ...
@@ -41,8 +41,10 @@ make %{?_smp_mflags}
41 41
 %install
42 42
 make DESTDIR=%{buildroot} install
43 43
 rm %{buildroot}%{_infodir}/*
44
+
44 45
 %check
45
-make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
46
+make %{?_smp_mflags} check
47
+
46 48
 %post	-p /sbin/ldconfig
47 49
 %postun	-p /sbin/ldconfig
48 50
 %files
... ...
@@ -56,12 +58,14 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
56 56
 %{_libdir}/pkgconfig/*.pc
57 57
 %{_libdir}/*.a
58 58
 %changelog
59
+*       Mon Oct 04 2016 ChangLee <changLee@vmware.com> 3.2-3
60
+-       Modified %check
59 61
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-2
60 62
 -	GA - Bump release of all rpms
61
-*   Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 3.2-1
62
--   Updated to version 3.2
63
-*   Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.1-2
64
--   Moving static lib files to devel package.
63
+*       Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 3.2-1
64
+-       Updated to version 3.2
65
+*       Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.1-2
66
+-       Moving static lib files to devel package.
65 67
 *	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.1.1-1
66 68
 -	Initial build. First version
67 69
 
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	A library for text mode user interfaces
2 2
 Name:		newt
3 3
 Version:	0.52.18
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	GNU Library General Public License
6 6
 URL:		https://admin.fedoraproject.org/pkgdb/package/newt/
7 7
 Group:		Development/Languages
... ...
@@ -37,6 +37,9 @@ make
37 37
 %install
38 38
 make DESTDIR=%{buildroot} install
39 39
 
40
+%check
41
+make %{?_smp_mflags} test
42
+
40 43
 %files
41 44
 %defattr(-,root,root)
42 45
 %{_libdir}/libnewt.so.0*
... ...
@@ -51,6 +54,8 @@ make DESTDIR=%{buildroot} install
51 51
 %{_libdir}/pkgconfig/*.pc
52 52
 
53 53
 %changelog
54
+*       Mon Oct 04 2016 ChangLee <changLee@vmware.com> 0.52.18-3
55
+-       Modified %check
54 56
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.52.18-2
55 57
 -	GA - Bump release of all rpms
56 58
 *	Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
... ...
@@ -22,7 +22,6 @@ gcc  -o3 -m64 %{name}.c -o %{name}
22 22
 %install
23 23
 install -p -m755 -D  %{name} %{buildroot}%{_bindir}/%{name}
24 24
 install -p -m644 -D  %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
25
-    
26 25
 
27 26
 %files
28 27
 %{_bindir}/*
... ...
@@ -32,4 +31,4 @@ install -p -m644 -D  %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
32 32
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.95-2
33 33
 -	GA - Bump release of all rpms
34 34
 *	Mon Nov 30 2015 Xiaolin Li <xiaolinl@vmware.com> 1.95-1
35
--   Initial build.  First version
36 35
\ No newline at end of file
36
+-       Initial build.  First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Security client
2 2
 Name:		nss
3 3
 Version:	3.25
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	MPLv2.0
6 6
 URL:		http://ftp.mozilla.org/pub/mozilla.org/security/nss
7 7
 Group:		Applications/System
... ...
@@ -56,6 +56,12 @@ chmod 644 %{buildroot}%{_includedir}/nss/*
56 56
 install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} %{buildroot}%{_bindir}
57 57
 install -vdm 755 %{buildroot}%{_libdir}/pkgconfig
58 58
 install -vm 644 Linux*/lib/pkgconfig/nss.pc %{buildroot}%{_libdir}/pkgconfig
59
+
60
+%check
61
+cd nss/tests
62
+HOST=localhost DOMSUF=localdomain
63
+./all.sh
64
+
59 65
 %post	-p /sbin/ldconfig
60 66
 
61 67
 %files
... ...
@@ -71,6 +77,8 @@ install -vm 644 Linux*/lib/pkgconfig/nss.pc %{buildroot}%{_libdir}/pkgconfig
71 71
 
72 72
 
73 73
 %changelog
74
+*       Mon Oct 04 2016 ChangLee <changLee@vmware.com> 3.25-2
75
+-       Modified %check
74 76
 *       Tue Jul 05 2016 Anish Swaminathan <anishs@vmware.com> 3.25-1
75 77
 -       Upgrade to 3.25
76 78
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.21-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Usermode tools for VmWare virts
2 2
 Name:           open-vm-tools
3 3
 Version:        10.0.5
4
-Release:        12%{?dist}
4
+Release:        13%{?dist}
5 5
 License:        LGPLv2+
6 6
 URL:            https://github.com/vmware/open-vm-tools
7 7
 Group:          Applications/System
... ...
@@ -67,6 +67,9 @@ chmod -x %{buildroot}/etc/pam.d/vmtoolsd
67 67
 # Move vm-support to /usr/bin
68 68
 mv %{buildroot}%{_sysconfdir}/vmware-tools/vm-support %{buildroot}%{_bindir}
69 69
 
70
+%check
71
+make %{?_smp_mflags} check
72
+
70 73
 %post
71 74
 /sbin/ldconfig
72 75
 %systemd_post vgauthd.service vmtoolsd.service
... ...
@@ -101,6 +104,8 @@ fi
101 101
 
102 102
 
103 103
 %changelog
104
+*       Mon Oct 04 2016 ChangLee <changLee@vmware.com> 10.0.5-13
105
+-       Modified %check
104 106
 *       Thu Jun 23 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-12
105 107
 -       Avoiding recustomization of hostname, bug#1678537.
106 108
 *       Mon Jun 13 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-11