Fix the placement of python3 subpackage for spectool to work
This commit is contained in:
parent
4e4e71d32e
commit
e0707a7799
@ -14,15 +14,6 @@ BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-%{module_name}
|
||||
Summary: Getting CPU info
|
||||
License: MIT
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work without
|
||||
any extra programs or libraries, beyond what your OS provides.
|
||||
@ -36,6 +27,12 @@ These approaches are used for getting info:
|
||||
Querying x86 CPUID register
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-%{module_name}
|
||||
Summary: Getting CPU info
|
||||
License: MIT
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
%description -n python3-%{module_name}
|
||||
Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work without
|
||||
any extra programs or libraries, beyond what your OS provides.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user