import ansible-pcp-2.2.2-2.el8

This commit is contained in:
CentOS Sources 2022-05-10 03:04:27 -04:00 committed by Stepan Oksanichenko
parent 2665dc11cb
commit 5e09524a64
3 changed files with 27 additions and 7 deletions

View File

@ -1 +1 @@
ab94928118391c9f2b15da234376b7775872d9d9 SOURCES/ansible-pcp-2.2.1.tar.gz 7921a5ebdf54799a87f23c9d6dc1854277475965 SOURCES/ansible-pcp-2.2.2.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ansible-pcp-2.2.1.tar.gz SOURCES/ansible-pcp-2.2.2.tar.gz

View File

@ -1,4 +1,11 @@
%if 0%{?rhel} # NOTE: Even though ansible-core is in 8.6, it is only available
# at *runtime*, not at *buildtime* - so we can't have
# ansible-core as a build_dep on RHEL8
%if 0%{?fedora} || 0%{?rhel} >= 9
%bcond_without ansible
%global ansible_build_dep ansible-core >= 2.11.0
%else
%if 0%{?rhel} && ! 0%{?epel}
%global collection_namespace redhat %global collection_namespace redhat
%global collection_name rhel_metrics %global collection_name rhel_metrics
%bcond_with ansible %bcond_with ansible
@ -6,18 +13,24 @@
%global collection_namespace performancecopilot %global collection_namespace performancecopilot
%global collection_name metrics %global collection_name metrics
%bcond_without ansible %bcond_without ansible
%global ansible_build_dep ansible >= 2.9.10
%endif
%endif %endif
Name: ansible-pcp Name: ansible-pcp
Version: 2.2.1 Version: 2.2.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Ansible Metric collection for Performance Co-Pilot Summary: Ansible Metric collection for Performance Co-Pilot
License: MIT License: MIT
URL: %{ansible_collection_url} URL: https://github.com/performancecopilot/ansible-pcp
Source: https://github.com/performancecopilot/ansible-pcp/archive/v%{version}/%{name}-%{version}.tar.gz Source: https://github.com/performancecopilot/ansible-pcp/archive/v%{version}/%{name}-%{version}.tar.gz
%if 0%{?rhel} >= 8
Requires: (ansible-core >= 2.11.0 or ansible >= 2.9.0)
%endif
%if %{with ansible} %if %{with ansible}
BuildRequires: ansible >= 2.9.10 BuildRequires: %{ansible_build_dep}
BuildRequires: python3-ansible-lint BuildRequires: python3-ansible-lint
%endif %endif
BuildArch: noarch BuildArch: noarch
@ -102,6 +115,13 @@ ansible-lint `find roles -name \*.yml`
%{ansible_collection_files} %{ansible_collection_files}
%changelog %changelog
* Tue Feb 15 2022 Nathan Scott <nathans@redhat.com> 2.2.2-2
- RHEL8.6+, RHEL9+, Fedora - add "ansible-core or ansible" dep
* Fri Nov 12 2021 Nathan Scott <nathans@redhat.com> 2.2.2-1
- Resolves Grafana provisioning issue (BZ 1967321)
- Latest upstream release (BZ 2022168)
* Thu Aug 26 2021 Nathan Scott <nathans@redhat.com> 2.2.1-1 * Thu Aug 26 2021 Nathan Scott <nathans@redhat.com> 2.2.1-1
- Latest upstream release - Latest upstream release