python-cryptography-vectors: openEuler init
This commit is contained in:
commit
b9c7d79cc8
BIN
cryptography_vectors-2.3.tar.gz
Normal file
BIN
cryptography_vectors-2.3.tar.gz
Normal file
Binary file not shown.
54
python-cryptography-vectors.spec
Normal file
54
python-cryptography-vectors.spec
Normal file
@ -0,0 +1,54 @@
|
||||
Name: python-cryptography-vectors
|
||||
Version: 2.3
|
||||
Release: 2
|
||||
License: ASL 2.0 or BSD
|
||||
Summary: This module is a test vectors for the cryptography package
|
||||
URL: https://pypi.python.org/pypi/cryptography-vectors
|
||||
Source0: https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package is a test vectors for the python-cryptography.
|
||||
|
||||
%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.
|
||||
|
||||
%package -n python3-cryptography-vectors
|
||||
Summary: This module is a test vectors for the cryptography package
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
%{?python_provide:%python_provide python3-cryptography-vectors}
|
||||
|
||||
%description -n python3-cryptography-vectors
|
||||
This package is a test vectors for the python-cryptography.
|
||||
|
||||
%prep
|
||||
%autosetup -n cryptography_vectors-%{version}
|
||||
rm -vrf cryptography_vectors.egg-info
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python2-cryptography-vectors
|
||||
%doc LICENSE LICENSE.APACHE LICENSE.BSD
|
||||
%{python2_sitelib}/cryptography_vectors/
|
||||
%{python2_sitelib}/cryptography_vectors-%{version}-py*.egg-info
|
||||
|
||||
%files -n python3-cryptography-vectors
|
||||
%doc LICENSE LICENSE.APACHE LICENSE.BSD
|
||||
%{python3_sitelib}/cryptography_vectors/
|
||||
%{python3_sitelib}/cryptography_vectors-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 2.3-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user