From 9c0a54b5d751c3305617e9ef213df28d63320012 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Aug 20 2020 19:19:56 +0000 Subject: Initial import Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a813397 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ansible-collection-ansible-posix-1.1.0.tar.gz diff --git a/ansible-collection-ansible-posix.spec b/ansible-collection-ansible-posix.spec new file mode 100644 index 0000000..8d11d1d --- /dev/null +++ b/ansible-collection-ansible-posix.spec @@ -0,0 +1,40 @@ +%global collection_namespace ansible +%global collection_name posix + +Name: ansible-collection-%{collection_namespace}-%{collection_name} +Version: 1.1.0 +Release: 1%{?dist} +Summary: Ansible Collection targeting POSIX and POSIX-ish platforms + +# plugins/module_utils/mount.py: Python Software Foundation License version 2 +License: GPLv3+ and Python +URL: %{ansible_collection_url} +Source: https://github.com/ansible-collections/ansible.posix/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: ansible >= 2.9.10 + +BuildArch: noarch + +%description +%{summary}. + +%prep +%autosetup -n ansible.posix-%{version} +rm -vr tests/{integration,utils} .github +find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + +find -type f -name '.gitignore' -print -delete + +%build +%ansible_collection_build + +%install +%ansible_collection_install + +%files +%license COPYING +%doc README.md +%{ansible_collection_files} + +%changelog +* Sun Aug 09 2020 Igor Raits - 1.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..ace3157 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ansible-collection-ansible-posix-1.1.0.tar.gz) = 16dfd61ab72e70e3f4b77f80cbcc509300914d453fa0f9363ceca10816fe8b98e100c717381cbeffd4a85f7b2e076465e4dab3a0b11e019111d1027976965e9b