diff --git a/python-scrypt.changes b/python-scrypt.changes index 2f2dc39..c4e4f37 100644 --- a/python-scrypt.changes +++ b/python-scrypt.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Mar 28 12:15:20 UTC 2019 - pgajdos@suse.com + +- version update to 0.8.13 + * improve build for conda forge + * Add SCRYPT_WINDOWS_LINK_LEGACY_OPENSSL environment variable, + when set, openssl 1.0.2 is linked + * fix build for conda feedstock + * use the static libcrypto_static for windows and openssl 1.1.1 +- enable testsuite +- package LICENSE + ------------------------------------------------------------------- Mon Dec 10 12:06:44 UTC 2018 - Thomas Bechtold diff --git a/python-scrypt.spec b/python-scrypt.spec index cd4e972..7a4dcbf 100644 --- a/python-scrypt.spec +++ b/python-scrypt.spec @@ -1,7 +1,7 @@ # # spec file for package python-scrypt # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-scrypt -Version: 0.8.6 +Version: 0.8.13 Release: 0 Summary: Bindings for scrypt License: BSD-2-Clause @@ -29,8 +29,11 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc -BuildRequires: pkgconfig(openssl) BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(openssl) +# SECTION test requires +BuildRequires: %{python_module pytest} +# /SECTION BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages @@ -47,9 +50,13 @@ Bindings for the scrypt key derivation function library. %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitearch} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -mpytest + %files %{python_files} %defattr(-,root,root) %doc README.rst +%license LICENSE %pycache_only %{python_sitearch}/scrypt/__pycache__ %{python_sitearch}/_scrypt*.so %{python_sitearch}/scrypt/ diff --git a/scrypt-0.8.13.tar.gz b/scrypt-0.8.13.tar.gz new file mode 100644 index 0000000..5f363eb --- /dev/null +++ b/scrypt-0.8.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1377b1adc98c4152694bf5d7e93b41a9d2e9060af69b747cfad8c93ac426f9ea +size 53606 diff --git a/scrypt-0.8.6.tar.gz b/scrypt-0.8.6.tar.gz deleted file mode 100644 index 91635df..0000000 --- a/scrypt-0.8.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8239b2d47fa1d40bc27efd231dc7083695d10c1c2ac51a99380360741e0362d -size 52986