Debian Codegraph @

ansible_collections/containers/podman/ansible-collection-containers-podman.spec

raw
1 %global collection_namespace containers
2 %global collection_name podman
3
4 Name: ansible-collection-%{collection_namespace}-%{collection_name}
5 Version: XXX
6 Release: 1%{?dist}
7 Summary: Podman Ansible collection for Podman containers
8
9 License: GPLv3+
10 URL: %{ansible_collection_url}
11 Source: https://github.com/containers/ansible-podman-collections/archive/%{version}.tar.gz
12
13 BuildRequires: (ansible >= 2.9.10 or ansible-core >= 2.11.0)
14
15 BuildArch: noarch
16
17 %description
18 %{summary}.
19
20 %prep
21 %autosetup -n ansible-podman-collections-%{version}
22 sed -i -e 's/version:.*/version: %{version}/' galaxy.yml
23 find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
24 rm -fvr changelogs/ ci/ contrib/ tests/ ./galaxy.yml.in .github/ .gitignore
25
26 %build
27 %ansible_collection_build
28
29 %install
30 %ansible_collection_install
31
32 %files
33 %license COPYING
34 %doc README.md
35 %{ansible_collection_files}
36
37 %changelog
38
39 * Tue Feb 09 2021 Sagi Shnaidman <[email protected]> - 1.4.1-1
40 - Initial package