diff --git a/pyasn1-0.4.8.tar.gz b/pyasn1-0.4.8.tar.gz deleted file mode 100644 index 2f88dff..0000000 --- a/pyasn1-0.4.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba -size 146820 diff --git a/pyasn1-0.5.0.tar.gz b/pyasn1-0.5.0.tar.gz new file mode 100644 index 0000000..52fbef6 --- /dev/null +++ b/pyasn1-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97b7290ca68e62a832558ec3976f15cbf911bf5d7c7039d8b861c2a0ece69fde +size 145117 diff --git a/python-pyasn1.changes b/python-pyasn1.changes index 2763573..a57f279 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu May 4 19:21:20 UTC 2023 - Dirk Müller + +- update to 0.5.0: + * Change `RealEncoder.supportIndefLenMode` type to a boolean + * Fix CI for py39 test environment + * Replace all snmplabs.com links + * Use correct SPDX identifier for the license + * Re-add ``tagMap`` and ``typeMap`` module level attributes to all + encoder and decoder modules. They are aliases for ``TAG_MAP`` and + ``TYPE_MAP`` + * Restore API for passing for ``tagMap`` and ``typeMap`` arguments + to ``Encoder`` and ``Decoder`` classes by name and position, + * Re-add ``tagMap`` and ``typeMap`` module level attributes to all + encoder and decoder modules. They are aliases for ``TAG_MAP`` and + ``TYPE_MAP`` + * Restore API for passing for ``tagMap`` and ``typeMap`` arguments + to ``Encoder`` and ``Decoder`` classes by name and position, + * Make BER/CER/DER decoders streaming and suspendible + ------------------------------------------------------------------- Fri Apr 21 12:30:19 UTC 2023 - Dirk Müller diff --git a/python-pyasn1.spec b/python-pyasn1.spec index 24f8197..c18a211 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -20,15 +20,16 @@ %define oldpython python %{?sle15_python_module_pythons} Name: python-pyasn1 -Version: 0.4.8 +Version: 0.5.0 Release: 0 Summary: ASN.1 types and codecs License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/etingof/pyasn1 Source: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -48,10 +49,10 @@ specification. %setup -q -n pyasn1-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +61,7 @@ specification. %files %{python_files} %doc CHANGES.rst README.md TODO.rst %license LICENSE.rst -%{python_sitelib}/* +%{python_sitelib}/pyasn1 +%{python_sitelib}/pyasn1-%{version}.dist-info %changelog