14
0
forked from pool/python-scrypt

2 Commits

2 changed files with 7 additions and 13 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:21 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 29 22:18:21 UTC 2024 - Dirk Müller <dmueller@suse.com> Tue Oct 29 22:18:21 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-scrypt # spec file for package python-scrypt
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,9 +25,7 @@ License: BSD-2-Clause
URL: https://github.com/holgern/py-scrypt URL: https://github.com/holgern/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 pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc BuildRequires: gcc
@@ -45,10 +43,10 @@ dos2unix -R README.rst scrypt/*.py
sed -i '1{/^#!/ d}' scrypt/*.py sed -i '1{/^#!/ d}' scrypt/*.py
%build %build
%pyproject_wheel %python_build
%install %install
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
@@ -57,8 +55,9 @@ sed -i '1{/^#!/ d}' scrypt/*.py
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitearch}/_scrypt.cpython-*-linux-gnu.so %pycache_only %{python_sitearch}/scrypt/__pycache__
%{python_sitearch}/scrypt %{python_sitearch}/_scrypt*.so
%{python_sitearch}/scrypt-%{version}.dist-info %{python_sitearch}/scrypt/
%{python_sitearch}/scrypt-%{version}-py%{python_version}.egg-info
%changelog %changelog