|
|
|
@ -35,28 +35,15 @@ Group: Development/Languages
@@ -35,28 +35,15 @@ Group: Development/Languages
|
|
|
|
|
%{_desc} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-psutil |
|
|
|
|
%package -n python3-psutil |
|
|
|
|
Summary: %{_sum} |
|
|
|
|
Group: Development/Languages |
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-psutil} |
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-psutil |
|
|
|
|
%description -n python3-psutil |
|
|
|
|
%{_desc} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?python3_other_pkgversion} |
|
|
|
|
%package -n python%{python3_other_pkgversion}-psutil |
|
|
|
|
Summary: %{_sum} |
|
|
|
|
Group: Development/Languages |
|
|
|
|
%{?python_provide:%python_provide python%{python3_other_pkgversion}-psutil} |
|
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_other_pkgversion}-devel |
|
|
|
|
|
|
|
|
|
%description -n python%{python3_other_pkgversion}-psutil |
|
|
|
|
%{_desc} |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%autosetup -n %{short_name}-%{version} |
|
|
|
|
|
|
|
|
@ -69,18 +56,13 @@ done
@@ -69,18 +56,13 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%py2_build |
|
|
|
|
%py3_build |
|
|
|
|
%if 0%{?python3_other_pkgversion} |
|
|
|
|
%py3_other_build |
|
|
|
|
%endif |
|
|
|
|
%{__python2} setup.py build |
|
|
|
|
%{__python3} setup.py build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
%py2_install |
|
|
|
|
%py3_install |
|
|
|
|
%if 0%{?python3_other_pkgversion} |
|
|
|
|
%py3_other_install |
|
|
|
|
%endif |
|
|
|
|
%{__python2} setup.py install --optimize 2 --root %{buildroot} |
|
|
|
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-psutil |
|
|
|
@ -99,15 +81,6 @@ done
@@ -99,15 +81,6 @@ done
|
|
|
|
|
%{python3_sitearch}/*.so |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?python3_other_pkgversion} |
|
|
|
|
%files -n python%{python3_other_pkgversion}-psutil |
|
|
|
|
%license LICENSE |
|
|
|
|
%doc CREDITS HISTORY.rst README.rst TODO |
|
|
|
|
%{python3_other_sitearch}/%{short_name}/ |
|
|
|
|
%{python3_other_sitearch}/*.egg-info |
|
|
|
|
%{python3_other_sitearch}/*.so |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Sun Nov 12 2018 Orion Poplawski <orion@nwra.com> - 2.2.1-4 |
|
|
|
|