Latest upstream release

This commit is contained in:
Nathan Scott 2022-11-28 14:39:41 +11:00
parent 96a61a14a2
commit e9a5c930ab
4 changed files with 7 additions and 41 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/ansible-pcp-2.2.4.tar.gz
/ansible-pcp-2.2.5.tar.gz
/ansible-pcp-2.2.7.tar.gz
/ansible-pcp-2.2.8.tar.gz

View File

@ -1,37 +0,0 @@
From b89ff30a83b3e38369d6d4f4854855d492f1b31a Mon Sep 17 00:00:00 2001
From: Maxwell G <gotmax@e.email>
Date: Sat, 19 Nov 2022 14:11:20 -0600
Subject: [PATCH] build_ignore unnecessary files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
> Packagers should exclude [unnecessary] files, which SHOULD be done by
> patching the collections galaxy.yml to add these files to the
> build_ignore configuration. These files SHOULD NOT be removed with rm.
-- https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/#_unnecessary_files
---
galaxy.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/galaxy.yml b/galaxy.yml
index 1651456..1226558 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -31,5 +31,12 @@ tags:
- grafana
- redis
- pcp
+build_ignore:
+ - .github
+ - .gitignore
+ - .ansible-lint
+ - "*.yml"
+ - ".*.yaml"
+ - tests
dependencies: {}
--
2.38.1

View File

@ -1,11 +1,10 @@
Name: ansible-pcp
Version: 2.2.7
Release: 2%{?dist}
Version: 2.2.8
Release: 1%{?dist}
Summary: Ansible Metric collection for Performance Co-Pilot
License: MIT
URL: https://github.com/performancecopilot/ansible-pcp
Source: https://github.com/performancecopilot/ansible-pcp/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-build_ignore-unnecessary-files.patch
BuildArch: noarch
%if %{defined rhel}
@ -116,6 +115,9 @@ ansible-lint `find roles -name \*.yml`
%{ansible_collection_files}
%changelog
* Mon Nov 28 2022 Nathan Scott <nathans@redhat.com> 2.2.8-1
- Latest upstream release
* Sat Nov 19 2022 Maxwell G <gotmax@e.email> - 2.2.7-2
- BuildRequire ansible-packaging on Fedora
- Resolves: rhbz#2126889

View File

@ -1 +1 @@
SHA512 (ansible-pcp-2.2.7.tar.gz) = bf1e97586590dbba1e81b37b1223feb31332f82c50027d83ee301df19a2965e72f18d27681e1a5b45aef99f32618d0cffcf8e2b9b50b6c0e16841274916dd489
SHA512 (ansible-pcp-2.2.8.tar.gz) = be83de7c41f45cb0264e4b81e9f72fd76d114fa34af94d573c5436eca2611ab5f3b126657f06b82d247a6f2c65e43d925282afbf1aa4488bc4ce392539171ef4