Remove outdated comments
This commit is contained in:
parent
fcd24a8988
commit
8535fba3a0
1 changed files with 1 additions and 2 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue