New upstream release 0.23.0
This commit is contained in:
parent
4a1ace6f8f
commit
e4143e574c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/asn1crypto-0.22.0.tar.gz
|
||||
/asn1crypto-0.23.0.tar.gz
|
||||
|
@ -1,9 +1,15 @@
|
||||
# Created by pyp2rpm-3.2.2
|
||||
%global pypi_name asn1crypto
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
%{!?python3_pkgversion:%global python3_pkgversion 3}
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.22.0
|
||||
Release: 4%{?dist}
|
||||
Version: 0.23.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Fast Python ASN.1 parser and serializer
|
||||
|
||||
License: MIT
|
||||
@ -12,10 +18,12 @@ Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python2-setuptools
|
||||
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
%endif
|
||||
|
||||
%description
|
||||
Fast ASN.1 parser and serializer with definitions for private keys,
|
||||
@ -31,6 +39,7 @@ Fast ASN.1 parser and serializer with definitions for private keys,
|
||||
public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8,
|
||||
PKCS#12, PKCS#5, X.509 and TSP.
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||
@ -39,7 +48,7 @@ Summary: %{summary}
|
||||
Fast ASN.1 parser and serializer with definitions for private keys,
|
||||
public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8,
|
||||
PKCS#12, PKCS#5, X.509 and TSP.
|
||||
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
@ -48,12 +57,16 @@ rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%if 0%{?with_python3}
|
||||
%py3_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
# Must do the subpackages' install first because the scripts in /usr/bin are
|
||||
# overwritten with every setup.py install.
|
||||
%if 0%{?with_python3}
|
||||
%py3_install
|
||||
%endif
|
||||
|
||||
%py2_install
|
||||
|
||||
@ -61,19 +74,29 @@ rm -rf %{pypi_name}.egg-info
|
||||
%check
|
||||
# asn1crypto source distribution doesn't come with tests
|
||||
# {__python2} setup.py test
|
||||
%if 0%{?with_python3}
|
||||
# {__python3} setup.py test
|
||||
%endif
|
||||
|
||||
%files -n python2-%{pypi_name}
|
||||
%doc
|
||||
%{python2_sitelib}/%{pypi_name}
|
||||
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||
%doc
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Oct 12 2017 Christian Heimes <cheimes@redhat.com> - 0.23-1
|
||||
- New upstream release 0.23.0
|
||||
|
||||
* Fri Aug 04 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-5
|
||||
- Use python2-setuptools, add with_python3
|
||||
|
||||
* Thu Aug 03 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-4
|
||||
- Modernize spec
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (asn1crypto-0.22.0.tar.gz) = fdc98f71ec3b744e69a75909b5b0a8381fb82d448941a6e1059823af47ca107218e1dbe6ff192e2173f11fc2454be1afcd387d801dc8e716451179857d71f8b8
|
||||
SHA512 (asn1crypto-0.23.0.tar.gz) = c02d572bff461583d9c549155ea32551ce8dd75b962c43c271a391812e69058d7ab7b4ebd293bf401c48fb10c3775aa085f9cf94972e017addf0388f27294564
|
||||
|
Loading…
Reference in New Issue
Block a user