From 9bfe278c0f584e857f1768bcc226eacb6114396e65da3d43b493044c1801f13b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 16 Feb 2022 18:23:59 +0000 Subject: [PATCH] Rollback to python setup.py method for now. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=20 --- python-python-magic.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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