Notification time stamped 2021-04-30 14:34:23 UTC
From 0d4e50e6a7371ff9a7425471211b48cb09659d85 Mon Sep 17 00:00:00 2001
From: Rich Megginson <rmeggins(a)redhat.com>
Date: Apr 28 2021 14:58:40 +0000
Subject: use correct directory for collection tarball
---
diff --git a/linux-system-roles.spec b/linux-system-roles.spec
index 22be3f0..d147049 100644
--- a/linux-system-roles.spec
+++ b/linux-system-roles.spec
@@ -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
https://src.fedoraproject.org/rpms/linux-system-roles/c/0d4e50e6a7371ff9a...