From db455657c3c731a483447b3a3cc28ba6099f740a22d9d65a030b6ea8f1efc184 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 14:42:34 +0000 Subject: [PATCH] - 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 --- python-scrypt.changes | 5 +++++ python-scrypt.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/python-scrypt.changes b/python-scrypt.changes index c4e4f37..3291c5b 100644 --- a/python-scrypt.changes +++ b/python-scrypt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 14:42:24 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Thu Mar 28 12:15:20 UTC 2019 - pgajdos@suse.com diff --git a/python-scrypt.spec b/python-scrypt.spec index 7a4dcbf..ef211e6 100644 --- a/python-scrypt.spec +++ b/python-scrypt.spec @@ -22,19 +22,18 @@ Version: 0.8.13 Release: 0 Summary: Bindings for scrypt License: BSD-2-Clause -Group: Development/Languages/Python -Url: http://bitbucket.org/mhallin/py-scrypt +URL: https://bitbucket.org/mhallin/py-scrypt Source0: https://files.pythonhosted.org/packages/source/s/scrypt/scrypt-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(openssl) # SECTION test requires BuildRequires: %{python_module pytest} # /SECTION -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -48,13 +47,12 @@ Bindings for the scrypt key derivation function library. %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitearch} +%python_expand %fdupes %{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__