|
|
f2e20f |
Name: rig
|
|
|
f2e20f |
Summary: Monitor a system for events and trigger specific actions
|
|
|
ddb0ad |
Version: 1.1
|
|
|
ddb0ad |
Release: 6%{?dist}
|
|
|
f2e20f |
Url: https://github.com/TurboTurtle/rig
|
|
|
f2e20f |
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
|
|
f2e20f |
License: GPLv2
|
|
|
f2e20f |
BuildArch: noarch
|
|
|
f2e20f |
|
|
|
f2e20f |
BuildRequires: python3-devel
|
|
|
f2e20f |
BuildRequires: python3-setuptools
|
|
|
f2e20f |
BuildRequires: python3dist(systemd-python)
|
|
|
f2e20f |
BuildRequires: python3dist(psutil)
|
|
|
f2e20f |
|
|
|
ddb0ad |
Patch1: rig-fix-rig-list.patch
|
|
|
ddb0ad |
Patch2: rig-full-random-temp.patch
|
|
|
ddb0ad |
|
|
|
f2e20f |
%description
|
|
|
f2e20f |
Rig is a utility designed to watch or monitor specific system resources (e.g.
|
|
|
f2e20f |
log files, journals, system activity, etc...) and then take specific action
|
|
|
f2e20f |
when the trigger condition is met. Its primary aim is to assist in
|
|
|
f2e20f |
troubleshooting and data collection for randomly occurring events.
|
|
|
f2e20f |
|
|
|
f2e20f |
%prep
|
|
|
f2e20f |
%setup -q
|
|
|
ddb0ad |
%patch1 -p1
|
|
|
ddb0ad |
%patch2 -p1
|
|
|
f2e20f |
|
|
|
f2e20f |
%build
|
|
|
f2e20f |
%py3_build
|
|
|
f2e20f |
|
|
|
f2e20f |
%install
|
|
|
f2e20f |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
f2e20f |
install -p -m644 man/en/rig.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
|
|
f2e20f |
%py3_install
|
|
|
f2e20f |
|
|
|
f2e20f |
%files
|
|
|
f2e20f |
%{_bindir}/rig
|
|
|
f2e20f |
%{_mandir}/man1/*
|
|
|
f2e20f |
|
|
|
f2e20f |
%{python3_sitelib}/rig-*.egg-info/
|
|
|
f2e20f |
%{python3_sitelib}/rigging/
|
|
|
f2e20f |
|
|
|
f2e20f |
%license LICENSE
|
|
|
f2e20f |
%doc README.md
|
|
|
f2e20f |
|
|
|
f2e20f |
%changelog
|
|
|
ddb0ad |
* Tue Jun 14 2022 Jake Hunsaker <jhunsake@redhat.com> - 1.1-6
|
|
|
ddb0ad |
- Backport change to temp dir creation to ignore rig ID
|
|
|
ddb0ad |
|
|
|
ddb0ad |
* Thu Jun 02 2022 Jake Hunsaker <jhunsake@redhat.com> - 1.1-4
|
|
|
ddb0ad |
- Backport fix for rig list race condition
|
|
|
ddb0ad |
|
|
|
ddb0ad |
* Fri May 04 2022 Jake Hunsaker <jhunsake@redhat.com> - 1.1-2
|
|
|
ddb0ad |
- Rebase to version 1.1
|
|
|
ddb0ad |
Related: RHBZ#2077096
|
|
|
ddb0ad |
|
|
|
f2e20f |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-4
|
|
|
f2e20f |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f2e20f |
Related: rhbz#1991688
|
|
|
f2e20f |
|
|
|
f2e20f |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-3
|
|
|
f2e20f |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
f2e20f |
|
|
|
f2e20f |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
|
f2e20f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f2e20f |
|
|
|
f2e20f |
* Tue Jul 28 2020 Jake Hunsaker <jhunsake@redhat.com> - 1.0-1
|
|
|
f2e20f |
- Version 1.0 release
|