From repocop@altlinux.org Tue Apr 14 02:32:36 MSK 2026
From: "Repocop Q. A. Robot" <repocop@altlinux.org>

Subject: repocop NMU

- NMU (by repocop). See http://www.altlinux.org/Tools/Repocop
- applied repocop fixes:
  * macos-resource-fork-file-in-package for python3-module-icdiff

--- a/icdiff.spec	2026-04-14 02:32:36.695516896 +0300
+++ b/icdiff.spec	2026-04-14 02:32:36.695516896 +0300
@@ -57,6 +57,15 @@
 %install
 %python3_install
 
+# There is a file in the package with a name starting with <tt>._</tt>, 
+# the file name pattern used by Mac OS X to store resource forks in non-native 
+# file systems. 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 '._*' -size 1 -print0 | xargs -0 grep -lZ 'Mac OS X' -- | xargs -0 rm -f
+# for ones installed as %%doc
+find . -name '._*' -size 1 -print0 | xargs -0 grep -lZ 'Mac OS X' -- | xargs -0 rm -f
+
+
 #mkdir -p %buildroot%_bindir
 #install -p -m755 %oname %buildroot%_bindir/%oname
 #install -p -m755 git-%oname %buildroot%_bindir/git-%oname
