2 Commits

2 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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) 2024 SUSE LLC # Copyright (c) 2025 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,7 +25,9 @@ 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
@@ -43,10 +45,10 @@ dos2unix -R README.rst scrypt/*.py
sed -i '1{/^#!/ d}' scrypt/*.py sed -i '1{/^#!/ d}' scrypt/*.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
@@ -55,9 +57,8 @@ sed -i '1{/^#!/ d}' scrypt/*.py
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%pycache_only %{python_sitearch}/scrypt/__pycache__ %{python_sitearch}/_scrypt.cpython-*-linux-gnu.so
%{python_sitearch}/_scrypt*.so %{python_sitearch}/scrypt
%{python_sitearch}/scrypt/ %{python_sitearch}/scrypt-%{version}.dist-info
%{python_sitearch}/scrypt-%{version}-py%{python_version}.egg-info
%changelog %changelog