commit cce814ccd984d9cd7b9d71241ecd1ac6457a5977 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:14:41 2019 -0400 Package init diff --git a/asn1crypto-0.24.0.tar.gz b/asn1crypto-0.24.0.tar.gz new file mode 100644 index 0000000..5a207c5 Binary files /dev/null and b/asn1crypto-0.24.0.tar.gz differ diff --git a/python-asn1crypto.spec b/python-asn1crypto.spec new file mode 100644 index 0000000..b192e9c --- /dev/null +++ b/python-asn1crypto.spec @@ -0,0 +1,81 @@ +%global _description A fast, pure Python library for parsing and serializing ASN.1 structures. +%global _summary A Python library for parsing and serializing ASN.1 structures +%global _name asn1crypto + +Name: python-%{_name} +Version: 0.24.0 +Release: 8 +Summary: %{_summary} +License: MIT +URL: https://github.com/wbond/asn1crypto +Source0: https://files.pythonhosted.org/packages/source/a/%{_name}/%{_name}-%{version}.tar.gz + +BuildArch: noarch + +%description +%{_description} + +%package -n python2-%{_name} +Summary: %{_summary} +BuildRequires: python2-devel python2-setuptools +%{?python_provide:%python_provide python2-%{_name}} + +%description -n python2-%{_name} +%{_description} + +%package -n python3-%{_name} +Summary: %{_summary} +BuildRequires: python3-devel python3-setuptools +%{?python_provide:%python_provide python3-%{_name}} + +%description -n python3-%{_name} +%{_description} + +%package_help + +%prep +%autosetup -n %{_name}-%{version} -p1 +rm -rf %{_name}.egg-info + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%files -n python2-%{_name} +%license LICENSE +%{python2_sitelib}/%{_name}/* +%{python2_sitelib}/%{_name}-*info + +%files -n python3-%{_name} +%license LICENSE +%{python3_sitelib}/%{_name}/* +%{python3_sitelib}/%{_name}-*info + +%files help +%doc readme.md changelog.md + +%changelog +* Sat Sep 21 2019 shenyangyang - 0.24.0-8 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise description + +* Mon Aug 26 2019 shenyangyang - 0.24.0-7 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:strenthen spec + +* Thu Mar 13 2019 wanghongzhe - 0.24.0-6 +- Type:enhancement +- ID:NA +- SUG:restart +- DESC:solve the mirror-yum installation dependency + +* Wed Jul 18 2018 openEuler Buildteam - 0.24.0-5 +- Package init