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