Change-Id: Ifa95683aa7c4d6e820f2bfc2c33ff4b89b6e2ca8
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1409
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: michellew <michellew@vmware.com>
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: PostgreSQL database engine |
2 | 2 |
Name: postgresql |
3 | 3 |
Version: 9.5.3 |
4 |
-Release: 3%{?dist} |
|
4 |
+Release: 4%{?dist} |
|
5 | 5 |
License: PostgreSQL |
6 | 6 |
URL: www.postgresql.org |
7 | 7 |
Group: Applications/Databases |
... | ... |
@@ -68,7 +68,11 @@ make install DESTDIR=%{buildroot} |
68 | 68 |
cd contrib && make install DESTDIR=%{buildroot} |
69 | 69 |
|
70 | 70 |
%{_fixperms} %{buildroot}/* |
71 |
+ |
|
71 | 72 |
%check |
73 |
+chown -Rv nobody . |
|
74 |
+sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check" |
|
75 |
+ |
|
72 | 76 |
%post -p /sbin/ldconfig |
73 | 77 |
%postun -p /sbin/ldconfig |
74 | 78 |
%clean |
... | ... |
@@ -158,8 +162,10 @@ rm -rf %{buildroot}/* |
158 | 158 |
%{_datadir}/postgresql/psqlrc.sample |
159 | 159 |
|
160 | 160 |
%changelog |
161 |
-* Thu May 26 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-3 |
|
162 |
-- Add tzdata to buildrequires and requires. |
|
161 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 9.5.3-4 |
|
162 |
+- Modified %check |
|
163 |
+* Thu May 26 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-3 |
|
164 |
+- Add tzdata to buildrequires and requires. |
|
163 | 165 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 9.5.3-2 |
164 | 166 |
- GA - Bump release of all rpms |
165 | 167 |
* Fri May 20 2016 Divya Thaluru <dthaluru@vmware.com> 9.5.3-1 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Programs for monitoring processes |
2 | 2 |
Name: procps-ng |
3 | 3 |
Version: 3.3.11 |
4 |
-Release: 3%{?dist} |
|
4 |
+Release: 4%{?dist} |
|
5 | 5 |
License: GPLv2 |
6 | 6 |
URL: http://procps.sourceforge.net/ |
7 | 7 |
Group: Applications/System |
... | ... |
@@ -40,6 +40,10 @@ ln -sfv ../..%{_lib}/$(readlink %{buildroot}/%{_libdir}/libprocps.so) %{buildroo |
40 | 40 |
install -vdm 755 %{buildroot}/%{_sbindir} |
41 | 41 |
ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof |
42 | 42 |
find %{buildroot} -name '*.la' -delete |
43 |
+ |
|
44 |
+%check |
|
45 |
+make %{?_smp_mflags} check |
|
46 |
+ |
|
43 | 47 |
%post -p /sbin/ldconfig |
44 | 48 |
%postun -p /sbin/ldconfig |
45 | 49 |
%files |
... | ... |
@@ -98,6 +102,8 @@ find %{buildroot} -name '*.la' -delete |
98 | 98 |
%{_libdir}/pkgconfig/libprocps.pc |
99 | 99 |
%{_libdir}/libprocps.so |
100 | 100 |
%changelog |
101 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.3.11-4 |
|
102 |
+- Modified %check |
|
101 | 103 |
* Tue Jun 21 2016 Divya Thaluru <dthaluru@vmware.com> 3.3.11-3 |
102 | 104 |
- Added patch to interpret ASCII sequence correctly |
103 | 105 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.3.11-2 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Displays information about running processes |
2 | 2 |
Name: psmisc |
3 | 3 |
Version: 22.21 |
4 |
-Release: 4%{?dist} |
|
4 |
+Release: 5%{?dist} |
|
5 | 5 |
License: GPLv2+ |
6 | 6 |
URL: http://psmisc.sourceforge.net/ |
7 | 7 |
Group: Applications/System |
... | ... |
@@ -30,14 +30,18 @@ install -vdm 755 %{buildroot}/bin |
30 | 30 |
mv -v %{buildroot}%{_bindir}/fuser %{buildroot}/bin |
31 | 31 |
mv -v %{buildroot}%{_bindir}/killall %{buildroot}/bin |
32 | 32 |
%find_lang %{name} |
33 |
+ |
|
33 | 34 |
%check |
34 |
-make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
|
35 |
+make %{?_smp_mflags} check |
|
36 |
+ |
|
35 | 37 |
%files -f %{name}.lang |
36 | 38 |
%defattr(-,root,root) |
37 | 39 |
/bin/* |
38 | 40 |
%{_bindir}/* |
39 | 41 |
%{_mandir}/*/* |
40 | 42 |
%changelog |
43 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 22.21-5 |
|
44 |
+- Modified %check |
|
41 | 45 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 22.21-4 |
42 | 46 |
- GA - Bump release of all rpms |
43 | 47 |
* Thu Apr 28 2016 Anish Swaminathan <anishs@vmware.com> 22.21-3 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: The Python Cryptography Toolkit. |
2 | 2 |
Name: pycrypto |
3 | 3 |
Version: 2.7a1 |
4 |
-Release: 2%{?dist} |
|
4 |
+Release: 3%{?dist} |
|
5 | 5 |
License: UNKNOWN |
6 | 6 |
URL: https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.7a1.tar.gz |
7 | 7 |
Source: %{name}-%{version}.tar.gz |
... | ... |
@@ -24,11 +24,16 @@ python setup.py build |
24 | 24 |
%install |
25 | 25 |
python setup.py install -O1 --root=%{buildroot} --prefix=/usr |
26 | 26 |
|
27 |
+%check |
|
28 |
+python setup.py test |
|
29 |
+ |
|
27 | 30 |
%files |
28 | 31 |
%defattr(-,root,root) |
29 | 32 |
%{_libdir}/python2.7/* |
30 | 33 |
|
31 | 34 |
%changelog |
35 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 2.7a1-3 |
|
36 |
+- Modified %check |
|
32 | 37 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.7a1-2 |
33 | 38 |
- GA - Bump release of all rpms |
34 | 39 |
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 2.7a1-1 |
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
|
3 | 3 |
Name: pygobject |
4 | 4 |
Version: 3.10.2 |
5 |
-Release: 2%{?dist} |
|
5 |
+Release: 3%{?dist} |
|
6 | 6 |
Summary: Python Bindings for GObject |
7 | 7 |
Group: Development/Languages |
8 | 8 |
License: LGPLv2+ |
... | ... |
@@ -33,6 +33,9 @@ make |
33 | 33 |
%install |
34 | 34 |
make install DESTDIR=%{buildroot} |
35 | 35 |
|
36 |
+%check |
|
37 |
+make %{?_smp_mflags} check |
|
38 |
+ |
|
36 | 39 |
%clean |
37 | 40 |
rm -rf %{buildroot} |
38 | 41 |
|
... | ... |
@@ -46,6 +49,8 @@ rm -rf %{buildroot} |
46 | 46 |
%{_includedir}/* |
47 | 47 |
|
48 | 48 |
%changelog |
49 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.10.2-3 |
|
50 |
+- Modified %check |
|
49 | 51 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.10.2-2 |
50 | 52 |
- GA - Bump release of all rpms |
51 | 53 |
* Sat Jan 24 2015 Touseef Liaqat <tliaqat@vmware.com> 7.19.5.1 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Interface for Python to call C code |
2 | 2 |
Name: python-cffi |
3 | 3 |
Version: 1.5.2 |
4 |
-Release: 2%{?dist} |
|
4 |
+Release: 3%{?dist} |
|
5 | 5 |
Url: https://pypi.python.org/pypi/cffi |
6 | 6 |
License: MIT |
7 | 7 |
Group: Development/Languages/Python |
... | ... |
@@ -30,11 +30,16 @@ python setup.py build |
30 | 30 |
%install |
31 | 31 |
python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
32 | 32 |
|
33 |
+%check |
|
34 |
+python setup.py test |
|
35 |
+ |
|
33 | 36 |
%files |
34 | 37 |
%defattr(-,root,root) |
35 | 38 |
%{python_sitelib}/* |
36 | 39 |
|
37 | 40 |
%changelog |
41 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 1.5.2-3 |
|
42 |
+- Modified %check |
|
38 | 43 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.5.2-2 |
39 | 44 |
- GA - Bump release of all rpms |
40 | 45 |
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.2-1 |
... | ... |
@@ -1,6 +1,6 @@ |
1 | 1 |
Name: python-configobj |
2 | 2 |
Version: 5.0.6 |
3 |
-Release: 2%{?dist} |
|
3 |
+Release: 3%{?dist} |
|
4 | 4 |
Summary: Config file reading, writing and validation |
5 | 5 |
License: BSD |
6 | 6 |
Group: Development/Languages/Python |
... | ... |
@@ -28,11 +28,16 @@ python setup.py build |
28 | 28 |
%install |
29 | 29 |
python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
30 | 30 |
|
31 |
+%check |
|
32 |
+python validate.py |
|
33 |
+ |
|
31 | 34 |
%files |
32 | 35 |
%defattr(-,root,root,-) |
33 | 36 |
%{python_sitelib}/* |
34 | 37 |
|
35 | 38 |
%changelog |
39 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 5.0.6-3 |
|
40 |
+- Modified %check |
|
36 | 41 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 5.0.6-2 |
37 | 42 |
- GA - Bump release of all rpms |
38 | 43 |
* Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Python cryptography library |
2 | 2 |
Name: python-cryptography |
3 | 3 |
Version: 1.2.3 |
4 |
-Release: 2%{?dist} |
|
4 |
+Release: 3%{?dist} |
|
5 | 5 |
Url: https://cryptography.io |
6 | 6 |
License: ASL 2.0 |
7 | 7 |
Group: Development/Languages/Python |
... | ... |
@@ -32,11 +32,27 @@ python setup.py build |
32 | 32 |
%install |
33 | 33 |
python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
34 | 34 |
|
35 |
+%check |
|
36 |
+openssl req \ |
|
37 |
+ -new \ |
|
38 |
+ -newkey rsa:4096 \ |
|
39 |
+ -days 365 \ |
|
40 |
+ -nodes \ |
|
41 |
+ -x509 \ |
|
42 |
+ -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=photon.com" \ |
|
43 |
+ -keyout photon.key \ |
|
44 |
+ -out photon.cert |
|
45 |
+openssl rsa -in photon.key -out photon.pem |
|
46 |
+mv photon.pem /etc/ssl/certs |
|
47 |
+python setup.py test |
|
48 |
+ |
|
35 | 49 |
%files |
36 | 50 |
%defattr(-,root,root) |
37 | 51 |
%{python_sitelib}/* |
38 | 52 |
|
39 | 53 |
%changelog |
54 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 1.2.3-3 |
|
55 |
+- Modified %check |
|
40 | 56 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.3-2 |
41 | 57 |
- GA - Bump release of all rpms |
42 | 58 |
* Mon Mar 07 2016 Anish Swaminathan <anishs@vmware.com> 1.2.3-1 |
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
|
3 | 3 |
Name: python-iniparse |
4 | 4 |
Version: 0.4 |
5 |
-Release: 2%{?dist} |
|
5 |
+Release: 3%{?dist} |
|
6 | 6 |
Summary: Python Module for Accessing and Modifying Configuration Data in INI files |
7 | 7 |
Group: Development/Libraries |
8 | 8 |
License: MIT |
... | ... |
@@ -37,6 +37,16 @@ rm -rf $RPM_BUILD_ROOT |
37 | 37 |
chmod 644 $RPM_BUILD_ROOT//usr/share/doc/iniparse-%{version}/index.html |
38 | 38 |
mv $RPM_BUILD_ROOT/usr/share/doc/iniparse-%{version} $RPM_BUILD_ROOT/usr/share/doc/python-iniparse-%{version} |
39 | 39 |
|
40 |
+%check |
|
41 |
+cp -r iniparse/ tests/ |
|
42 |
+cd tests |
|
43 |
+python test_misc.py |
|
44 |
+python test_tidy.py |
|
45 |
+python test_fuzz.py |
|
46 |
+python test_ini.py |
|
47 |
+python test_multiprocessing.py |
|
48 |
+python test_unicode.py |
|
49 |
+ |
|
40 | 50 |
%clean |
41 | 51 |
rm -rf $RPM_BUILD_ROOT |
42 | 52 |
|
... | ... |
@@ -50,6 +60,8 @@ rm -rf $RPM_BUILD_ROOT |
50 | 50 |
|
51 | 51 |
|
52 | 52 |
%changelog |
53 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 0.4-3 |
|
54 |
+- Modified %check |
|
53 | 55 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.4-2 |
54 | 56 |
- GA - Bump release of all rpms |
55 | 57 |
* Sat Jun 12 2010 Paramjit Oberoi <param@cs.wisc.edu> - 0.4-1 |
... | ... |
@@ -1,6 +1,6 @@ |
1 | 1 |
Name: python-ipaddr |
2 | 2 |
Version: 2.1.11 |
3 |
-Release: 2%{?dist} |
|
3 |
+Release: 3%{?dist} |
|
4 | 4 |
Url: https://github.com/google/ipaddr-py |
5 | 5 |
Summary: Google's Python IP address manipulation library |
6 | 6 |
License: Apache2 |
... | ... |
@@ -29,11 +29,16 @@ python setup.py build |
29 | 29 |
%install |
30 | 30 |
python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
31 | 31 |
|
32 |
+%check |
|
33 |
+python ipaddr_test.py |
|
34 |
+ |
|
32 | 35 |
%files |
33 | 36 |
%defattr(-,root,root) |
34 | 37 |
%{python_sitelib}/* |
35 | 38 |
|
36 | 39 |
%changelog |
40 |
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 2.1.11-3 |
|
41 |
+- Modified %check |
|
37 | 42 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.11-2 |
38 | 43 |
- GA - Bump release of all rpms |
39 | 44 |
* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> |