--- a/macros.in	2016-05-25 22:56:44.439370474 +0000
+++ b/macros.in 2016-05-25 22:58:23.639372839 +0000
@@ -197,6 +197,8 @@
 package or when debugging this package.\
 %files debuginfo -f debugfiles.list\
 %defattr(-,root,root)\
+%exclude %{_libdir}/debug/.build-id/.1\
+%exclude %{_libdir}/debug/.build-id/.1.debug\
 %endif\
 %{nil}