From repocop@altlinux.org Mon May  4 02:19:37 MSK 2026
From: "Repocop Q. A. Robot" <repocop@altlinux.org>

Subject: repocop fix for macos-ds-store-file-in-package

(message skipped)
--- a/opennebula.spec	2026-05-04 02:19:37.795950049 +0300
+++ b/opennebula.spec	2026-05-04 02:19:37.839950684 +0300
@@ -665,6 +665,12 @@
 sed -i 's|/usr/bin/env python|%__python3|' \
     %buildroot/usr/lib/one/sunstone/public/bower_components/no-vnc/utils/*.py
 
+# There is a file in the package named .DS_Store or .DS_Store.gz, 
+# the file name used by Mac OS X to store folder attributes.  
+# Such files are generally useless in packages and were usually accidentally 
+# included by copying complete directories from the source tarball.
+find $RPM_BUILD_ROOT \( -name '*.DS_Store' -o -name '*.DS_Store.gz' \) -print -delete
+
 %pre common
 groupadd -r -f -g %oneadmin_gid oneadmin 2>/dev/null ||:
 useradd -r -M -g oneadmin -G disk,wheel -c 'Opennebula Daemon User' \
