Browse code

python: Bump up specs for python update

Change-Id: I1387eb816b9b5118c146c10fbb4b52be5d571132
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/18515
Reviewed-by: <psinghchauha@vmware.com>
Reviewed-by: Tapas Kundu <tkundu@vmware.com>
Tested-by: Tapas Kundu <tkundu@vmware.com>

Prashant S Chauhan authored on 2022/11/02 13:49:12
Showing 18 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,13 @@
0
+diff --git a/setup.py b/setup.py
1
+index babc7f2..c4abbcd 100755
2
+--- a/setup.py
3
+@@ -109,8 +109,6 @@ for dirprefix in PREFIX_TUPLE:
4
+                        'images/helloworld.jpg',
5
+                        'images/highlighter.png',
6
+                        'images/highlight.jpg',
7
+-                       'images/latexmath_source.png',
8
+-                       'images/logo_asciidoc3.png',
9
+                        'images/redsquare.jpg',
10
+                        'images/smallnew.png',
11
+                        'images/tiger.png', ]))
... ...
@@ -2,18 +2,20 @@
2 2
 
3 3
 Summary:        AsciiDoc is a human readable text document format
4 4
 Name:           asciidoc3
5
-Version:        3.2.0
6
-Release:        2%{?dist}
5
+Version:        3.2.3
6
+Release:        1%{?dist}
7 7
 License:        GPLv2+
8 8
 URL:            https://gitlab.com/asciidoc3/asciidoc3
9 9
 Group:          System Environment/Development
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 
13
-Source0: https://asciidoc3.org/%{name}-%{version}.tar.gz
14
-%define sha512 %{name}=31ea277aeb037b7b217e17a2ba54c86b4c7cf923669538b6732120fccd6582097815e5d5ea832ea39c3514068887d4dc5ecafc0d65359794d729cf4711c8e693
13
+Source0:        https://asciidoc3.org/%{name}-%{version}.tar.gz
14
+%define sha512 %{name}=926f367b1740a40a03beb9c45a05de855e69d8c2ac9b9a66c19dd21f65f8250b3fad02b283f7f8b2fb7ea131d4836d5aa623647e1931b682a9a9e91f62863f6c
15
+Patch0:         asciidoc3-py311.patch
15 16
 
16 17
 BuildRequires:  python3-devel
18
+BuildRequires:  python3-pip
17 19
 BuildRequires:  python3-setuptools
18 20
 
19 21
 Requires:       python3-setuptools
... ...
@@ -33,7 +35,7 @@ both the AsciiDoc3 source file syntax and the backend output markups
33 33
 and extended by the user.
34 34
 
35 35
 %prep
36
-%autosetup -p1
36
+%autosetup -p1 -n %{name}-v%{version}
37 37
 
38 38
 %build
39 39
 %{py3_build}
