From repocop@altlinux.org Wed Oct 21 02:37:09 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:
  * backup-file-in-package for fritzing-data

--- a/fritzing.spec	2026-10-21 02:37:09.321289948 +0300
+++ b/fritzing.spec	2026-10-21 02:37:09.321289948 +0300
@@ -107,6 +107,12 @@
 
 chrpath -d %buildroot%_bindir/Fritzing
 
+# It is the file in the package whose name matches the format emacs or vim uses 
+# for backup and autosave files. It may have been installed by  accident.
+find $RPM_BUILD_ROOT \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete
+# failsafe cleanup if the file is declared as %%doc
+find . \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete
+
 %check
 if [[ "$(find %buildroot%_datadir/%name -name 'TwitterSaurus*' -o -name 'twitter4j*' | wc -l)" -gt 0 ]]; then
   echo "Found TwitterSaurus / twitter4j files - these should NOT be included in the final package" >&2
