import CS ansible-pcp-2.3.0-1.el9

This commit is contained in:
eabdullin 2024-03-28 09:47:10 +00:00
parent d70ac9f5d3
commit cb1f9d5b7a
3 changed files with 7 additions and 6 deletions

View File

@ -1 +1 @@
3d59038ddce9900044249a9fd31aa7a606dcb224 SOURCES/ansible-pcp-2.2.7.tar.gz
d8813fc9c3ee048a2a7f69c7e4aed8012adb9802 SOURCES/ansible-pcp-2.3.0.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ansible-pcp-2.2.7.tar.gz
SOURCES/ansible-pcp-2.3.0.tar.gz

View File

@ -1,5 +1,5 @@
Name: ansible-pcp
Version: 2.2.7
Version: 2.3.0
Release: 1%{?dist}
Summary: Ansible Metric collection for Performance Co-Pilot
License: MIT
@ -89,11 +89,10 @@ of performance data.
%prep
%autosetup
mv .yamllint.yml yamllint.yml
mv .yamllint_defaults.yml yamllint_defaults.yml
%if 0%{?rhel}
rm -vr roles/repository tests/*repository* tests/*/*repository* docs/repository
%endif
rm -vr .github .gitignore .ansible-lint .*.yml
rm -vr .github .gitignore .ansible-lint
sed -i \
-e 's/^name: .*/name: %{collection_name}/g' \
-e 's/^namespace: .*/namespace: %{collection_namespace}/g' \
@ -122,7 +121,6 @@ tar -xf %{_tmppath}/%{collection_namespace}-%{collection_name}-%{version}.tar.gz
%check
mv yamllint.yml .yamllint.yml
mv yamllint_defaults.yml .yamllint_defaults.yml
%if %{with ansible_lint}
ansible-lint `find roles -name \*.yml`
%endif
@ -133,6 +131,9 @@ ansible-lint `find roles -name \*.yml`
%{ansible_collection_files}
%changelog
* Tue Nov 28 2023 Nathan Scott <nathans@redhat.com> 2.3.0-1
- Latest upstream release (RHEL-17430)
* Fri Oct 28 2022 Nathan Scott <nathans@redhat.com> 2.2.7-1
- Latest upstream release (BZ 2132847)