diff --git a/python-python-magic.spec b/python-python-magic.spec index e988aeb..6513e4e 100644 --- a/python-python-magic.spec +++ b/python-python-magic.spec @@ -26,9 +26,8 @@ License: Python-2.0 Group: Development/Languages/Python URL: https://github.com/ahupp/python-magic Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz -BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} +BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: file BuildRequires: python-rpm-macros @@ -49,10 +48,10 @@ supports both textual and MIME-type output. %setup -q -n python-magic-%{version} %build -%pyproject_wheel +%python_build %install -%pyproject_install +%python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check