From repocop@altlinux.org Fri Mar  6 02:25:02 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:
  * arch-dep-package-consists-of-usr-share for R-doc-pdf
  * arch-dep-package-consists-of-usr-share for R-doc-html
  * arch-dep-package-consists-of-usr-share for R-doc-info
  * macos-resource-fork-file-in-package for R-base

--- a/R-base.spec	2026-03-06 02:25:02.330668169 +0300
+++ b/R-base.spec	2026-03-06 02:25:02.330668169 +0300
@@ -139,6 +139,16 @@
   %buildroot%_infodir/dir* \
   %buildroot%Rhome/COPYING \
   %buildroot%Rhome/SVN-REVISION \
+
+
+# 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
+
   #
 
 %check
@@ -315,6 +325,7 @@
 Group: Sciences/Mathematics
 Requires: R-base = %version-%release
 Requires: xdg-utils
+BuildArch: noarch
 
 %description -n R-doc-html
 R is 'GNU S' - A language and environment for statistical computing
@@ -338,6 +349,7 @@
 Group: Sciences/Mathematics
 Conflicts: R-base > %version, R-base < %version
 Requires: xdg-utils
+BuildArch: noarch
 
 %description -n R-doc-pdf
 R is 'GNU S' - A language and environment for statistical computing
