This commit is contained in:
Your Name 2025-02-10 19:53:03 +00:00
parent de545aa532
commit 76b0ecf606
2 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,3 @@
sources: sources:
psutil-5.6.7.tar.gz: 9ea8f25fe66897d9a2354708e769da530fb4687d psutil-5.6.7.tar.gz: 9ea8f25fe66897d9a2354708e769da530fb4687d
release-5.6.7.tar.gz: 9ea8f25fe66897d9a2354708e769da530fb4687d release-6.1.1.tar.gz: 259b7a6f5ce754c3a5d13077df4a4df569132679

View file

@ -7,17 +7,20 @@
%global __provides_exclude_from ^(%{python2_sitearch}|%{python38_sitearch})/.*\\.so$ %global __provides_exclude_from ^(%{python2_sitearch}|%{python38_sitearch})/.*\\.so$
Name: python-%{srcname} Name: python-%{srcname}
Version: 5.6.7 Version: 6.1.1
Release: 1 Release: 1
Summary: %{sum} Summary: %{sum}
Group: Development/Python Group: Development/Python
License: BSD License: BSD
URL: https://github.com/giampaolo/psutil URL: https://github.com/giampaolo/psutil
Source0: https://github.com/giampaolo/psutil/archive/release-%{version}.tar.gz#/%{srcname}-%{version}.tar.gz Source0: %{url}/archive/release-%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python38-devel BuildRequires: pkgconfig(python)
BuildRequires: pythonegg-setuptools
BuildRequires: pkgconfig(python-3.8)
BuildRequires: python38-setuptools
%description %description
psutil is a module providing an interface for retrieving information on all psutil is a module providing an interface for retrieving information on all
@ -50,13 +53,19 @@ done
%build %build
%py_build
%py38_build %py38_build
%install %install
%py_install
%py38_install %py38_install
%files -n python38-%{srcname} %files -n python38-%{srcname}
%doc CREDITS HISTORY.rst README.rst LICENSE %doc CREDITS HISTORY.rst README.rst LICENSE
%{python38_sitearch}/%{srcname}/ %{python38_sitearch}/%{srcname}/
%{python38_sitearch}/*.egg-info %{python38_sitearch}/*.egg-info
%files
%doc CREDITS HISTORY.rst README.rst LICENSE
%{python_sitearch}/%{srcname}/
%{python_sitearch}/*.egg-info