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