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
This commit is contained in:
parent
c9f0ca09c5
commit
9bfe278c0f
@ -26,9 +26,8 @@ License: Python-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/ahupp/python-magic
|
URL: https://github.com/ahupp/python-magic
|
||||||
Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz
|
Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: file
|
BuildRequires: file
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -49,10 +48,10 @@ supports both textual and MIME-type output.
|
|||||||
%setup -q -n python-magic-%{version}
|
%setup -q -n python-magic-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user