... ...
@@ -55,6 +57,8 @@ rm -rf %{buildroot}/*
55 55
 %{_bindir}/*
56 56
 
57 57
 %changelog
58
+* Mon Oct 31 2022 Prashant S Chauhan <psinghchauha@vmware.com> 3.2.3-1
59
+- Update to 3.2.3
58 60
 * Thu Sep 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.2.0-2
59 61
 - Provde asciidoc from asciidoc3
60 62
 * Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 3.2.0-1
... ...
@@ -1,15 +1,14 @@
1
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2 1
 Summary:        C extensions for Python3
3 2
 Name:           cython3
4 3
 Version:        0.29.32
5 4
 Release:        1%{?dist}
6 5
 Group:          Development/Libraries
6
+Vendor:         VMware, Inc.
7
+Distribution:   Photon
7 8
 License:        Apache License
8 9
 URL:            http://cython.org/
9 10
 Source0:        https://github.com/cython/cython/archive/Cython-%{version}.tar.gz
10 11
 %define sha512  Cython=55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f
11
-Vendor:         VMware, Inc.
12
-Distribution:   Photon
13 12
 BuildRequires:  python3
14 13
 BuildRequires:  python3-devel
15 14
 BuildRequires:  python3-libs
... ...
@@ -23,6 +22,7 @@ It makes writing C extensions for Python as easy as Python itself.
23 23
 
24 24
 %prep
25 25
 %autosetup -n cython-%{version}
26
+
26 27
 %build
27 28
 python3 setup.py build
28 29
 
... ...
@@ -1,6 +1,6 @@
1 1
 Summary:        A JavaScript runtime built on Chrome's V8 JavaScript engine.
2 2
 Name:           nodejs
3
-Version:        14.16.0
3
+Version:        18.10.0
4 4
 Release:        1%{?dist}
5 5
 License:        MIT
6 6
 Group:          Applications/System
... ...
@@ -8,11 +8,11 @@ Vendor:         VMware, Inc.
8 8
 Distribution:   Photon
9 9
 URL:            https://github.com/nodejs/node
10 10
 Source0:        https://nodejs.org/download/release/v%{version}/node-v%{version}.tar.gz
11
-%define         sha1 node=d5d92abc160dc4ca4a27a6d43bcf78c42b7aff06
12
-BuildRequires:  coreutils >= 8.22, zlib
13
-BuildRequires:  python3
11
+%define         sha512 node=30a408b8f2ae41646f2ce3018862105ee4bd7913dd3cbbe8af8fc4d70cf64ac820342db9becff42c5a2b6f71d8dc3b539f580833f975b46628ad159712a8b109
12
+BuildRequires:  coreutils, zlib
13
+BuildRequires:  python3-devel
14 14
 BuildRequires:  which
15
-Requires:       (coreutils >= 8.22 or toybox)
15
+Requires:       (coreutils or toybox)
16 16
 Requires:       python3
17 17
 
18 18
 %description
... ...
@@ -28,16 +28,17 @@ The nodejs-devel package contains libraries, header files and documentation
28 28
 for developing applications that use nodejs.
29 29
 
30 30
 %prep
31
-%setup -q -n node-v%{version}
31
+%autosetup -n node-%{version}
32 32
 
33 33
 %build
34
-sh configure --prefix=%{_prefix}
35
-
34
+%{__python3} configure.py \
35
+             --enable-lto \
36
+             --prefix=%{_prefix} \
37
+             --libdir=%{_libdir}
36 38
 make %{?_smp_mflags}
37 39
 
38 40
 %install
39
-
40
-make install DESTDIR=$RPM_BUILD_ROOT
41
+make %{?_smp_mflags} install DESTDIR=%{buildroot}
41 42
 rm -fr %{buildroot}%{_libdir}/dtrace/  # No systemtap support.
42 43
 install -m 755 -d %{buildroot}%{_libdir}/node_modules/
43 44
 install -m 755 -d %{buildroot}%{_datadir}/%{name}
... ...
@@ -49,7 +50,7 @@ for FILE in .gitmodules .gitignore .npmignore .travis.yml \*.py[co]; do
49 49
 done
50 50
 
51 51
 %check
52
-make cctest
52
+make %{?_smp_mflags} cctest
53 53
 
54 54
 %post -p /sbin/ldconfig
55 55
 
... ...
@@ -68,31 +69,33 @@ make cctest
68 68
 %{_datadir}/systemtap/tapset/node.stp
69 69
 
70 70
 %changelog
71
-*   Thu Mar 18 2021 Piyush Gupta <gpiyush@vmware.com> 14.16.0-1
72
--   Upgrade to 14.16.0
73
-*   Tue Oct 13 2020 Tapas Kundu <tkundu@vmware.com> 14.13.1-1
74
--   Update to 14.13.1 to build with python3.9
75
-*   Mon Jul 06 2020 Tapas Kundu <tkundu@vmware.com> 14.5.0-1
76
--   Update nodejs
77
-*   Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 10.15.2-2
78
--   Build with python2
79
-*   Thu Apr 25 2019 Ankit Jain <ankitja@vmware.com> 10.15.2-1
80
--   Updated to 10.15.2
81
-*   Thu Jan 10 2019 Alexey Makhalov <amakhalov@vmware.com> 10.14.1-2
82
--   Added BuildRequires python2, which
83
-*   Tue Jan 08 2019 Siju Maliakkal <smaliakkal@vmware.com> 10.14.1-1
84
--   Upgrade to 10.14.1 LTS
85
-*   Thu Sep 20 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 9.11.2-1
86
--   Updated to version 9.11.2
87
-*   Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 9.9.0-1
88
--   Updated to version 9.9.0
89
-*   Wed Feb 14 2018 Xiaolin Li <xiaolinl@vmware.com> 8.3.0-1
90
--   Updated to version 8.3.0
91
-*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 7.7.4-4
92
--   Remove BuildArch
93
-*   Mon Sep 18 2017 Alexey Makhalov <amakhalov@vmware.com> 7.7.4-3
94
--   Requires coreutils or toybox
95
-*   Fri Jul 14 2017 Chang Lee <changlee@vmware.com> 7.7.4-2
96
--   Updated %check
97
-*   Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 7.7.4-1
98
--   Initial packaging for Photon
71
+* Mon Oct 10 2022 Prashant S Chauhan <psinghchauha@vmware.com> 18.10.0-1
72
+- Update to 18.10.0 to compile with python 3.11
73
+* Thu Mar 18 2021 Piyush Gupta <gpiyush@vmware.com> 14.16.0-1
74
+- Upgrade to 14.16.0
75
+* Tue Oct 13 2020 Tapas Kundu <tkundu@vmware.com> 14.13.1-1
76
+- Update to 14.13.1 to build with python3.9
77
+* Mon Jul 06 2020 Tapas Kundu <tkundu@vmware.com> 14.5.0-1
78
+- Update nodejs
79
+* Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 10.15.2-2
80
+- Build with python2
81
+* Thu Apr 25 2019 Ankit Jain <ankitja@vmware.com> 10.15.2-1
82
+- Updated to 10.15.2
83
+* Thu Jan 10 2019 Alexey Makhalov <amakhalov@vmware.com> 10.14.1-2
84
+- Added BuildRequires python2, which
85
+* Tue Jan 08 2019 Siju Maliakkal <smaliakkal@vmware.com> 10.14.1-1
86
+- Upgrade to 10.14.1 LTS
87
+* Thu Sep 20 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 9.11.2-1
88
+- Updated to version 9.11.2
89
+* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 9.9.0-1
90
+- Updated to version 9.9.0
91
+* Wed Feb 14 2018 Xiaolin Li <xiaolinl@vmware.com> 8.3.0-1
92
+- Updated to version 8.3.0
93
+* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 7.7.4-4
94
+- Remove BuildArch
95
+* Mon Sep 18 2017 Alexey Makhalov <amakhalov@vmware.com> 7.7.4-3
96
+- Requires coreutils or toybox
97
+* Fri Jul 14 2017 Chang Lee <changlee@vmware.com> 7.7.4-2
98
+- Updated %check
99
+* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 7.7.4-1
100
+- Initial packaging for Photon
99 101
deleted file mode 100644
... ...
@@ -1,10 +0,0 @@
1
-+++ b/setup.py	2020-09-10 23:10:37.801129749 +0000
2
-@@ -980,6 +980,7 @@
3
-     elif len(sys.argv) > 1 and sys.argv[1] == 'docstrings-sources':
4
-         gen_docstrings_sources()
5
-     else:
6
-+        convert_docstrings()
7
-         setup_args['data_files'] = get_data_files()
8
-         if 'PYCURL_RELEASE' in os.environ and os.environ['PYCURL_RELEASE'].lower() in ['1', 'yes', 'true']:
9
-             split_extension_source = False
... ...
@@ -1,6 +1,6 @@
1 1
 Name:           pycurl3
2
-Version:        7.43.0.6
3
-Release:        4%{?dist}
2
+Version:        7.45.1
3
+Release:        1%{?dist}
4 4
 Summary:        A Python interface to libcurl
5 5
 Group:          Development/Languages
6 6
 License:        LGPLv2+ and an MIT/X
... ...
@@ -8,21 +8,21 @@ URL:            http://pycurl.sourceforge.net
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 
11
-Source0:        http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
12
-%define sha512 pycurl=ea0160794d30758c8163f1f82fc6315c27f2cfd1b9981a7c349a48cee892fc2307e3edd25456378f1a780bc134fca199d8d6431310fd47b2ca6126a8822fea40
13
-
14
-Patch0:         add_convert_docstring.patch
11
+Source0: http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
12
+%define sha512 pycurl=05639d484aac6d6688677589e391975158c5ef778456a47df575ad13fb8bd0db67ff8f5a39bdd99d82a67926aca421c01e687eec9d4fd87f32822b492b429635
15 13
 
16 14
 %if 0%{?with_check}
17
-Patch1:         Fix_makecheck.patch
15
+Patch0: Fix_makecheck.patch
18 16
 %endif
19 17
 
20 18
 BuildRequires:  openssl-devel
21 19
 BuildRequires:  curl-devel
22 20
 BuildRequires:  python3-devel
21
+
23 22
 %if 0%{?with_check}
24 23
 BuildRequires: python3-setuptools
25 24
 BuildRequires: vsftpd
25
+BuildRequires: curl-libs
26 26
 BuildRequires: python3-xml
27 27
 %endif
28 28
 
... ...
@@ -44,15 +44,10 @@ Documentation and examples for pycurl
44 44
 
45 45
 %prep
46 46
 # Using autosetup is not feasible
47
-%setup -cqn pycurl-%{version}
47
+%autosetup -p1 -cn pycurl-%{version}
48 48
 mv pycurl-*/* .
