Compare commits

..

No commits in common. "223dbf7f7cd5978884149cf8e9e057d0ed5ad265" and "64ed549046439a7d5763b22564c0cdbf42cbfc00" have entirely different histories.

2 changed files with 33 additions and 22 deletions

View File

@ -1,5 +1,7 @@
%bcond_with python2
Name: python-cryptography-vectors
Version: 36.0.1
Version: 2.6.1
Release: 1
License: ASL 2.0 or BSD
Summary: This module is a test vectors for the cryptography package
@ -10,6 +12,16 @@ BuildArch: noarch
%description
This package is a test vectors for the python-cryptography.
%if %{with python2}
%package -n python2-cryptography-vectors
Summary: This module is a test vectors for the cryptography package
BuildRequires: python2-devel python2-setuptools
%{?python_provide:%python_provide python2-cryptography-vectors}
%description -n python2-cryptography-vectors
This package is a test vectors for the python-cryptography.
%endif
%package -n python3-cryptography-vectors
Summary: This module is a test vectors for the cryptography package
BuildRequires: python3-devel python3-setuptools
@ -23,14 +35,34 @@ This package is a test vectors for the python-cryptography.
rm -vrf cryptography_vectors.egg-info
%build
%if %{with python2}
%py2_build
%endif
%py3_build
%check
%if %{with python2}
%{__python2} setup.py test
%endif
%{__python3} setup.py test
%install
%if %{with python2}
%py2_install
%endif
%py3_install
%if %{with python2}
%files -n python2-cryptography-vectors
%defattr(-,root,root)
%license LICENSE LICENSE.APACHE LICENSE.BSD
%{python2_sitelib}/cryptography_vectors/
%{python2_sitelib}/cryptography_vectors-%{version}-py*.egg-info
%endif
%files -n python3-cryptography-vectors
%defattr(-,root,root)
%license LICENSE LICENSE.APACHE LICENSE.BSD
@ -38,27 +70,6 @@ rm -vrf cryptography_vectors.egg-info
%{python3_sitelib}/cryptography_vectors-%{version}-py*.egg-info
%changelog
* Feb Nov 01 2022 Ge Wang <wangge20@h-partners.com> - 36.0.1-1
- Update to version 36.0.1
* Fri Feb 5 2021 lingsheng <lingsheng@huawei.com> - 3.3.1-1
- Update to 3.3.1
* Thu Oct 22 2020 zhangtao <zhangtao221@huawei.com> - 3.0-2
- delete python2
* Mon Jul 27 2020 dingyue<dingyue5@huawei.com> -3.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade software to v3.0
* Thu Apr 16 2020 chengquan<chengquan3@huawei.com> -2.9-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade software to v2.9
* Fri Feb 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.6.1-1
- Update to 2.6.1