## START: Set by rpmautospec ## (rpmautospec version 0.3.8) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/ansible-collections/community.internal_test_tools %bcond tests 1 Name: ansible-collection-community-internal_test_tools Version: 0.11.0 %global tag %{version} %forgemeta Release: %autorelease Summary: Internal test tools for other collections License: GPL-3.0-or-later URL: %{ansible_collection_url community internal_test_tools} Source: %{forgesource} Patch: build_ignore.patch Patch: remove-python-mock.patch BuildArch: noarch BuildRequires: ansible-packaging %if %{with tests} BuildRequires: ansible-packaging-tests %endif %description The community.library_inventory_filtering_v1 collection includes helpers for use with other collections that allow inventory plugins to offer common filtering functionality. %prep %autosetup -p1 %{forgesetupargs} find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + %build %ansible_collection_build %install %ansible_collection_install %check %ansible_test_unit %files -f %{ansible_collection_filelist} %license COPYING LICENSES .reuse CHANGELOG.rst.license %doc README.md CHANGELOG.rst %changelog ## START: Generated by rpmautospec * Fri Feb 02 2024 Maxwell G - 0.11.0-1 - Uncommitted changes ## END: Generated by rpmautospec