49 49
 rm -r pycurl-*
50 50
 rm -f doc/*.xml_validity
51
-#chmod a-x examples/*
52
-%patch0 -p1
53
-%if 0%{?with_check}
54
-%patch1 -p1
55
-%endif
56 51
 # removing prebuilt-binaries
57 52
 rm -f tests/fake-curl/libcurl/*.so
58 53
 
... ...
@@ -86,6 +81,8 @@ rm -rf %{buildroot}
86 86
 %doc COPYING-LGPL COPYING-MIT RELEASE-NOTES.rst ChangeLog README.rst examples doc tests
87 87
 
88 88
 %changelog
89
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 7.45.1-1
90
+- Automatic Version Bump
89 91
 * Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 7.43.0.6-4
90 92
 - Bump up release for openssl
91 93
 * Tue Nov 24 2020 Tapas Kundu <tkundu@vmware.com> 7.43.0.6-3
... ...
@@ -1,6 +1,6 @@
1 1
 Name:           python3-pygobject
2
-Version:        3.38.0
3
-Release:        4%{?dist}
2
+Version:        3.42.2
3
+Release:        1%{?dist}
4 4
 Summary:        Python Bindings for GObject
5 5
 Group:          Development/Languages
6 6
 License:        LGPLv2+
... ...
@@ -9,7 +9,7 @@ Distribution:   Photon
9 9
 URL:            https://pypi.org/project/PyGObject
10 10
 
11 11
 Source0:        https://pypi.org/project/PyGObject/#files/PyGObject-%{version}.tar.gz
12
-%define sha512  PyGObject=92a53824688d91516ccadeec42fd72c2598afb2d26cd46229a88e6b2fbf915bd7cab75d4cfd63594f54b7277d8f209e1dd225c4b87df2d2615abf7b9d8dd3ddf
12
+%define sha512  PyGObject=ba48ba470c78d76f4090460df286d926e15c4063374a1d3afa89dd374230a042aca53d864fc0efaf67efdba5723fe15440d34888a0b45c97d73c5c4cfe17559c
13 13
 
14 14
 %if 0%{?with_check}
15 15
 Patch0:         pygobject-makecheck-fixes.patch
... ...
@@ -22,10 +22,8 @@ Requires:       glib
22 22
 BuildRequires:  python3-setuptools
23 23
 BuildRequires:  glib-devel
24 24
 BuildRequires:  python3-devel
25
-BuildRequires:  python3-libs
26 25
 BuildRequires:  gobject-introspection-devel
27 26
 BuildRequires:  which
28
-BuildRequires:  python3
29 27
 
30 28
 %if 0%{?with_check}
31 29
 BuildRequires:  python3-gobject-introspection
... ...
@@ -78,6 +76,8 @@ rm -rf %{buildroot}
78 78
 %{_includedir}/*
79 79
 
80 80
 %changelog
81
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 3.42.2-1
82
+- Automatic Version Bump
81 83
 * Wed May 11 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.38.0-4
82 84
 - Bump version as a part of libffi upgrade
83 85
 * Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 3.38.0-3
... ...
@@ -1,8 +1,6 @@
1
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-
3 1
 Summary:        Pure Python JavaScript Translator/Interpreter.
4 2
 Name:           python3-Js2Py
5
-Version:        0.70
3
+Version:        0.71
6 4
 Release:        1%{?dist}
7 5
 License:        MIT License
8 6
 Group:          Development/Languages/Python
... ...
@@ -11,21 +9,19 @@ Distribution:   Photon
11 11
 Url:            https://pypi.python.org/pypi/Js2Py
12 12
 
13 13
 Source0:        https://files.pythonhosted.org/packages/source/J/Js2Py/Js2Py-%{version}.tar.gz
14
-%define         sha1 Js2Py=cf6cd95d87d331dec2e99747b926a3340e79e4ba
14
+%define sha512  Js2Py=32615af67d3ac237f55e2c98de399e153dbe36a30f9ca1f66a554ad8ff1016721d6121dd3123f969bc8df87f4b7585e8d6b9ca3159f82ec832a0822d44e6ae72
15 15
 
16
-BuildRequires:  python3
17
-BuildRequires:  python3-libs
18 16
 BuildRequires:  python3-devel
19 17
 BuildRequires:  python3-setuptools
20 18
 BuildRequires:  python3-setuptools_scm
21 19
 BuildRequires:  python3-six
22 20
 BuildRequires:  python3-py
21
+BuildRequires:  python3-packaging
23 22
 %if %{with_check}
24 23
 BuildRequires:  python3-pyjsparser
25 24
 %endif
26 25
 
27 26
 Requires:       python3
28
-Requires:       python3-libs
29 27
 Requires:       python3-six
30 28
 Requires:       python3-tzlocal
31 29
 Requires:       python3-pyjsparser
... ...
@@ -53,6 +49,8 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
53 53
 %{python3_sitelib}/*
54 54
 
55 55
 %changelog
56
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 0.71-1
57
+- Automatic Version Bump
56 58
 * Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 0.70-1
57 59
 - Automatic Version Bump
58 60
 * Tue Jun 16 2020 Tapas Kundu <tkundu@vmware.com> 0.66-2
... ...
@@ -1,8 +1,6 @@
1
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-
3 1
 Summary:        Pygments is a syntax highlighting package written in Python.
4 2
 Name:           python3-Pygments
5
-Version:        2.9.0
3
+Version:        2.13.0
6 4
 Release:        1%{?dist}
7 5
 License:        BSD
8 6
 Group:          Development/Languages/Python
... ...
@@ -10,7 +8,7 @@ Vendor:         VMware, Inc.
10 10
 Distribution:   Photon
11 11
 Url:            https://pypi.python.org/pypi/Pygments
12 12
 Source0:        https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
13
-%define sha1    Pygments=e0277b8dd2ebce5121a68bec62173b9e0b057742
13
+%define sha512  Pygments=d492acf112423fa997f35d6d3cae18b89bf11619c696879c6df49697dca933b6d54d7cb22907e06812e0a562f03e8ed5ccefde5247bc1c51cf2d3d69e7d65422
14 14
 BuildRequires:  python3-devel
15 15
 BuildRequires:  python3-libs
16 16
 BuildRequires:  python3-setuptools
... ...
@@ -21,7 +19,6 @@ BuildRequires:  openssl-devel
21 21
 %endif
22 22
 Requires:       python3
23 23
 Requires:       python3-setuptools
24
-Requires:       python3-libs
25 24
 BuildArch:      noarch
26 25
 
27 26
 %description
... ...
@@ -34,13 +31,13 @@ a number of output formats, presently HTML, LaTeX, RTF, SVG, all image formats t
34 34
 it is usable as a command-line tool and as a library.
35 35
 
36 36
 %prep
37
-%setup -q -n Pygments-%{version}
37
+%autosetup -n Pygments-%{version}
38 38
 
39 39
 %build
40
-python3 setup.py build
40
+%{py3_build}
41 41
 
42 42
 %install
43
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
43
+%{py3_install}
44 44
 
45 45
 %check
46 46
 #pushd ../p3dir
... ...
@@ -56,6 +53,8 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
56 56
 %{_bindir}/*
57 57
 
58 58
 %changelog
59
+*   Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 2.13.0-1
60
+-   Automatic Version Bump
59 61
 *   Fri Jun 11 2021 Piyush Gupta <gpiyush@vmware.com> 2.9.0-1
60 62
 -   Update to 2.9.0, Fixes CVE-2021-20270, CVE-2021-27291
61 63
 *   Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 2.7.2-2
62 64
deleted file mode 100644
... ...
@@ -1,11 +0,0 @@
1
-+++ b/src/twisted/python/test/test_setup.py	2018-09-13 19:25:02.451597309 +0530
2
-@@ -92,7 +92,7 @@ class OptionalDependenciesTests(TestCase
3
-         The extras need to be parsed with pkg_resources.parse_requirements(),
4
-         which returns a generator.
5
-         """
6
--        extras = dict(im_an_extra_dependency="thing")
7
-+        extras = dict(im_an_extra_dependency=["thing"])
8
-         attrs = dict(extras_require=extras)
9
-         distribution = Distribution(attrs)
10
- 
... ...
@@ -1,11 +1,13 @@
1
-+++ b/src/twisted/test/test_udp.py	2018-09-13 19:27:35.423603937 +0530
2
-@@ -553,7 +553,7 @@ class MulticastTests(unittest.TestCase):
1
+diff --git a/src/twisted/test/test_udp.py b/src/twisted/test/test_udp.py
2
+index 2d305d6..6090fa5 100644
3
+--- a/src/twisted/test/test_udp.py
4
+@@ -632,7 +632,7 @@ class MulticastTests(TestCase):
3 5
          joined.addCallback(cbPacket)
4 6
  
5 7
          def cbNoPacket(ignored):
6 8
 -            self.assertEqual(len(self.server.packets), 1)
7 9
 +            self.assertEqual(len(self.server.packets), len(self.server.packets))
10
+ 
8 11
          joined.addCallback(cbNoPacket)
9 12
  
10
-         return joined
... ...
@@ -1,21 +1,18 @@
1
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-
1
+%global debug_package %{nil}
3 2
 Summary:        An asynchronous networking framework written in Python
4 3
 Name:           python3-Twisted
5
-Version:        20.3.0
6
-Release:        2%{?dist}
4
+Version:        22.10.0
5
+Release:        1%{?dist}
7 6
 License:        MIT
8 7
 Group:          Development/Languages/Python
9 8
 Vendor:         VMware, Inc.
10 9
 Distribution:   Photon
11 10
 Url:            https://twistedmatrix.com
12
-Source0:        https://pypi.python.org/packages/source/T/Twisted/Twisted-%{version}.tar.bz2
13
-%define sha1 Twisted=915f782b902aca3ea5547ef333089961101e0871
14
-Patch0:         extra_dependency.patch
15
-Patch1:         no_packet.patch
11
+Source0:        https://pypi.python.org/packages/source/T/Twisted/Twisted-%{version}.tar.gz
12
+%define sha512  Twisted=36adac424f6776c7db870d2291713da41054e974dfac0dbc1cbd55f76915a92073bcb25d4593b82e229d154d5297c67e7ba82d808921d206c97c8024bd5431a8
13
+Patch0:         no_packet.patch
16 14
 
17 15
 BuildRequires:  python3-devel
18
-BuildRequires:  python3-libs
19 16
 BuildRequires:  python3-incremental
20 17
 BuildRequires:  python3-zope.interface
21 18
 BuildRequires:  python3-setuptools
... ...
@@ -30,7 +27,6 @@ BuildRequires:  curl-devel
30 30
 %endif
31 31
 
32 32
 Requires:       python3
33
-Requires:       python3-libs
34 33
 Requires:       python3-zope.interface
35 34
 Requires:       python3-netaddr
36 35
 Requires:       python3-incremental
... ...
@@ -39,6 +35,7 @@ Requires:       python3-hyperlink
39 39
 Requires:       python3-attrs
40 40
 Requires:       python3-PyHamcrest
41 41
 Requires:       python3-service_identity >= 18.1.0
42
+Requires:       python3-typing-extensions
42 43
 
43 44
 %description
44 45
 Twisted is an event-driven networking engine written in Python and licensed under the open source ​MIT
... ...
@@ -46,9 +43,7 @@ license. Twisted runs on Python 2 and an ever growing subset also works with Pyt
46 46
 many common network protocols, including SMTP, POP3, IMAP, SSHv2, and DNS.
47 47
 
48 48
 %prep
49
-%setup -q -n Twisted-%{version}
50
-%patch0 -p1
51
-%patch1 -p1
49
+%autosetup -p1 -n Twisted-%{version}
52 50
 
53 51
 %build
54 52
 python3 setup.py build
... ...
@@ -87,51 +82,53 @@ popd
87 87
 %{_bindir}/cftp3
88 88
 
89 89
 %changelog
90
-*   Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 20.3.0-2
91
--   Fix build with new rpm
92
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 20.3.0-1
93
--   Automatic Version Bump
94
-*   Wed Jul 08 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-5
95
--   Mass removal python2
96
-*   Sat Jun 27 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-4
97
--   Address CVE-2020-10108 and CVE-2020-10109
98
-*   Mon Jun 01 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-3
99
--   Requires service_identity
100
-*   Wed Mar 04 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-2
101
--   Fix make check
102
-*   Mon Nov 18 2019 Tapas Kundu <tkundu@vmware.com> 19.10.0-1
103
--   Updated to 19.10.0 release
104
-*   Fri Aug 30 2019 Tapas Kundu <tkundu@vmware.com> 18.7.0-3
105
--   Added requires as PyHamcrest
106
-*   Tue Oct 30 2018 Tapas Kundu <tkundu@vmware.com> 18.7.0-2
107
--   Moved build requires from subpackage
108
--   Added attrs package in requires.
109
-*   Thu Sep 13 2018 Tapas Kundu <tkundu@vmware.com> 18.7.0-1
110
--   Upgraded to release 18.7.0
111
-*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 17.5.0-3
112
--   Remove BuildArch
113
-*   Mon Sep 11 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.5.0-2
114
--   Added python-automat, python-hyperlink and its python3 version to the
115
--   requires.
116
-*   Tue Aug 29 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.5.0-1
117
--   Upgrade version
118
-*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-6
119
--   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
120
-*   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.1.0-5
121
--   Adding python3 scripts to bin directory
122
-*   Tue May 09 2017 Rongrong Qiu <rqiu@vmware.com> 17.1.0-4
123
--   Added python-constantly to the requires.
124
-*   Mon Mar 27 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-3
125
--   Added python-netaddr and python-incremental to the requires.
126
-*   Thu Mar 23 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-2
127
--   Change requires
128
-*   Wed Mar 01 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-1
129
--   Added python3 package and updated to version 17.1.0.
130
-*   Mon Oct 10 2016 ChangLee <changlee@vmware.com> 15.5.0-3
131
--   Modified %check
132
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 15.5.0-2
133
--   GA - Bump release of all rpms
134
-*   Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 15.5.0-1
135
--   Upgrade version
136
-*   Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
137
--   Initial packaging for Photon
90
+* Mon Oct 31 2022 Prashant S Chauhan <psinghchauha@vmware.com> 22.10.0-1
91
+- Update release to compile with python 3.11
92
+* Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 20.3.0-2
93
+- Fix build with new rpm
94
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 20.3.0-1
95
+- Automatic Version Bump
96
+* Wed Jul 08 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-5
97
+- Mass removal python2
98
+* Sat Jun 27 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-4
99
+- Address CVE-2020-10108 and CVE-2020-10109
100
+* Mon Jun 01 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-3
101
+- Requires service_identity
102
+* Wed Mar 04 2020 Tapas Kundu <tkundu@vmware.com> 19.10.0-2
103
+- Fix make check
104
+* Mon Nov 18 2019 Tapas Kundu <tkundu@vmware.com> 19.10.0-1
105
+- Updated to 19.10.0 release
106
+* Fri Aug 30 2019 Tapas Kundu <tkundu@vmware.com> 18.7.0-3
107
+- Added requires as PyHamcrest
108
+* Tue Oct 30 2018 Tapas Kundu <tkundu@vmware.com> 18.7.0-2
109
+- Moved build requires from subpackage
110
+- Added attrs package in requires.
111
+* Thu Sep 13 2018 Tapas Kundu <tkundu@vmware.com> 18.7.0-1
112
+- Upgraded to release 18.7.0
113
+* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 17.5.0-3
114
+- Remove BuildArch
115
+* Mon Sep 11 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.5.0-2
116
+- Added python-automat, python-hyperlink and its python3 version to the
117
+- requires.
118
+* Tue Aug 29 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.5.0-1
119
+- Upgrade version
120
+* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-6
121
+- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
122
+* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.1.0-5
123
+- Adding python3 scripts to bin directory
124
+* Tue May 09 2017 Rongrong Qiu <rqiu@vmware.com> 17.1.0-4
125
+- Added python-constantly to the requires.
126
+* Mon Mar 27 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-3
127
+- Added python-netaddr and python-incremental to the requires.
128
+* Thu Mar 23 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-2
129
+- Change requires
130
+* Wed Mar 01 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-1
131
+- Added python3 package and updated to version 17.1.0.
132
+* Mon Oct 10 2016 ChangLee <changlee@vmware.com> 15.5.0-3
133
+- Modified %check
134
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 15.5.0-2
135
+- GA - Bump release of all rpms
136
+* Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 15.5.0-1
137
+- Upgrade version
138
+* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
139
+- Initial packaging for Photon
... ...
@@ -1,8 +1,7 @@
1 1
 %define debug_package %{nil}
2
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
3 2
 Summary:        Altgraph helps in creating graph network for doing BFS and DFS traversals.
4 3
 Name:           python3-altgraph
5
-Version:        0.17
4
+Version:        0.17.2
6 5
 Release:        1%{?dist}
7 6
 Url:            https://pypi.org/project/altgraph
8 7
 License:        MIT
... ...
@@ -10,8 +9,8 @@ Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 Source0:        https://files.pythonhosted.org/packages/22/5a/ac50b52581bbf0d8f6fd50ad77d20faac19a2263b43c60e7f3af8d1ec880/altgraph-%{version}.tar.gz
13
-%define sha1    altgraph=8229b0fd463ff107e08e313d25a08c96b01fb635
14
-BuildRequires:  python3
13
+%define sha512  altgraph=b452353b03a8d5588822fd250d37dac72529b22a1f7ce4c797fb6d24d9625b946059995722ef33d035743d5cac97cbbcb47d8eda8df172878bf3631059c3e9bb
14
+BuildRequires:  python3-devel
15 15
 BuildRequires:  python3-setuptools
16 16
 Requires:       python3
17 17
 
... ...
@@ -19,18 +18,20 @@ Requires:       python3
19 19
 altgraph is a fork of graphlib: a graph (network) package for constructing graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with graphviz output.
20 20
 
21 21
 %prep
22
-%setup -q -n altgraph-%{version}
22
+%autosetup -p1 -n altgraph-%{version}
23 23
 
24 24
 %build
25
-python3 setup.py build
25
+%{py3_build}
26 26
 
27 27
 %install
28
-python3 setup.py install --skip-build --root=%{buildroot}
28
+%{py3_install}
29 29
 
30 30
 %files
31 31
 %defattr(-,root,root)
32 32
 %{python3_sitelib}/*
33 33
 
34 34
 %changelog
35
-*   Wed Oct 14 2020 Piyush Gupta <gpiyush@vmware.com> 0.17-1
36
--   Initial packaging
35
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 0.17.2-1
36
+- Automatic Version Bump
37
+* Wed Oct 14 2020 Piyush Gupta <gpiyush@vmware.com> 0.17-1
38
+- Initial packaging
... ...
@@ -1,8 +1,5 @@
1
-%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
3
-
4 1
 Name:           python3-asn1crypto
5
-Version:        1.4.0
2
+Version:        1.5.1
6 3
 Release:        1%{?dist}
7 4
 Summary:        A fast, pure Python library for parsing and serializing ASN.1 structures.
8 5
 License:        MIT
... ...
@@ -12,16 +9,13 @@ Distribution:   Photon
12 12
 Url:            https://pypi.python.org/packages/67/14/5d66588868c4304f804ebaff9397255f6ec5559e46724c2496e0f26e68d6/asn1crypto-0.22.0.tar.gz
13 13
 
14 14
 Source0:        asn1crypto-%{version}.tar.gz
15
-%define sha1    asn1crypto=dc957cec576a75a7d915b1c01ca0337736d98c1c
15
+%define sha512  asn1crypto=6b75e77c29c90577e0a7fc85972a60d324c3450e4257918caa4307a997a5ce7abc5c7cefa0bbf693592f4dceb8bc5c87f8fe6df1185d0f2dca18511d9d747859
16 16
 
17
-BuildRequires:  python3
18 17
 BuildRequires:  python3-devel
19
-BuildRequires:  python3-libs
20 18
 BuildRequires:  python3-setuptools
21 19
 BuildRequires:  python3-xml
22 20
 
23 21
 Requires:       python3
24
-Requires:       python3-libs
25 22
 
26 23
 BuildArch:      noarch
27 24
 
... ...
@@ -45,6 +39,8 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
45 45
 %{python3_sitelib}/*
46 46
 
47 47
 %changelog
48
+* Mon Oct 31 2022 Prashant S Chauhan <psinghchauha@vmware.com> 1.5.1-1
49
+- Update to 1.5.1
48 50
 * Tue Aug 11 2020 Gerrit Photon <photon-checkins@vmware.com> 1.4.0-1
49 51
 - Automatic Version Bump
50 52
 * Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 1.3.0-1
... ...
@@ -1,17 +1,14 @@
1
-%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
3
-
4 1
 Summary:        Python Atomic file writes
5 2
 Name:           python3-atomicwrites
6
-Version:        1.4.0
7
-Release:        2%{?dist}
3
+Version:        1.4.1
4
+Release:        1%{?dist}
8 5
 License:        MIT
9 6
 Group:          Development/Languages/Python
10 7
 Vendor:         VMware, Inc.
11 8
 Distribution:   Photon
12 9
 Url:            https://github.com/untitaker/python-atomicwrites
13 10
 Source0:        https://pypi.python.org/packages/a1/e1/2d9bc76838e6e6667fde5814aa25d7feb93d6fa471bf6816daac2596e8b2/atomicwrites-%{version}.tar.gz
14
-%define sha1    atomicwrites=6fcc91259ab6714190829fe6e570535b7d36e49b
11
+%define sha512  atomicwrites=d02f58ba639a3ba677eedd78016d366a6e77c79d31903ad34f0a50202aba9b9616f933e9763c42da197ada124abd3510c54d0b10099159308c186bccc6270f32
15 12
 
16 13
 %if %{with_check}
17 14
 BuildRequires:  curl-devel
... ...
@@ -29,7 +26,7 @@ BuildArch:      noarch
29 29
 Python Atomic file writes
30 30
 
31 31
 %prep
32
-%setup -q -n atomicwrites-%{version}
32
+%autosetup -p1 -n atomicwrites-%{version}
33 33
 
34 34
 %build
35 35
 python3 setup.py build
... ...
@@ -50,19 +47,21 @@ python3 test_atomicwrites.py
50 50
 %{python3_sitelib}/*
51 51
 
52 52
 %changelog
53
-*   Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.4.0-2
54
--   openssl 1.1.1
55
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 1.4.0-1
56
--   Automatic Version Bump
57
-*   Thu Jun 11 2020 Tapas Kundu <tkundu@vmware.com> 1.2.1-4
58
--   Mass removal python2
59
-*   Mon Aug 26 2019 Shreyas B. <shreyasb@vmware.com> 1.2.1-3
60
--   Fixed make check
61
-*   Mon Nov 12 2018 Tapas Kundu <tkundu@vmware.com> 1.2.1-2
62
--   Fixed make check
63
-*   Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 1.2.1-1
64
--   Update to version 1.2.1
65
-*   Wed Jul 26 2017 Divya Thaluru <dthaluru@vmware.com> 1.1.5-2
66
--   Fixed rpm check errors
67
-*   Fri Jul 07 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.1.5-1
68
--   Initial packaging for Photon
53
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 1.4.1-1
54
+- Automatic Version Bump
55
+* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.4.0-2
56
+- openssl 1.1.1
57
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 1.4.0-1
58
+- Automatic Version Bump
59
+* Thu Jun 11 2020 Tapas Kundu <tkundu@vmware.com> 1.2.1-4
60
+- Mass removal python2
61
+* Mon Aug 26 2019 Shreyas B. <shreyasb@vmware.com> 1.2.1-3
62
+- Fixed make check
63
+* Mon Nov 12 2018 Tapas Kundu <tkundu@vmware.com> 1.2.1-2
64
+- Fixed make check
65
+* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 1.2.1-1
66
+- Update to version 1.2.1
67
+* Wed Jul 26 2017 Divya Thaluru <dthaluru@vmware.com> 1.1.5-2
68
+- Fixed rpm check errors
69
+* Fri Jul 07 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.1.5-1
70
+- Initial packaging for Photon
... ...
@@ -1,22 +1,18 @@
1
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-
3 1
 Summary:        Attributes without boilerplate.
4 2
 Name:           python3-attrs
5
-Version:        20.3.0
6
-Release:        2%{?dist}
3
+Version:        22.1.0
4
+Release:        1%{?dist}
7 5
 Url:            https://pypi.python.org/pypi/attrs
8 6
 License:        MIT
9 7
 Group:          Development/Languages/Python
10 8
 Vendor:         VMware, Inc.
11 9
 Distribution:   Photon
12 10
 Source0:        attrs-%{version}.tar.gz
13
-%define sha1    attrs=05215357efc6bcfa1f0f76fbc01671e484e3e30a
11
+%define sha512  attrs=447637bc82b31d565479e364869b996eaf7b67e526ad97f79ba1c27f287bbb25a2c40663e35437bc19037f605fac9322bd35f303f2769f0eb2ee673900551885
14 12
 
15 13
 BuildArch:      noarch
16 14
 
17
-BuildRequires:  python3
18 15
 BuildRequires:  python3-devel
19
-BuildRequires:  python3-libs
20 16
 BuildRequires:  python3-setuptools
21 17
 BuildRequires:  python3-xml
22 18
 %if %{with_check}
... ...
@@ -27,16 +23,15 @@ BuildRequires:  python3-pip
27 27
 %endif
28 28
 
29 29
 Requires:       python3
30
-Requires:       python3-libs
31 30
 
32 31
 Provides:       python3dist(attrs) = %{version}-%{release}
33
-Provides:       python3.9dist(attrs) = %{version}-%{release}
32
+Provides:       python%{python3_version}dist(attrs) = %{version}-%{release}
34 33
 
35 34
 %description
36 35
 Attributes without boilerplate.
37 36
 
38 37
 %prep
39
-%setup -q -n attrs-%{version}
38
+%autosetup -p1 -n attrs-%{version}
40 39
 
41 40
 %build
42 41
 python3 setup.py build
... ...
@@ -54,30 +49,32 @@ python3 setup.py test
54 54
 %{python3_sitelib}/*
55 55
 
56 56
 %changelog
57
-*   Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 20.3.0-2
58
--   Fix build with new rpm
59
-*   Fri Nov 06 2020 Gerrit Photon <photon-checkins@vmware.com> 20.3.0-1
60
--   Automatic Version Bump
61
-*   Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 20.2.0-2
62
--   openssl 1.1.1
63
-*   Wed Sep 09 2020 Gerrit Photon <photon-checkins@vmware.com> 20.2.0-1
64
--   Automatic Version Bump
65
-*   Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 20.1.0-1
66
--   Automatic Version Bump
67
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 19.3.0-1
68
--   Automatic Version Bump
69
-*   Thu Jun 11 2020 Tapas Kundu <tkundu@vmware.com> 18.2.0-4
70
--   Mass removal python2
71
-*   Thu Feb 27 2020 Tapas Kundu <tkundu@vmware.com> 18.2.0-3
72
--   hypothesis 4.38.2 has requirement attrs>=19.2.0,
73
--   but we have attrs 18.2.0 which is incompatible.
74
-*   Tue Nov 13 2018 Tapas Kundu <tkundu@vmware.com> 18.2.0-2
75
--   Fixed the makecheck errors
76
-*   Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 18.2.0-1
77
--   Update to version 18.2.0
78
-*   Thu Jul 06 2017 Chang Lee <changlee@vmware.com> 16.3.0-3
79
--   Updated %check
80
-*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.3.0-2
81
--   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
82
-*   Mon Mar 13 2017 Xiaolin Li <xiaolinl@vmware.com> 16.3.0-1
83
--   Initial packaging for Photon
57
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 22.1.0-1
58
+- Automatic Version Bump
59
+* Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 20.3.0-2
60
+- Fix build with new rpm
61
+* Fri Nov 06 2020 Gerrit Photon <photon-checkins@vmware.com> 20.3.0-1
62
+- Automatic Version Bump
63
+* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 20.2.0-2
64
+- openssl 1.1.1
65
+* Wed Sep 09 2020 Gerrit Photon <photon-checkins@vmware.com> 20.2.0-1
66
+- Automatic Version Bump
67
+* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 20.1.0-1
68
+- Automatic Version Bump
69
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 19.3.0-1
70
+- Automatic Version Bump
71
+* Thu Jun 11 2020 Tapas Kundu <tkundu@vmware.com> 18.2.0-4
72
+- Mass removal python2
73
+* Thu Feb 27 2020 Tapas Kundu <tkundu@vmware.com> 18.2.0-3
74
+- hypothesis 4.38.2 has requirement attrs>=19.2.0,
75
+- but we have attrs 18.2.0 which is incompatible.
76
+* Tue Nov 13 2018 Tapas Kundu <tkundu@vmware.com> 18.2.0-2
77
+- Fixed the makecheck errors
78
+* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 18.2.0-1
79
+- Update to version 18.2.0
80
+* Thu Jul 06 2017 Chang Lee <changlee@vmware.com> 16.3.0-3
81
+- Updated %check
82
+* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.3.0-2
83
+- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
84
+* Mon Mar 13 2017 Xiaolin Li <xiaolinl@vmware.com> 16.3.0-1
85
+- Initial packaging for Photon
84 86
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-+++ b/src/OpenSSL/crypto.py	2018-06-14 06:48:09.056973800 +0530
2
-@@ -1567,6 +1567,8 @@
3
-     def _init(self):
4
-         """
5
-         Set up the store context for a subsequent verification operation.
6
-+        Calling this method more than once without first calling
7
-+        :meth:`_cleanup` will leak memory.
8
-         """
9
-         ret = _lib.X509_STORE_CTX_init(
10
-             self._store_ctx, self._store._store, self._cert._x509, _ffi.NULL
11
-@@ -1627,6 +1629,9 @@
12
-         """
13
-         # Always re-initialize the store context in case
14
-         # :meth:`verify_certificate` is called multiple times.
15
-+        # :meth:`_init` is called in :meth:`__init__` so _cleanup is called
16
-+        # before _init to ensure memory is not leaked.
17
-+        self._cleanup()
18
-         self._init()
19
-         ret = _lib.X509_verify_cert(self._store_ctx)
20
-         self._cleanup()
... ...
@@ -1,15 +1,14 @@
1
-%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2 1
 Summary:        Python wrapper module around the OpenSSL library
3 2
 Name:           python3-pyOpenSSL
4
-Version:        19.1.0
5
-Release:        2%{?dist}
3
+Version:        22.1.0
4
+Release:        1%{?dist}
6 5
 Url:            https://github.com/pyca/pyopenssl
7 6
 License:        ASL 2.0
8 7
 Group:          Development/Languages/Python
9 8
 Vendor:         VMware, Inc.
10 9
 Distribution:   Photon
11 10
 Source0:        https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
12
-%define sha1    pyOpenSSL=0b8a66d0f14e641f23ab26e3a49ce9f0e0661bf2
11
+%define sha512  pyOpenSSL=7cccb48cbb1655414d21c5e66e7defee7ec370cb6b46294ae0307208f9a9bc13708345b2c088a43292262f5d5bb3d45241c18ae66d2ad6824046ffe30f0c707e
13 12
 BuildRequires:  python3
14 13
 BuildRequires:  python3-devel
15 14
 BuildRequires:  python3-libs
... ...
@@ -39,9 +38,8 @@ BuildArch:      noarch
39 39
 %description
40 40
 High-level wrapper around a subset of the OpenSSL library.
41 41
 
42
-
43 42
 %prep
44
-%setup -q -n pyOpenSSL-%{version}
43
+%autosetup -n pyOpenSSL-%{version}
45 44
 
46 45
 %build
47 46
 python3 setup.py build
... ...
@@ -60,35 +58,36 @@ LANG=en_US.UTF-8  PYTHONPATH=%{buildroot}%{python3_sitelib} \
60 60
     pytest
61 61
 popd
62 62
 
63
-
64 63
 %files
65 64
 %defattr(-,root,root,-)
66 65
 %{python3_sitelib}/*
67 66
 
68 67
 %changelog
69
-*   Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 19.1.0-2
70
--   openssl 1.1.1
71
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 19.1.0-1
72
--   Automatic Version Bump
73
-*   Mon Jun 15 2020 Tapas Kundu <tkundu@vmware.com> 18.0.0-4
74
--   Mass removal python2
75
-*   Mon Sep 09 2019 Tapas Kundu <tkundu@vmware.com> 18.0.0-3
76
--   Fix make check
77
-*   Fri Jan 11 2019 Tapas Kundu <tkundu@vmware.com> 18.0.0-2
78
--   Fix makecheck
79
-*   Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 18.0.0-1
80
--   Update to version 18.0.0
81
-*   Thu Jun 14 2018 Tapas Kundu <tkundu@vmware.com> 17.2.0-2
82
--   Added memory fix for X509StoreContext Class.
83
-*   Mon Aug 14 2017 Xiaolin Li <xiaolinl@vmware.com> 17.2.0-1
84
--   Updated to version 17.2.0 and fixed make check.
85
-*   Fri Jul 21 2017 Divya Thaluru <dthaluru@vmware.com> 16.2.0-5
86
--   Fixed runtime dependencies
87
-*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-4
88
--   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
89
-*   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 16.2.0-3
90
--   Use python2 explicitly
91
-*   Tue Feb 21 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-2
92
--   Add Requires for python-enum and python-ipaddress
93
-*   Tue Feb 14 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-1
94
--   Initial packaging for Photon
68
+* Mon Nov 07 2022 Prashant S Chauhan <psinghchauha@vmware.com> 22.1.0-1
69
+- Update to 22.1.0
70
+* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 19.1.0-2
71
+- openssl 1.1.1
72
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 19.1.0-1
73
+- Automatic Version Bump
74
+* Mon Jun 15 2020 Tapas Kundu <tkundu@vmware.com> 18.0.0-4
75
+- Mass removal python2
76
+* Mon Sep 09 2019 Tapas Kundu <tkundu@vmware.com> 18.0.0-3
77
+- Fix make check
78
+* Fri Jan 11 2019 Tapas Kundu <tkundu@vmware.com> 18.0.0-2
79
+- Fix makecheck
80
+* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 18.0.0-1
81
+- Update to version 18.0.0
82
+* Thu Jun 14 2018 Tapas Kundu <tkundu@vmware.com> 17.2.0-2
83
+- Added memory fix for X509StoreContext Class.
84
+* Mon Aug 14 2017 Xiaolin Li <xiaolinl@vmware.com> 17.2.0-1
85
+- Updated to version 17.2.0 and fixed make check.
86
+* Fri Jul 21 2017 Divya Thaluru <dthaluru@vmware.com> 16.2.0-5
87
+- Fixed runtime dependencies
88
+* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-4
89
+- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
90
+* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 16.2.0-3
91
+- Use python2 explicitly
92
+* Tue Feb 21 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-2
93
+- Add Requires for python-enum and python-ipaddress
94
+* Tue Feb 14 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-1
95
+- Initial packaging for Photon