diff --git a/_service b/_service deleted file mode 100644 index f215f16..0000000 --- a/_service +++ /dev/null @@ -1,19 +0,0 @@ - - - 1.3 - https://github.com/dlitz/python-pbkdf2.git - python-pbkdf2 - git - 0d434eb - - - gz - _service:tar_scm:python-pbkdf2*.tar - - - python-pbkdf2.spec - - - _service:set_version:python-pbkdf2.spec - - diff --git a/pbkdf2-1.3.tar.gz b/pbkdf2-1.3.tar.gz new file mode 100644 index 0000000..7a13d74 --- /dev/null +++ b/pbkdf2-1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac6397369f128212c43064a2b4878038dab78dab41875364554aaf2a684e6979 +size 6360 diff --git a/python-pbkdf2.changes b/python-pbkdf2.changes index 493667f..6febd54 100644 --- a/python-pbkdf2.changes +++ b/python-pbkdf2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 17 16:58:49 UTC 2017 - mimi.vx@gmail.com + +- remove useless _service +- fix rpmlint warnings + ------------------------------------------------------------------- Mon Nov 6 19:30:27 UTC 2017 - marec@detebe.org diff --git a/python-pbkdf2.spec b/python-pbkdf2.spec index d65d4e5..37b7e62 100644 --- a/python-pbkdf2.spec +++ b/python-pbkdf2.spec @@ -1,27 +1,37 @@ # # spec file for package python-pbkdf2 # +# Copyright (c) 2017 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pbkdf2 -Version: 0 +Version: 1.3 Release: 0 Summary: PKCS#5 v2.0 PBKDF2 Module License: MIT Group: Development/Libraries/Python Url: http://www.dlitz.net/software/%{name}/ -Source: %{name}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pbkdf2/pbkdf2-%{version}.tar.gz BuildArch: noarch BuildRequires: %{python_module base} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module nose} BuildRequires: %{python_module pycrypto} +BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -%ifpython2 -Requires: python2-pycrypto -%endif -%ifpython3 -Requires: python3-pycrypto -%endif +Requires: python-pycrypto %python_subpackages @@ -29,7 +39,9 @@ Requires: python3-pycrypto This module implements the password-based key derivation function, PBKDF2, specified in RSA PKCS#5 v2.0. %prep -%setup -q +%setup -q -n pbkdf2-%{version} +chmod a-x pbkdf2.py +sed -i '1d' pbkdf2.py %build %python_build @@ -38,7 +50,7 @@ This module implements the password-based key derivation function, PBKDF2, speci %python_install %check -%python_exec setup.py test +%python_expand nosetests-%{python_bin_suffix} %files %python_files %defattr(-,root,root,-)