diff --git a/pynacl-1.2.1.tar.gz b/pynacl-1.2.1.tar.gz deleted file mode 100644 index 90684464138581d6e5ef79574b50170525239058..0000000000000000000000000000000000000000 Binary files a/pynacl-1.2.1.tar.gz and /dev/null differ diff --git a/pynacl-1.4.0.tar.gz b/pynacl-1.4.0.tar.gz new file mode 100755 index 0000000000000000000000000000000000000000..c416e24a9d2b43415a7c7922200df4e3ab156f6d Binary files /dev/null and b/pynacl-1.4.0.tar.gz differ diff --git a/python-pynacl.spec b/python-pynacl.spec index 13d9513d120e4c5295e0c0f8d9902d315ad3f2b2..de2f74f1794a18f24bbd56c79600982f8aaac8c4 100644 --- a/python-pynacl.spec +++ b/python-pynacl.spec @@ -2,8 +2,8 @@ Name: python-pynacl Summary: Python binding to the libsodium library -Version: 1.2.1 -Release: 5 +Version: 1.4.0 +Release: 1 License: ASL 2.0 URL: https://github.com/pyca/pynacl Source0: https://github.com/pyca/pynacl/archive/%{version}/pynacl-%{version}.tar.gz @@ -15,23 +15,12 @@ PyNaCl is a Python binding to libsodium, which is a fork of the Networking and C These libraries have a stated goal of improving usability, security and speed. It supports Python 2.7 and 3.4+ as well as PyPy 2.6+. -%package -n python2-pynacl -Summary: Python binding to the libsodium library - -BuildRequires: python2-devel python2-setuptools python2-cffi >= 1.4.1 -BuildRequires: python2-six python2-pytest >= 3.2.1 python2-hypothesis >= 3.27.0 -%{?python_provide:%python_provide python2-pynacl} - -%description -n python2-pynacl -PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library. -These libraries have a stated goal of improving usability, security and speed. python2-pynacl supports -Python 2.7 as well as PyPy 2.6+. - %package -n python3-pynacl Summary: Python binding to the libsodium library BuildRequires: python3-devel python3-setuptools python3-cffi >= 1.4.1 BuildRequires: python3-six python3-pytest >= 3.2.1 python3-hypothesis >= 3.27.0 +BuildRequires: python3-wheel %{?python_provide:%python_provide python3-pynacl} %description -n python3-pynacl @@ -45,25 +34,16 @@ rm -vrf src/libsodium/ %build export SODIUM_INSTALL=system -%py2_build %py3_build %install -%py2_install %py3_install %check %if %{with check} -PYTHONPATH=%{buildroot}%{python2_sitearch} py.test-2 -v PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v %endif -%files -n python2-pynacl -%license LICENSE -%doc README.rst -%{python2_sitearch}/PyNaCl-*.egg-info/ -%{python2_sitearch}/nacl/ - %files -n python3-pynacl %license LICENSE %doc README.rst @@ -71,6 +51,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v %{python3_sitearch}/nacl/ %changelog +* Tue Jun 15 2020 zhanzhimin - 1.4.0-1 +- update package to 1.4.0 + * Fri Aug 21 2020 openEuler Buildteam - 1.2.1-5 - Add release version for rebuild