Remove outdated comments

This commit is contained in:
Maxwell G 2022-11-17 19:18:52 -06:00
commit 8535fba3a0
No known key found for this signature in database
GPG key ID: F79E4E25E8C661F8

View file

@ -12,7 +12,7 @@
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{__brp_mangle_shebangs_exclude_from}
%if 0%{?rhel} == 8
# RHEL 8's ansible-core package is built using Python 3.8, which is not the default version.
# RHEL 8's ansible-core package is built using Python 3.9, which is not the default version.
%define python3_pkgversion 39
BuildRequires: python%{python3_pkgversion}-rpm-macros
%endif
@ -188,7 +188,6 @@ xargs -a non_exec -d'\n' sed -i -e '1{\@^#!.*@d}'
# This finds the license file for each collection, moves it to
# `%%{ansible_licensedir}/collection_namespace/collection_name`, and then adds
# `%%license /path/to/license` to the %%files list.
# `-printf '%%P\n'` removes the trailing `./`.
for f in $(find . -mindepth 3 -type f \( -iname '*LICENSE*' -o -iname '*COPYING*' \) -not -name '*.py' -not -name '*.pyc' -printf '%%P\n' | grep -v '\.license$'); do
dirname="$(dirname %{buildroot}%{ansible_licensedir}/${f})"
mkdir -p "${dirname}"