forked from pool/python-scrypt
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scrypt?expand=0&rev=5
This commit is contained in:
parent
1e5f39a209
commit
db455657c3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 14:42:24 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 28 12:15:20 UTC 2019 - pgajdos@suse.com
|
Thu Mar 28 12:15:20 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -22,19 +22,18 @@ Version: 0.8.13
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Bindings for scrypt
|
Summary: Bindings for scrypt
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
URL: https://bitbucket.org/mhallin/py-scrypt
|
||||||
Url: http://bitbucket.org/mhallin/py-scrypt
|
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/scrypt/scrypt-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/s/scrypt/scrypt-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
# SECTION test requires
|
# SECTION test requires
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,13 +47,12 @@ Bindings for the scrypt key derivation function library.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -mpytest
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -mpytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%pycache_only %{python_sitearch}/scrypt/__pycache__
|
%pycache_only %{python_sitearch}/scrypt/__pycache__
|
||||||
|
Loading…
Reference in New Issue
Block a user