Compare commits

...

No commits in common. "c8" and "1975e77eb405454a63738fa38acc9042c1eb9447" have entirely different histories.

6 changed files with 125 additions and 12 deletions

28
.gitignore vendored
View File

@ -1,2 +1,26 @@
SOURCES/v0.1.5.tar.gz
SOURCES/v0.3.7.tar.gz
pyasn1-0.0.9a.tar.gz
/pyasn1-0.0.12a.tar.gz
/pyasn1-0.1.2.tar.gz
/pyasn1-modules-0.0.2.tar.gz
/pyasn1-0.1.6.tar.gz
/pyasn1-modules-0.0.4.tar.gz
/pyasn1-0.1.7.tar.gz
/pyasn1-modules-0.0.5.tar.gz
/pyasn1-0.1.8.tar.gz
/pyasn1-modules-0.0.6.tar.gz
/pyasn1-modules-0.0.8.tar.gz
/pyasn1-0.1.9.tar.gz
/v0.2.1.tar.gz
/v0.2.3.tar.gz
/v0.3.2.tar.gz
/v0.0.11.tar.gz
/v0.3.4.tar.gz
/v0.1.2.tar.gz
/v0.1.5.tar.gz
/v0.3.7.tar.gz
/v0.4.4.tar.gz
/v0.2.2.tar.gz
/v0.2.6.tar.gz
/v0.4.6.tar.gz
/v0.4.8.tar.gz
/v0.2.8.tar.gz

View File

@ -1,2 +1,2 @@
056d811a9a6a3a672fdeb3dd09bb17bc30968997 SOURCES/v0.1.5.tar.gz
a38478ac81d5b88caee1d92ce14185f34303890b SOURCES/v0.3.7.tar.gz
41b65e2570a515b016708c6d72f652c8a742dc05 v0.4.8.tar.gz
c8018d2eb53c51a74e955b7fdecda59e79f6f001 v0.2.8.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
# recipients: abokovoy, frenaud, kaleem, ftrivino, cheimes
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,12 +1,11 @@
%global module pyasn1
%global modules_version 0.1.5
%global modules_version 0.2.8
Name: python-pyasn1
Version: 0.3.7
Version: 0.4.8
Release: 6%{?dist}
Summary: ASN.1 tools for Python
License: BSD
Group: System Environment/Libraries
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/
@ -36,6 +35,7 @@ ASN.1 types modules for python3-pyasn1.
%package doc
Summary: Documentation for pyasn1
BuildRequires: make
BuildRequires: python3-sphinx
%description doc
@ -53,7 +53,7 @@ pushd ../pyasn1-modules-%{modules_version}
%py3_build
popd
pushd doc
pushd docs
PYTHONPATH=%{buildroot}%{python3_sitelib} make SPHINXBUILD=sphinx-build-3 html
popd
@ -82,13 +82,66 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py test
%files doc
%license LICENSE.rst
%doc doc/build/html/*
%doc docs/build/html/*
%changelog
* Mon Jul 09 2018 Petr Viktorin <pviktori@redhat.com> - 0.3.7-6
- Remove the python2 subpackage
* 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
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.7-5
* 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
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.8-2
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Rob Crittenden <rcritten@redhat.com> - 0.4.8-1
- Update to 0.4.8 (#1747820)
- Update modules to 0.2.8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Oct 23 2019 Rob Crittenden <rcritten@redhat.com> - 0.4.6-3
- Remove python2 subpackages (#1764573)
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.6-2
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Fri Aug 30 2019 Rob Crittenden <rcritten@redhat.com> - 0.4.6-1
- Update to 0.4.6 (#1742424)
- Update modules to 0.2.6
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-6
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Oct 16 2018 Rob Crittenden <rcritten@redhat.com> - 0.4.4-3
- Restore python2 subpackages
* Mon Oct 15 2018 Rob Crittenden <rcritten@redhat.com> - 0.4.4-2
- Add back accidentally removed buildrequires
* Mon Oct 15 2018 Rob Crittenden <rcritten@redhat.com> - 0.4.4-1
- Update to 0.4.4 (#1582010)
- Update modules to 0.2.2
- Drop python 2 subpackages
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.7-5
- Use Python 3 Sphinx if with Python 3
- Cleanup

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (v0.4.8.tar.gz) = 3bd2f51c8f9f1f3ba48464622370bb7e7c9eda63d9cd2ef2fd6b6bbcd916a439c053febab2535f5fb6120d0ce87d7aa3c9c8756809db73502b5cf7c7a2048a6d
SHA512 (v0.2.8.tar.gz) = 7701f239c13e65d5a0979b0d3ac4a408e9493dfdbb2277d864a6c204ea8dc569cddbbaba2e9a601c86336a02af660a6dfeb734f70c6f73631443219b2e770047

27
tests/tests.yml Normal file
View File

@ -0,0 +1,27 @@
---
- hosts: localhost
tags:
- classic
pre_tasks:
- import_role:
name: standard-test-source
vars:
flatten: false
roles:
- role: standard-test-basic
required_packages:
- python3-pyasn1
- python3-pyasn1-modules
- python3-pytest
tests:
- unittests-pyasn1:
dir: "source/pyasn1-0.4.8"
run: >-
rm -rf pyasn1* &&
pytest-3 tests/
- unittests-pyasn1-modules:
dir: "source/pyasn1-modules-0.4.8"
run: >-
rm -rf pyasn1_modules* &&
pytest-3 tests/