|
|
99f5da |
Name: rig
|
|
|
99f5da |
Summary: Monitor a system for events and trigger specific actions
|
|
|
d3a545 |
Version: 1.1
|
|
|
99f5da |
Release: 3%{?dist}
|
|
|
99f5da |
Url: https://github.com/TurboTurtle/rig
|
|
|
99f5da |
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
|
|
99f5da |
License: GPLv2
|
|
|
99f5da |
BuildArch: noarch
|
|
|
99f5da |
|
|
|
99f5da |
Requires: python3dist(systemd-python)
|
|
|
99f5da |
Requires: python3dist(psutil)
|
|
|
99f5da |
|
|
|
99f5da |
BuildRequires: python3-devel
|
|
|
99f5da |
BuildRequires: python3-setuptools
|
|
|
99f5da |
BuildRequires: python3dist(systemd-python)
|
|
|
99f5da |
BuildRequires: python3dist(psutil)
|
|
|
99f5da |
|
|
|
d3a545 |
Patch1: rig-fix-rig-list.patch
|
|
|
d3a545 |
Patch2: rig-full-random-temp.patch
|
|
|
d3a545 |
|
|
|
99f5da |
%description
|
|
|
99f5da |
Rig is a utility designed to watch or monitor specific system resources (e.g.
|
|
|
99f5da |
log files, journals, system activity, etc...) and then take specific action
|
|
|
99f5da |
when the trigger condition is met. Its primary aim is to assist in
|
|
|
99f5da |
troubleshooting and data collection for randomly occurring events.
|
|
|
99f5da |
|
|
|
99f5da |
%prep
|
|
|
99f5da |
%setup -q
|
|
|
d3a545 |
%patch1 -p1
|
|
|
d3a545 |
%patch2 -p1
|
|
|
99f5da |
|
|
|
99f5da |
%build
|
|
|
99f5da |
%py3_build
|
|
|
99f5da |
|
|
|
99f5da |
%install
|
|
|
99f5da |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
99f5da |
install -p -m644 man/en/rig.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
|
|
99f5da |
%py3_install
|
|
|
99f5da |
|
|
|
99f5da |
%files
|
|
|
99f5da |
%{_bindir}/rig
|
|
|
99f5da |
%{_mandir}/man1/*
|
|
|
99f5da |
|
|
|
99f5da |
%{python3_sitelib}/rig-*.egg-info/
|
|
|
99f5da |
%{python3_sitelib}/rigging/
|
|
|
99f5da |
|
|
|
99f5da |
%license LICENSE
|
|
|
99f5da |
%doc README.md
|
|
|
99f5da |
|
|
|
99f5da |
%changelog
|
|
|
d3a545 |
* Mon Jun 13 2022 Jake Hunsaker <jhunsake@redhat.com> - 1.1-3
|
|
|
d3a545 |
- Backport change to temp dir creation to ignore rig ID
|
|
|
d3a545 |
|
|
|
d3a545 |
* Tue May 31 2022 Jake Hunsaker <jhunsake@redhat.com> - 1.1-2
|
|
|
d3a545 |
- Backport fix of rig list race condition
|
|
|
d3a545 |
|
|
|
d3a545 |
* Fri Apr 22 2022 Jake Hunsaker <jhunsake@redhat.com> - 1.1-1
|
|
|
d3a545 |
- Rebase to version 1.1
|
|
|
d3a545 |
Related: RHBZ#2064752
|
|
|
d3a545 |
|
|
|
99f5da |
* Mon Oct 04 2021 Jake Hunsaker <jhunsake@redhat.com> - 1.0-3
|
|
|
99f5da |
- Rebuilt for RHEL 8.6.0
|
|
|
99f5da |
- RHBZ#1888705
|
|
|
99f5da |
|
|
|
99f5da |
* Tue Jul 28 2020 Jake Hunsaker <jhunsake@redhat.com> - 1.0-1
|
|
|
99f5da |
- Version 1.0 release
|