use correct directory for collection tarball
Related: rhbz#1961404
This commit is contained in:
parent
fb7d76631e
commit
1f04d44d20
@ -450,10 +450,12 @@ done
|
||||
|
||||
%if %{with collection_artifact}
|
||||
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
|
||||
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
|
||||
if [ -f %{collection_namespace}-%{collection_name}-%{version}.tar.gz ]; then
|
||||
mv %{collection_namespace}-%{collection_name}-%{version}.tar.gz \
|
||||
$RPM_BUILD_ROOT%{_datadir}/ansible/collections/
|
||||
fi
|
||||
popd
|
||||
%endif
|
||||
|
||||
# generate the %files section in the file files_section.txt
|
||||
|
Loading…
Reference in New Issue
Block a user