diff --git a/python-pyotp.changes b/python-pyotp.changes index 3f763b7..ad066ff 100644 --- a/python-pyotp.changes +++ b/python-pyotp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 11:25:48 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Dec 26 15:44:10 UTC 2023 - ecsos diff --git a/python-pyotp.spec b/python-pyotp.spec index ed1dc90..b23bf11 100644 --- a/python-pyotp.spec +++ b/python-pyotp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyotp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,11 +27,12 @@ URL: https://github.com/pyauth/pyotp Source: https://files.pythonhosted.org/packages/source/p/pyotp/pyotp-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -42,10 +43,10 @@ or multi-factor (MFA) authentication methods in web applications and in other sy %setup -q -n pyotp-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -54,6 +55,7 @@ or multi-factor (MFA) authentication methods in web applications and in other sy %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/pyotp +%{python_sitelib}/pyotp-%{version}*-info %changelog