Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
266 changes: 0 additions & 266 deletions SPECS/python-pyasn1/CVE-2026-30922.patch

This file was deleted.

4 changes: 2 additions & 2 deletions SPECS/python-pyasn1/python-pyasn1.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"pyasn1-0.4.8.tar.gz": "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba"
"pyasn1-0.6.4.tar.gz": "9c447d8431c947fe4c8febc4ed9e760bc29011a5b01e5c74b67025bd9fb8ce81"
}
}
}
20 changes: 14 additions & 6 deletions SPECS/python-pyasn1/python-pyasn1.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
Summary: Implementation of ASN.1 types and codecs in Python programming language
Name: python-pyasn1
Version: 0.4.8
Release: 2%{?dist}
Version: 0.6.4
Release: 1%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Azure Linux
Group: Development/Languages/Python
URL: https://pypi.org/project/pyasn1
Source0: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
Patch0: CVE-2026-30922.patch
BuildArch: noarch

%description
Expand All @@ -17,6 +16,9 @@ This is an implementation of ASN.1 types and codecs in Python programming langua
%package -n python3-pyasn1
Summary: Implementation of ASN.1 types and codecs in Python programming language
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-pytest
BuildRequires: python3-pip
Requires: python3

%description -n python3-pyasn1
Expand All @@ -28,20 +30,26 @@ to be suitable for a wide range of protocols based on ASN.1 specification.
%autosetup -p1 -n pyasn1-%{version}

%build
%py3_build
# pyasn1 0.6.4 no longer supports the legacy setup.py build path used by %%py3_build.
%pyproject_wheel

%install
%py3_install
# Install from the wheel using the modern pyproject-based packaging flow.
%pyproject_install

%check
%python3 setup.py test
# Upstream tests pass under pytest; setup.py test is no longer available.
%pytest

%files -n python3-pyasn1
%defattr(-,root,root,-)
%license LICENSE.rst
%{python3_sitelib}/*

%changelog
* Fri Jul 17 2026 BinduSri Adabala <v-badabala@microsoft.com> - 0.6.4-1
- Upgrade to 0.6.4 - for CVE-2026-59884, CVE-2026-59885, CVE-2026-59886

* Wed Mar 25 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 0.4.8-2
- Patch for CVE-2026-30922

Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24403,8 +24403,8 @@
"type": "other",
"other": {
"name": "python-pyasn1",
"version": "0.4.8",
"downloadUrl": "https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-0.4.8.tar.gz"
"version": "0.6.4",
"downloadUrl": "https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-0.6.4.tar.gz"
}
}
},
Expand Down
Loading