!4 remove python2
From: @jlwwlsqc Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
235ebd381a
@ -4,7 +4,7 @@
|
||||
|
||||
Name: python-%{_name}
|
||||
Version: 1.3.0
|
||||
Release: 1
|
||||
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,12 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user