diff --git a/.ansible-collection-ansible-utils.metadata b/.ansible-collection-ansible-utils.metadata new file mode 100644 index 0000000..2568f85 --- /dev/null +++ b/.ansible-collection-ansible-utils.metadata @@ -0,0 +1 @@ +800cf0d0c5db3df93f0bf1ee9c882fd69cb2c528 SOURCES/ansible-collection-ansible-utils-2.3.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..d26b16f --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# ansible-collection-ansible-utils + +The ansible-collection-ansible-utils package diff --git a/SPECS/ansible-collection-ansible-utils.spec b/SPECS/ansible-collection-ansible-utils.spec new file mode 100644 index 0000000..65cd5c8 --- /dev/null +++ b/SPECS/ansible-collection-ansible-utils.spec @@ -0,0 +1,44 @@ +%global collection_namespace ansible +%global collection_name utils + +Name: ansible-collection-%{collection_namespace}-%{collection_name} +Version: 2.3.0 +Release: 2%{?dist} +Summary: Ansible Network Collection for Common Code + +License: GPLv3+ +URL: %{ansible_collection_url} +Source: https://github.com/ansible-collections/ansible.utils/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: ansible >= 2.9.10 + +BuildArch: noarch + +%description +%{summary}. + +%prep +%autosetup -n ansible.utils-%{version} +sed -i -e '/version:/s/null/%{version}/' galaxy.yml +find -type f ! -executable -type f -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + +rm -fvr tests/integration tests/unit bindep.txt .pre-commit-config.yaml .yamllint changelogs/fragments/.keep +find -type f -name '.gitignore' -print -delete + +%build +%ansible_collection_build + +%install +%ansible_collection_install + +%files +%license LICENSE +%doc README.md +%{ansible_collection_files} + +%changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jul 06 2021 Sagi Shnaidman - 2.3.0-1 +- Initial package +