--- a/domoticz.spec	2026-03-13 02:29:35.099769332 +0300
+++ b/domoticz.spec	2026-03-13 02:29:35.109769337 +0300
@@ -173,6 +173,12 @@
 ln -s %_sharedstatedir/%name/templates \
 %buildroot%_datadir/%name/www/templates
 
+# 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
+
 
 %pre
 groupadd -f -r domoticz
--- a/perl-WebService-Gyazo-B.spec	2026-03-13 02:29:42.889773545 +0300
+++ b/perl-WebService-Gyazo-B.spec	2026-03-13 02:29:42.892773547 +0300
@@ -30,6 +30,12 @@
 %install
 %perl_vendor_install
 
+# 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
+
 %files
 %doc README Changes~ LICENSE README.md Changes
 %perl_vendor_privlib/W*
--- a/racket-main.spec	2026-03-13 02:29:45.047774714 +0300
+++ b/racket-main.spec	2026-03-13 02:29:45.052774717 +0300
@@ -119,6 +119,12 @@
 
 mv %fakechroot_dir %buildroot
 
+# 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
+
 %files
 %_man1dir/*
 %_bindir/*
