forked from containers/ansible-podman-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathansible-collection-containers-podman.spec
More file actions
40 lines (29 loc) · 1.03 KB
/
ansible-collection-containers-podman.spec
File metadata and controls
40 lines (29 loc) · 1.03 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
%global collection_namespace containers
%global collection_name podman
Name: ansible-collection-%{collection_namespace}-%{collection_name}
Version: XXX
Release: 1%{?dist}
Summary: Podman Ansible collection for Podman containers
License: GPLv3+
URL: %{ansible_collection_url}
Source: https://github.com/containers/ansible-podman-collections/archive/%{version}.tar.gz
BuildRequires: (ansible >= 2.9.10 or ansible-core >= 2.11.0)
BuildArch: noarch
%description
%{summary}.
%prep
%autosetup -n ansible-podman-collections-%{version}
sed -i -e 's/version:.*/version: %{version}/' galaxy.yml
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
rm -fvr changelogs/ ci/ contrib/ tests/ ./galaxy.yml.in .github/ .gitignore
%build
%ansible_collection_build
%install
%ansible_collection_install
%files
%license COPYING
%doc README.md
%{ansible_collection_files}
%changelog
* Tue Feb 09 2021 Sagi Shnaidman <sshnaidm@redhat.com> - 1.4.1-1
- Initial package