Compare commits

...

No commits in common. "c8-stream-3.8" and "f1c4df79cadcf41732909056049e547e5a54434f" have entirely different histories.

7 changed files with 36 additions and 43 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
SOURCES/asn1crypto-1.2.0.tar.gz
/asn1crypto-0.22.0.tar.gz
/asn1crypto-0.23.0.tar.gz
/asn1crypto-0.24.0.tar.gz

View File

@ -1 +0,0 @@
4728437cb22d427346f874474d4cdf54b78ba00e SOURCES/asn1crypto-1.2.0.tar.gz

1
.rpmlint Normal file
View File

@ -0,0 +1 @@
addFilter('spelling-error.*serializer')

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -8,7 +8,7 @@
%bcond_with python3
%endif
%if 0%{?fedora} > 31 || 0%{?rhel} > 7
%if 0%{?rhel} > 7
# Disable python2 build by default
%bcond_with python2
%else
@ -18,7 +18,8 @@
%{!?python3_pkgversion:%global python3_pkgversion 3}
Name: python-%{pypi_name}
Version: 1.2.0
# keep version in sync with tests/test.yml
Version: 0.24.0
Release: 3%{?dist}
Summary: Fast Python ASN.1 parser and serializer
@ -26,10 +27,6 @@ License: MIT
URL: https://github.com/wbond/asn1crypto
Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all.
# See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686
%if 0%{?with_python2}
BuildRequires: python2-devel
@ -38,7 +35,6 @@ BuildRequires: python2-setuptools
%if 0%{?with_python3}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-rpm-macros
%endif
%description
@ -112,42 +108,11 @@ rm -rf %{pypi_name}.egg-info
%endif
%changelog
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.2.0-3
- Exclude unsupported i686 arch
* Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 1.2.0-2
- Adjusted for Python 3.8 module in RHEL 8
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 1.2.0-1
- New upstream version 1.2.0 (#1758089)
* Sat Oct 12 2019 Christian Heimes <cheimes@redhat.com> - 0.24.0-10
- Drop Python 2 package
- Resolves: rhbz#1761084
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.24.0-9
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.24.0-8
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.24.0-4
- Rebuilt for Python 3.7
* Tue Jun 19 2018 Christian Heimes <cheimes@redhat.com> - 0.24.0-3
- Build Python 2 package conditionally
- Drop Python 2 subpackages from RHEL 8, fixes RHBZ#1589755
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.24.0-2
- Rebuilt for Python 3.7
* Wed May 09 2018 Troy Dawson <tdawson@redhat.com> - 0.24.0-2
- Cleanup spec file conditionals
* Wed Mar 21 2018 Christian Heimes <cheimes@redhat.com> - 0.24.0-1
- New upstream release 0.24.0

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (asn1crypto-0.24.0.tar.gz) = 44d442a6ddfa971e31e24712fe084368356deb5e1c4c3b3e813e0910931860215bc1c4f9eb2c4bd4fdef607c324086c096e9357068646efd28c97f2d4f85c62f

19
tests/tests.yml Normal file
View File

@ -0,0 +1,19 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- python3-asn1crypto
- python3-pytest
# upstream does not include tests in tar ball. Fetch unit tests
# from GitHub.
repositories:
- repo: https://github.com/wbond/asn1crypto.git
dest: asn1crypto
version: 0.24.0
tests:
- unittests:
dir: asn1crypto/tests
run: pytest-3