## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/shirou/gopsutil %global goipath github.com/shirou/gopsutil Version: 3.21.6 %gometa %global common_description %{expand: This is a port of psutil (https://github.com/giampaolo/psutil). The challenge is porting all psutil functions on some architectures.} %global golicenses LICENSE %global godocs README.rst Name: %{goname} Release: %autorelease Summary: Psutil for golang License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/tklauser/go-sysconf) BuildRequires: golang(golang.org/x/sys/unix) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # host: needs access to /var/run # net: needs network %gocheck -d cpu -d disk -d host -d net -d process -d v3/cpu -d v3/disk -d v3/host -d v3/net -d v3/process %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 3.21.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 3.21.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 30 2021 Robert-André Mauchin 3.21.6-1 - Update to 3.21.6 Close: rhbz#1923008 * Thu Jul 22 2021 Fedora Release Engineering - 3.20.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.20.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 5 21:07:18 CET 2021 Robert-André Mauchin - 3.20.12-1 - Update to 3.20.12 - Close: rhbz#1911872 * Mon Dec 21 13:01:30 CET 2020 Robert-André Mauchin - 3.20.11-1 - Update to 3.20.11 - Close: rhbz#1866210 * Sun Aug 02 18:03:20 CEST 2020 Robert-André Mauchin - 2.20.6-1 - Update to 2.20.6 * Mon Jul 27 2020 Fedora Release Engineering - 2.19.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.19.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 00:36:08 CEST 2019 Robert-André Mauchin - 2.19.6-1 - Release 2.19.6 * Sun May 12 18:09:03 CEST 2019 Robert-André Mauchin - 2.19.05-1 - Release 2.19.05 * Tue Apr 02 15:42:16 CET 2019 Robert-André Mauchin - 2.19.03-1 - Release 2.19.03 (#1694755) * Sun Mar 17 2019 Robert-André Mauchin - 2.19.02-1 - Release 2.19.02 (#1689419) * Fri Feb 01 2019 Fedora Release Engineering - 2.18.05-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.18.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Robert-André Mauchin - 2.18.05-1 - Bump to 2.18.05 * Wed May 02 2018 Robert-André Mauchin - 2.18.04-1 - First package for Fedora