-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpython-fact_inventory.spec
More file actions
65 lines (43 loc) · 1.48 KB
/
Copy pathpython-fact_inventory.spec
File metadata and controls
65 lines (43 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Name: python-fact_inventory
Version: 0.1.0
Release: 1%{?dist}
BuildArch: noarch
License: AGPL-3.0-or-later
URL: https://github.com/fermitools/python-fact_inventory
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: redhat-rpm-config
BuildRequires: sed
BuildRequires: ansible-packaging
%if 0%{?rhel} > 8
BuildRequires: ansible-packaging-tests
%endif
Summary: System fact inventory collection and storage
%description
Fact inventory system for collecting, storing, and managing host facts
across infrastructure.
%package -n ansible-collection-fermilab-fact_inventory
Summary: Fact inventory compatible Ansible role
%description -n ansible-collection-fermilab-fact_inventory
Provides a fact-inventory compatible Ansible client role for
collecting system, package, and local facts from target hosts
and submitting them to the fact-inventory API.
%prep
%autosetup
%build
cd client/ansible_collections/fermilab/fact_inventory
sed -i -e 's/^version: 0.0.0$/version: %{version}/' galaxy.yml
%ansible_collection_build
%install
cd client/ansible_collections/fermilab/fact_inventory
%ansible_collection_install
%check
cd client/ansible_collections/fermilab/fact_inventory
%if 0%{?rhel} > 8
%ansible_test_unit
%endif
%files -n ansible-collection-fermilab-fact_inventory -f %{ansible_collection_filelist}
%license LICENSE
%doc client/ansible_collections/fermilab/fact_inventory/README.md
%changelog
* Thu Aug 20 2026 Pat Riehecky <riehecky@fnal.gov> - 0.1.0
- Initial package