diff --git a/PyNaCl-1.1.2.tar.gz b/PyNaCl-1.1.2.tar.gz deleted file mode 100644 index 1a61900..0000000 --- a/PyNaCl-1.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32f52b754abf07c319c04ce16905109cab44b0e7f7c79497431d3b2000f8af8c -size 3099766 diff --git a/PyNaCl-1.2.1.tar.gz b/PyNaCl-1.2.1.tar.gz new file mode 100644 index 0000000..de2c1e5 --- /dev/null +++ b/PyNaCl-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0d38fa0a75f65f556fb912f2c6790d1fa29b7dd27a1d9cc5591b281321eaaa9 +size 3256719 diff --git a/python-PyNaCl.changes b/python-PyNaCl.changes index 1c571df..253f677 100644 --- a/python-PyNaCl.changes +++ b/python-PyNaCl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 22 14:13:04 UTC 2017 - mimi.vx@gmail.com + +- update to 1.2.1 +- use system libsodium + ------------------------------------------------------------------- Sun Jun 11 16:20:28 UTC 2017 - mimi.vx@gmail.com diff --git a/python-PyNaCl.spec b/python-PyNaCl.spec index 9e3235e..84396e9 100644 --- a/python-PyNaCl.spec +++ b/python-PyNaCl.spec @@ -1,3 +1,4 @@ +# # spec file for package python-PyNaCl # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. @@ -12,26 +13,28 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyNaCl -Version: 1.1.2 +Version: 1.2.1 Release: 0 -License: Apache-2.0 Summary: Python binding to the Networking and Cryptography (NaCl) library -Url: https://github.com/pyca/pynacl/ +License: Apache-2.0 Group: Development/Languages/Python -Source: https://pypi.python.org/packages/8d/f3/02605b056e465bf162508c4d1635a2bccd9abd1ee3ed2a1bb4e9676eac33/PyNaCl-%{version}.tar.gz +Url: https://github.com/pyca/pynacl/ +Source: https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz BuildRequires: %{python_module base} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module cffi} -BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pycparser} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libsodium) Requires: python-six -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -41,8 +44,10 @@ speed. %prep %setup -q -n PyNaCl-%{version} +rm -Rf src/libsodium %build +export SODIUM_INSTALL="system" %python_build %install @@ -50,9 +55,8 @@ speed. %python_expand %fdupes %{buildroot}/%{$python_sitearch} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitearch}/* %changelog -