Name: bluebanquise-filters Summary: bluebanquise-filters Release: 1%{?dist} Version: %{_software_version} License: MIT Group: System Environment/Base URL: https://github.com/bluebanquise/ Source: https://bluebanquise.com/sources/bluebanquise-filters-%{_software_version}.tar.gz Packager: Benoit Leveugle %define debug_package %{nil} %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') %if 0%{?rhel} >= 8 Requires: python3-clustershell %endif %if 0%{?rhel} == 7 Requires: python36-clustershell %endif %description Set of filters for the BlueBanquise stack %prep %setup -q %build %install mkdir -p $RPM_BUILD_ROOT/usr/share/ansible/plugins/filter/ cp nodeset.py $RPM_BUILD_ROOT/usr/share/ansible/plugins/filter/nodeset.py %files %defattr(-,root,root,-) /usr/share/ansible/plugins/filter/nodeset.py %changelog * Mon Dec 27 2021 Johnny Keats - Fix clustershell package name * Mon May 31 2021 Benoit Leveugle - Create