diff --git a/cryptography-3.3.1.tar.gz b/cryptography-3.3.1.tar.gz deleted file mode 100644 index 4d9671e137977c843779ee4fb70e1315c71f5328..0000000000000000000000000000000000000000 Binary files a/cryptography-3.3.1.tar.gz and /dev/null differ diff --git a/cryptography-3.4.6.tar.gz b/cryptography-3.4.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..abc654909e13009beaa3906eefe48ee0e7731002 Binary files /dev/null and b/cryptography-3.4.6.tar.gz differ diff --git a/python-cryptography.spec b/python-cryptography.spec index 07ba4223073f1f22d90532b8bb9d0f7c76ed152d..0ad72d53fcaa7735fcf96befa226f994fcd2fe92 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -1,14 +1,12 @@ %global srcname cryptography Name: python-%{srcname} -Version: 3.3.1 -Release: 2 +Version: 3.4.6 +Release: 1 Summary: PyCA's cryptography library License: ASL 2.0 or BSD URL: https://cryptography.io/en/latest/ Source0: %{pypi_source} -Patch6000: backport-CVE-2020-36242.patch - BuildRequires: openssl-devel BuildRequires: gcc @@ -24,6 +22,8 @@ BuildRequires: python%{python3_pkgversion}-pytz BuildRequires: python%{python3_pkgversion}-idna >= 2.1 BuildRequires: python%{python3_pkgversion}-six >= 1.4.1 BuildRequires: python%{python3_pkgversion}-cffi >= 1.7 +BuildRequires: python%{python3_pkgversion}-pytest-subtests + %description cryptography is a package designed to expose cryptographic primitives and @@ -51,6 +51,7 @@ recipes to Python developers. %autosetup -n cryptography-%{version} -p1 %build +export CRYPTOGRAPHY_DONT_BUILD_RUST=1 %py3_build %install @@ -61,7 +62,6 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest -k "not (test_ %files -n python%{python3_pkgversion}-cryptography %defattr(-,root,root) -%doc AUTHORS.rst %license LICENSE LICENSE.APACHE LICENSE.BSD %{python3_sitearch}/* %{python3_sitearch}/cryptography-%{version}-py*.egg-info @@ -71,6 +71,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest -k "not (test_ %doc README.rst docs %changelog +* Mon Feb 14 2022 zhangy -3.4.6-1 +- Update to 3.4.6 + * Tue Feb 23 2021 shixuantong - 3.3.1-2 - fix CVE-2020-36242