diff --git a/rig.spec b/rig.spec index 09ff8a1bb8a3bc282eeb148b24bde9908241f989..635134cd36d56581d4713dc5366103f552b6ae08 100644 --- a/rig.spec +++ b/rig.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: rig Summary: Monitor a system for events and trigger specific actions Version: 1.0 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} Url: https://github.com/TurboTurtle/rig Source0: %{url}/archive/%{name}-%{version}.tar.gz License: GPLv2 @@ -15,12 +16,22 @@ BuildRequires: python3-setuptools BuildRequires: python3dist(systemd-python) BuildRequires: python3dist(psutil) +Provides: /usr/bin/rig + %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. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -40,9 +51,15 @@ install -p -m644 man/en/rig.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/ %{python3_sitelib}/rigging/ %license LICENSE + +%files doc %doc README.md %changelog +* Sat Jul 16 2022 Xiaoping Liu - 1.0-3.0.1 +- Add doc sub package + + * Mon Oct 04 2021 Jake Hunsaker - 1.0-3 - Rebuilt for RHEL 8.6.0 - RHBZ#1888705