Update to 0.6.1

Update modules to 0.4.1

Resolves: RHEL-67667
This commit is contained in:
Simon Pichugin 2024-11-14 16:29:20 -08:00
parent 8ea740d858
commit 144a7736ad
3 changed files with 24 additions and 16 deletions

2
.gitignore vendored
View File

@ -26,3 +26,5 @@ pyasn1-0.0.9a.tar.gz
/v0.2.8.tar.gz /v0.2.8.tar.gz
/v0.5.1.tar.gz /v0.5.1.tar.gz
/v0.3.0.tar.gz /v0.3.0.tar.gz
/v0.4.1.tar.gz
/v0.6.1.tar.gz

View File

@ -1,9 +1,9 @@
%global module pyasn1 %global module pyasn1
%global modules_version 0.3.0 %global modules_version 0.4.1
Name: python-pyasn1 Name: python-pyasn1
Version: 0.5.1 Version: 0.6.1
Release: 5%{?dist} Release: 1%{?dist}
Summary: ASN.1 tools for Python Summary: ASN.1 tools for Python
License: BSD-2-Clause License: BSD-2-Clause
Source0: https://github.com/pyasn1/pyasn1/archive/v%{version}.tar.gz 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} %{?python_provide:%python_provide python3-pyasn1}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%description -n python3-pyasn1 %description -n python3-pyasn1
This is an implementation of ASN.1 types and codecs in the Python 3 programming 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 %package -n python3-pyasn1-modules
Summary: Modules for pyasn1 Summary: Modules for pyasn1
Requires: python3-pyasn1 >= 0.4.7, python3-pyasn1 < 0.6.0
%{?python_provide:%python_provide python3-modules} %{?python_provide:%python_provide python3-modules}
Requires: python3-pyasn1 >= 0.4.7, python3-pyasn1 < 0.7.0
%description -n python3-pyasn1-modules %description -n python3-pyasn1-modules
ASN.1 types modules for python3-pyasn1. ASN.1 types modules for python3-pyasn1.
@ -46,11 +47,15 @@ BuildRequires: python3-sphinx
%setup -n %{module}-%{version} -q -b1 %setup -n %{module}-%{version} -q -b1
%generate_buildrequires
%pyproject_buildrequires
%build %build
%py3_build %pyproject_wheel
pushd ../pyasn1-modules-%{modules_version} pushd ../pyasn1-modules-%{modules_version}
%py3_build %pyproject_wheel
popd popd
pushd docs pushd docs
@ -59,32 +64,33 @@ popd
%install %install
%py3_install %pyproject_install
pushd ../pyasn1-modules-%{modules_version}
%py3_install
popd
%check %check
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py test %pytest
%files -n python3-pyasn1 %files -n python3-pyasn1
%doc README.md %doc README.md
%license LICENSE.rst %license LICENSE.rst
%{python3_sitelib}/%{module} %{python3_sitelib}/%{module}
%{python3_sitelib}/%{module}-%{version}-*.egg-info/ %{python3_sitelib}/%{module}-%{version}.dist-info/
%files -n python3-pyasn1-modules %files -n python3-pyasn1-modules
%{python3_sitelib}/%{module}_modules/ %{python3_sitelib}/%{module}_modules/
%{python3_sitelib}/%{module}_modules-%{modules_version}-*.egg-info/ %{python3_sitelib}/%{module}_modules-%{modules_version}.dist-info/
%files doc %files doc
%license LICENSE.rst %license LICENSE.rst
%doc docs/build/html/* %doc docs/build/html/*
%changelog %changelog
* Fri Nov 15 2024 Simon Pichugin <spichugi@redhat.com> - 0.6.1-1
- Update to 0.6.1
- Update modules to 0.4.1
Resolves: RHEL-67667
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.5.1-5 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.5.1-5
- Bump release for October 2024 mass rebuild: - Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018 Resolves: RHEL-64018

View File

@ -1,2 +1,2 @@
SHA512 (v0.3.0.tar.gz) = 74628ae1df081f92f9029fc5357fe6f6c3ef91c3ee3f7dcf3e6a2cb53724db5b95632bbe0339612cd0627680147f93ded2e24a43d549c5e528f9acf53339954e SHA512 (v0.4.1.tar.gz) = 65fd2bba6bca412f0bec1f4fa51cf331d0d90aa6f2c4b8705dffc347ff7cd835473eaeb5e983de37c14ee7e01ebf5d43f7c16838a1652db263535b0a57fde8c0
SHA512 (v0.5.1.tar.gz) = 19478d810d000fb4435f6a1776f290b1618a693539ff8ffad8c41f9ac316938f1c0ae988db8571a838443407d312b5566887e20284a779ccf427888739f13833 SHA512 (v0.6.1.tar.gz) = a7f995413643d4f9283a9878a1bc3c8d606d018a31209309e4eeda42461eee89efcedd7af4c75fd9e8c9d7e628d86229afbbd0c1bf3862982e45524845c7a833