From f7bffeadf39a89bc13717b409c6ec671ced9072697c292f782996a2d20945f4a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 Dec 2022 17:47:41 +0000 Subject: [PATCH] Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=35 --- python-smbprotocol.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index 71c1969..52f11ca 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -26,10 +26,12 @@ URL: https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module cryptography >= 2.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyspnego} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 @@ -59,10 +61,10 @@ Features %setup -q -n smbprotocol-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check