Compare commits

...

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

4
.gitignore vendored

@ -1,2 +1,2 @@
SOURCES/v0.2.8.tar.gz
SOURCES/v0.4.8.tar.gz
SOURCES/v0.4.1.tar.gz
SOURCES/v0.6.1.tar.gz

@ -1,2 +1,2 @@
c8018d2eb53c51a74e955b7fdecda59e79f6f001 SOURCES/v0.2.8.tar.gz
41b65e2570a515b016708c6d72f652c8a742dc05 SOURCES/v0.4.8.tar.gz
7b9b0c208ce31e4e0208fe9d0d7f8294a2903260 SOURCES/v0.4.1.tar.gz
f0a5520d6f8c593258c73b9edccf9873fd9aca28 SOURCES/v0.6.1.tar.gz

@ -1,14 +1,14 @@
%global module pyasn1
%global modules_version 0.2.8
%global modules_version 0.4.1
Name: python-pyasn1
Version: 0.4.8
Release: 6%{?dist}
Version: 0.6.1
Release: 1%{?dist}
Summary: ASN.1 tools for Python
License: BSD
Source0: https://github.com/etingof/pyasn1/archive/v%{version}.tar.gz
Source1: https://github.com/etingof/pyasn1-modules/archive/v%{modules_version}.tar.gz
URL: http://pyasn1.sourceforge.net/
License: BSD-2-Clause
Source0: https://github.com/pyasn1/pyasn1/archive/v%{version}.tar.gz
Source1: https://github.com/pyasn1/pyasn1-modules/archive/v%{modules_version}.tar.gz
URL: https://github.com/pyasn1/pyasn1
BuildArch: noarch
%description
@ -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 >= %{version}-%{release}
%{?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,38 +64,90 @@ 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
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.8-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* 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
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.5.1-4
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.5.1-4
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Nov 27 2023 Simon Pichugin <spichugi@redhat.com> - 0.5.1-1
- Update to 0.5.1
- Update modules to 0.3.0
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 27 2023 Stephen Gallagher <sgallagh@redhat.com> - 0.4.8-15
- Rebuild for Python 3.12
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.4.8-14
- Rebuilt for Python 3.12
* Thu Feb 23 2023 Rob Crittenden <rcritten@redhat.com> - 0.4.8-13
- migrated to SPDX license
- correct bad date in changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.8-10
- Rebuilt for Python 3.11
* Mon Mar 1 2021 Rob Crittenden <rcritten@redhat.com> - 0.4.8-9
- Set URL to https://github.com/etingof/pyasn1 in the spec file (#2059715)
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-7
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 07 2021 Rob Crittenden <rcritten@redhat.com> - 0.4.8-6
- Follow upstream requirements.txt for modules -> pyasn1 (#1979875)
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.8-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 0.4.8-5
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save