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 %global _name asn1crypto
Name: python-%{_name} Name: python-%{_name}
Version: 1.5.1 Version: 0.24.0
Release: 1 Release: 8
Summary: %{_summary} Summary: %{_summary}
License: MIT License: MIT
URL: https://github.com/wbond/asn1crypto URL: https://github.com/wbond/asn1crypto
@ -15,6 +15,14 @@ BuildArch: noarch
%description %description
%{_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} %package -n python3-%{_name}
Summary: %{_summary} Summary: %{_summary}
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
@ -30,11 +38,18 @@ BuildRequires: python3-devel python3-setuptools
rm -rf %{_name}.egg-info rm -rf %{_name}.egg-info
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%files -n python2-%{_name}
%license LICENSE
%{python2_sitelib}/%{_name}/*
%{python2_sitelib}/%{_name}-*info
%files -n python3-%{_name} %files -n python3-%{_name}
%license LICENSE %license LICENSE
%{python3_sitelib}/%{_name}/* %{python3_sitelib}/%{_name}/*
@ -44,30 +59,6 @@ rm -rf %{_name}.egg-info
%doc readme.md changelog.md %doc readme.md changelog.md
%changelog %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 * Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 0.24.0-8
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA
@ -80,7 +71,7 @@ rm -rf %{_name}.egg-info
- SUG:NA - SUG:NA
- DESC:strenthen spec - 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 - Type:enhancement
- ID:NA - ID:NA
- SUG:restart - SUG:restart