Compare commits

..

No commits in common. "be5709c3a91f9ce15c10d31465bd38b5b8e72199" and "8caba1242f3401da793fc1e0dbf251bfd9964e3e" have entirely different histories.

3 changed files with 18 additions and 27 deletions

BIN
asn1crypto-0.24.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -3,8 +3,8 @@
%global _name asn1crypto
Name: python-%{_name}
Version: 1.5.1
Release: 1
Version: 0.24.0
Release: 8
Summary: %{_summary}
License: MIT
URL: https://github.com/wbond/asn1crypto
@ -15,6 +15,14 @@ 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
@ -30,11 +38,18 @@ 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}/*
@ -44,30 +59,6 @@ rm -rf %{_name}.egg-info
%doc readme.md changelog.md
%changelog
* Fri Oct 28 2022 zhuofeng <zhuofeng2@huawei.com> -1.5.1-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:update to 1.5.1
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.4.0-2
- fix typo
* Mon Feb 1 2021 shangyibin <shangyibin1@huawei.com> - 1.4.0-1
- Upgrade to version 1.4.0
* 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
@ -80,7 +71,7 @@ rm -rf %{_name}.egg-info
- SUG:NA
- DESC:strenthen spec
* Wed Mar 13 2019 wanghongzhe<wanghongzhe@huawei.com> - 0.24.0-6
* Thu Mar 13 2019 wanghongzhe<wanghongzhe@huawei.com> - 0.24.0-6
- Type:enhancement
- ID:NA
- SUG:restart