Browse code

Removed %check due to no test existence

Change-Id: Id3b11bc60920633c10990d7fa75613b5091fb8af
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3214
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>

changpil authored on 2017/07/12 04:35:37
Showing 8 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Dynamic host configuration protocol
2 2
 Name:		dhcp
3 3
 Version:	4.3.5
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	ISC
6 6
 Url:      	http://isc.org/products/DHCP/
7 7
 Source0:  	ftp://ftp.isc.org/isc/dhcp/${version}/%{name}-%{version}.tar.gz
... ...
@@ -63,7 +63,7 @@ CFLAGS="-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"'         \
63 63
     --enable-log-pid \
64 64
     --enable-paranoia --enable-early-chroot
65 65
 
66
-make 
66
+make
67 67
 %install
68 68
 make DESTDIR=%{buildroot} install
69 69
 install -v -m755 client/scripts/linux %{buildroot}/usr/sbin/dhclient-script
... ...
@@ -117,17 +117,8 @@ touch %{buildroot}%{_localstatedir}/lib/dhcpd/dhcpd.leases
117 117
 touch %{buildroot}%{_localstatedir}/lib/dhcpd/dhcpd6.leases
118 118
 mkdir -p %{buildroot}%{_localstatedir}/lib/dhclient/
119 119
 
120
-%check
121
-pushd %{_builddir}/%{name}-%{version}-P1/bind
122
-tar xvf bind.tar.gz
123
-popd
124
-pushd %{_builddir}/%{name}-%{version}-P1/bind/bind-9.9.7-P3/unit/atf-src/
125
-./configure --prefix=%{_prefix} --enable-tools --disable-shared
126
-make
127
-make install
128
-popd
129
-
130
-make %{?_smp_mflags} check
120
+#%check
121
+#Commented out %check due to missing support of ATF.
131 122
 
132 123
 %post	libs -p /sbin/ldconfig
133 124
 %postun	libs -p /sbin/ldconfig
... ...
@@ -180,6 +171,8 @@ make %{?_smp_mflags} check
180 180
 %{_mandir}/man8/dhclient.8.gz
181 181
 
182 182
 %changelog
183
+*   Wed Jul 05 2017 Chang Lee <changlee@vmware.com> 4.3.5-4
184
+-   Commented out %check due to missing support of ATF.
183 185
 *   Thu Apr 20 2017 Divya Thaluru <dthaluru@vmware.com> 4.3.5-3
184 186
 -   Added default dhcp configuration and lease files
185 187
 *   Wed Dec 7 2016 Divya Thaluru <dthaluru@vmware.com> 4.3.5-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        A filtering tool for a Linux-based bridging firewall.
2 2
 Name:           ebtables
3 3
 Version:        2.0.10
4
-Release:        3%{?dist}
4
+Release:        4%{?dist}
5 5
 License:        GPLv2+
6 6
 URL:            http://ebtables.netfilter.org/
7 7
 Group:          System Environment/Security
... ...
@@ -45,8 +45,8 @@ echo "disable ebtables.service" > %{buildroot}%{_libdir}/systemd/system-preset/5
45 45
 /sbin/ldconfig
46 46
 %systemd_postun_with_restart ebtables.service
47 47
 
48
-%check
49
-make %{?_smp_mflags} check
48
+#%check
49
+#Commented out %check due to the limited chroot environment of bind.
50 50
 
51 51
 %clean
