From 657dab9c3b87c38fbb738609cbe461bcef766693 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 11 Dec 2024 09:48:14 +0300 Subject: [PATCH] import python-pyasn1-0.6.1-1.el10 --- .gitignore | 4 ++-- .python-pyasn1.metadata | 4 ++-- SPECS/python-pyasn1.spec | 34 ++++++++++++++++++++-------------- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 7a41c1b..e42d31f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/v0.3.0.tar.gz -SOURCES/v0.5.1.tar.gz +SOURCES/v0.4.1.tar.gz +SOURCES/v0.6.1.tar.gz diff --git a/.python-pyasn1.metadata b/.python-pyasn1.metadata index d602373..cb9a621 100644 --- a/.python-pyasn1.metadata +++ b/.python-pyasn1.metadata @@ -1,2 +1,2 @@ -2f6f56090f37b6ed66107691b6af35730b8731b1 SOURCES/v0.3.0.tar.gz -da3138d011ddc6e9917810e22b7d71bc2b587857 SOURCES/v0.5.1.tar.gz +7b9b0c208ce31e4e0208fe9d0d7f8294a2903260 SOURCES/v0.4.1.tar.gz +f0a5520d6f8c593258c73b9edccf9873fd9aca28 SOURCES/v0.6.1.tar.gz diff --git a/SPECS/python-pyasn1.spec b/SPECS/python-pyasn1.spec index 352d885..bfc1021 100644 --- a/SPECS/python-pyasn1.spec +++ b/SPECS/python-pyasn1.spec @@ -1,9 +1,9 @@ %global module pyasn1 -%global modules_version 0.3.0 +%global modules_version 0.4.1 Name: python-pyasn1 -Version: 0.5.1 -Release: 5%{?dist} +Version: 0.6.1 +Release: 1%{?dist} Summary: ASN.1 tools for Python License: BSD-2-Clause Source0: https://github.com/pyasn1/pyasn1/archive/v%{version}.tar.gz @@ -20,6 +20,7 @@ Summary: ASN.1 tools for Python 3 %{?python_provide:%python_provide python3-pyasn1} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pytest %description -n python3-pyasn1 This is an implementation of ASN.1 types and codecs in the Python 3 programming @@ -27,8 +28,8 @@ language. %package -n python3-pyasn1-modules Summary: Modules for pyasn1 -Requires: python3-pyasn1 >= 0.4.7, python3-pyasn1 < 0.6.0 %{?python_provide:%python_provide python3-modules} +Requires: python3-pyasn1 >= 0.4.7, python3-pyasn1 < 0.7.0 %description -n python3-pyasn1-modules ASN.1 types modules for python3-pyasn1. @@ -46,11 +47,15 @@ BuildRequires: python3-sphinx %setup -n %{module}-%{version} -q -b1 +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build +%pyproject_wheel pushd ../pyasn1-modules-%{modules_version} -%py3_build +%pyproject_wheel popd pushd docs @@ -59,32 +64,33 @@ popd %install -%py3_install - -pushd ../pyasn1-modules-%{modules_version} -%py3_install -popd +%pyproject_install %check -PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py test +%pytest %files -n python3-pyasn1 %doc README.md %license LICENSE.rst %{python3_sitelib}/%{module} -%{python3_sitelib}/%{module}-%{version}-*.egg-info/ +%{python3_sitelib}/%{module}-%{version}.dist-info/ %files -n python3-pyasn1-modules %{python3_sitelib}/%{module}_modules/ -%{python3_sitelib}/%{module}_modules-%{modules_version}-*.egg-info/ +%{python3_sitelib}/%{module}_modules-%{modules_version}.dist-info/ %files doc %license LICENSE.rst %doc docs/build/html/* %changelog +* Fri Nov 15 2024 Simon Pichugin - 0.6.1-1 +- Update to 0.6.1 +- Update modules to 0.4.1 + Resolves: RHEL-67667 + * Tue Oct 29 2024 Troy Dawson - 0.5.1-5 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018