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