From f808c886131b7f88536d4cb29144a6e4182c3cbc Mon Sep 17 00:00:00 2001
From: Giovanna Lazzari Miotto <giovanna.lazzari.miotto@cern.ch>
Date: Tue, 21 Nov 2023 16:46:50 +0100
Subject: [PATCH] Update scdaqrpm.sh

---
 scripts/scdaqrpm.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/scdaqrpm.sh b/scripts/scdaqrpm.sh
index deb0533f..2a23dc1d 100755
--- a/scripts/scdaqrpm.sh
+++ b/scripts/scdaqrpm.sh
@@ -132,6 +132,7 @@ echo $BASEDIR
 
 mkdir -p SOURCES; cp -R $BASEDIR/src/* SOURCES/
 mkdir -p include; cp -R $BASEDIR/include/* include/
+mkdir -p cmake; cp -R $BASEDIR/cmake/* cmake/
 
 %build
 echo $RPM_SOURCE_DIR
@@ -198,5 +199,5 @@ if [ \$1 == 0 ]; then
 fi
 
 EOF
-mkdir -p RPMBUILD/{RPMS/{noarch},SPECS,BUILD,SOURCES,SRPMS,include}
+mkdir -p RPMBUILD/{RPMS/{noarch},SPECS,BUILD,SOURCES,SRPMS,cmake,include}
 rpmbuild --define "_topdir $(pwd)/RPMBUILD" -bb scoutdaq.spec
-- 
GitLab