remove python2

Merge pull request !2 from phanddy/master
This commit is contained in:
openeuler-ci-bot 2020-07-23 22:16:47 +08:00 committed by wangjie
commit f54ff6e596
3 changed files with 14 additions and 17 deletions

Binary file not shown.

BIN
asn1crypto-1.3.0.tar.gz Normal file

Binary file not shown.

View File

@ -3,8 +3,8 @@
%global _name asn1crypto
Name: python-%{_name}
Version: 0.24.0
Release: 8
Version: 1.3.0
Release: 2
Summary: %{_summary}
License: MIT
URL: https://github.com/wbond/asn1crypto
@ -15,14 +15,6 @@ 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
@ -38,18 +30,11 @@ BuildRequires: python3-devel python3-setuptools
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}/*
@ -59,6 +44,18 @@ rm -rf %{_name}.egg-info
%doc readme.md changelog.md
%changelog
* Fri Oct 30 2020 wangjie<wangjie294@huawei.com> -1.3.0-2
- Type:NA
- ID:NA
- SUG:NA
- DESC:remove python2
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 1.3.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise description
* Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 0.24.0-8
- Type:enhancement
- ID:NA