rig/SPECS/rig.spec

67 lines
1.7 KiB
RPMSpec
Raw Normal View History

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