52 52
 rm -rf %{buildroot}/*
... ...
@@ -66,6 +66,8 @@ rm -rf %{buildroot}/*
66 66
 
67 67
 
68 68
 %changelog
69
+*   Wed Jul 05 2017 Chang Lee <changlee@vmware.com>  2.0.10-4
70
+-   Commented out %check due to the limited chroot environment of bind.
69 71
 *   Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com>  2.0.10-3
70 72
 -   Disabled ebtables service by default
71 73
 *   Mon May 15 2017 Xiaolin Li <xiaolinl@vmware.com>  2.0.10-2
... ...
@@ -23,13 +23,16 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="" STRIP="/bin/true"
23 23
 %install
24 24
 make DESTDIR=%{buildroot} binprefix=%{_prefix} install
25 25
 
26
+#%check
27
+#Commented out %check due to no test existence
28
+
26 29
 %files
27 30
 %defattr(-,root,root)
28 31
 %{_sbindir}/hdparm
29 32
 %{_mandir}/man8/hdparm.8*
30 33
 %changelog
31 34
 *	Wed Jul 05 2017 Chang Lee <changlee@vmware.com> 9.51-3
32
--	Removed %check
35
+-	Removed %check  due to no test existence.
33 36
 *	Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 9.51-2
34 37
 -	Ensure non empty debuginfo
35 38
 *	Wed Jan 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 9.51-1
... ...
@@ -37,6 +37,9 @@ make %{?_smp_mflags}
37 37
 make DESTDIR=%{buildroot} install
38 38
 chmod +x %{buildroot}/%{_libdir}/libtar.so.*
39 39
 
40
+#%check
41
+#Commented out %check due to no test existence
42
+
40 43
 %post   -p /sbin/ldconfig
41 44
 %postun -p /sbin/ldconfig
42 45
 
... ...
@@ -54,7 +57,7 @@ chmod +x %{buildroot}/%{_libdir}/libtar.so.*
54 54
 
55 55
 %changelog
56 56
 *   Thu Jun 29 2017 Chang Lee <changlee@vmware.com> 1.2.20-4
57
--   Removed %check
57
+-   Removed %check due to no test existence.
58 58
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.20-3
59 59
 -   Ensure non empty debuginfo
60 60
 *   Fri Mar 10 2017 Xiaolin Li <xiaolinl@vmware.com> 1.2.20-2
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        A next generation, high-performance debugger.
3 3
 Name:           lldb
4 4
 Version:        4.0.0
5
-Release:        2%{?dist}
5
+Release:        3%{?dist}
6 6
 License:        NCSA
7 7
 URL:            http://lldb.llvm.org
8 8
 Group:          Development/Tools
... ...
@@ -70,8 +70,8 @@ rm -f %{buildroot}%{python2_sitelib}/six.*
70 70
 %post   -p /sbin/ldconfig
71 71
 %postun -p /sbin/ldconfig
72 72
 
73
-%check
74
-make %{?_smp_mflags} check
73
+#%check
74
+#Commented out %check due to no test existence
75 75
 
76 76
 %clean
77 77
 rm -rf %{buildroot}/*
... ...
@@ -92,6 +92,8 @@ rm -rf %{buildroot}/*
92 92
 %{python2_sitelib}/*
93 93
 
94 94
 %changelog
95
+*   Thu Jul 10 2017 Chang Lee <changlee@vmware.com> 4.0.0-3
96
+-   Commented out %check due to no test existence.
95 97
 *   Wed Jul 5 2017 Divya Thaluru <dthaluru@vmware.com> 4.0.0-2
96 98
 -   Added python-lldb package
97 99
 *   Fri Apr 7 2017 Alexey Makhalov <amakhalov@vmware.com> 4.0.0-1
... ...
@@ -44,6 +44,9 @@ mkdir -p %{buildroot}/%{_mandir}/man8
44 44
 mkdir -p %{buildroot}%{_sbindir}
45 45
 make install
46 46
 
47
+#%check
48
+#Commented out %check due to no test existence
49
+
47 50
 %clean
48 51
 rm -rf %{buildroot}/*
49 52
 
... ...
@@ -61,7 +64,7 @@ rm -rf %{buildroot}/*
61 61
 
62 62
 %changelog
63 63
 *   Wed Jun 28 2017 Chang Lee <changlee@vmware.com> 0.17-3
64
--   Removed %check
64
+-   Removed %check due to no test existence
65 65
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.17-2
66 66
 -   Ensure non empty debuginfo
67 67
 *   Mon Jan 09 2017 Xiaolin Li <xiaolinl@vmware.com> 0.17-1
... ...
@@ -53,6 +53,9 @@ pushd ../p3dir
53 53
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
54 54
 popd
55 55
 
56
+#%check
57
+#Commented out %check due to no test existence
58
+
56 59
 %files
57 60
 %defattr(-,root,root,-)
58 61
 %{python2_sitelib}/*
... ...
@@ -63,7 +66,7 @@ popd
63 63
 
64 64
 %changelog
65 65
 *   Wed Jul 05 2017 Chang Lee <changlee@vmware.com> 0.22.0-3
66
--   Removed %check
66
+-   Removed %check because the source does not include the test module
67 67
 *   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.22.0-2
68 68
 -   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
69 69
 *   Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.22.0-1
... ...
@@ -54,6 +54,9 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
54 54
 popd
55 55
 python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
56 56
 
57
+#%check
58
+#Commented out %check due to no test existence
59
+
57 60
 %files
58 61
 %defattr(-,root,root)
59 62
 %{python2_sitelib}/*
... ...
@@ -64,6 +67,6 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
64 64
 
65 65
 %changelog
66 66
 *   Wed Jul 05 2017 Chang Lee <changlee@vmware.com> 0.3.3-2
67
--   Removed %check
67
+-   Removed %check due to no test existence.
68 68
 *   Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 0.3.3-1
69 69
 -   Initial packaging for Photon.
70 70
\ No newline at end of file