From e4bda3118291192ba9104bfb07d925bd3e7e5ff1 Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Tue, 15 Dec 2020 20:17:56 +0100
Subject: [PATCH] update cmakefiles

---
 consumer/api/python/dist_linux/CMakeLists.txt | 4 ++--
 producer/api/python/dist_linux/CMakeLists.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/consumer/api/python/dist_linux/CMakeLists.txt b/consumer/api/python/dist_linux/CMakeLists.txt
index b55ffc3f6..440e82589 100644
--- a/consumer/api/python/dist_linux/CMakeLists.txt
+++ b/consumer/api/python/dist_linux/CMakeLists.txt
@@ -12,13 +12,13 @@ if ("rpm" IN_LIST BUILD_PYTHON_PACKAGES)
     ADD_CUSTOM_TARGET(python-rpm-consumer ALL
             COMMAND PACKAGE_PREFIX=python- python setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
             --requires=numpy --binary-only
-            COMMAND rm -f dist/python*.gz dist/*debuginfo*
+            COMMAND rm -f dist/python*.gz dist/*debuginfo* dist/*debugsource*
             )
 
     ADD_CUSTOM_TARGET(python3-rpm-consumer ALL
             COMMAND PACKAGE_PREFIX=python3- python3 setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
             --requires=python3-numpy --binary-only
-            COMMAND rm -f dist/python3*.gz dist/*debuginfo*
+            COMMAND rm -f dist/python3*.gz dist/*debuginfo* dist/*debugsource*
             )
     ADD_DEPENDENCIES(python3-rpm-consumer copy_python_dist-consumer)
     ADD_DEPENDENCIES(python-rpm-consumer copy_python_dist-consumer)
diff --git a/producer/api/python/dist_linux/CMakeLists.txt b/producer/api/python/dist_linux/CMakeLists.txt
index 023935516..be6a1a55f 100644
--- a/producer/api/python/dist_linux/CMakeLists.txt
+++ b/producer/api/python/dist_linux/CMakeLists.txt
@@ -7,13 +7,13 @@ if ("rpm" IN_LIST BUILD_PYTHON_PACKAGES)
 	ADD_CUSTOM_TARGET(python-rpm-producer ALL
 		COMMAND PACKAGE_PREFIX=python- python setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
 			--requires=numpy --binary-only
-			COMMAND rm -f dist/python*.gz dist/*debuginfo*
+			COMMAND rm -f dist/python*.gz dist/*debuginfo* dist/*debugsource*
 		)
 
 	ADD_CUSTOM_TARGET(python3-rpm-producer ALL
 		COMMAND PACKAGE_PREFIX=python3- python3 setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
 			--requires=python3-numpy --binary-only
-		COMMAND rm -f dist/python3*.gz dist/*debuginfo*
+		COMMAND rm -f dist/python3*.gz dist/*debuginfo* dist/*debugsource*
 		)
 	ADD_DEPENDENCIES(python3-rpm-producer copy_python_dist-producer)
 	ADD_DEPENDENCIES(python-rpm-producer copy_python_dist-producer)
-- 
GitLab