[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - bin/pack-debug
Andras Timar
andras.timar at collabora.com
Sun Dec 18 17:24:17 UTC 2016
bin/pack-debug | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 79d0065dd2a6da57ca52dcc5ef1e061776d74065
Author: Andras Timar <andras.timar at collabora.com>
Date: Sun Dec 18 18:23:39 2016 +0100
workdir contains generated source files which we need in debugsource package
Change-Id: I7eec56ed76262a8211f2c5e0a84b9079f9ce78cc
diff --git a/bin/pack-debug b/bin/pack-debug
index 6270229..7219474 100755
--- a/bin/pack-debug
+++ b/bin/pack-debug
@@ -51,8 +51,8 @@ cat $DEBUGSRC | awk '
/^Brand module/ { print gensub("Brand module", "Source files", "");next }
/^%attr/ || /^Summary:/ { next }
{print}
- END {
- print "%defattr(-,root,root)"
+ END {
+ print "%defattr(-,root,root)"
}
' > ${DEBUGSRC}-debugsource
buildroot=$(cat $DEBUGSRC-debugsource | awk '/^BuildRoot/{print$2}')
@@ -62,7 +62,7 @@ cat $DEBUGSRC | awk '
# create source file list
- find $BUILD_PATH -name '*[.][hc]xx' -o -name '*[.][hc]' | grep -Ev '/(instdir|workdir|qa|DEBS)/' |
+ find $BUILD_PATH -name '*[.][hc]xx' -o -name '*[.][hc]' | grep -Ev '/(instdir|qa|DEBS)/' |
# list all directories for complete rpm remove
@@ -190,7 +190,7 @@ cat $DEBUGSRC | awk '
# create source file list
- find $BUILD_PATH -name '*[.][hc]xx' -o -name '*[.][hc]' | grep -Ev '/(instdir|workdir|qa|DEBS)/' |
+ find $BUILD_PATH -name '*[.][hc]xx' -o -name '*[.][hc]' | grep -Ev '/(instdir|qa|DEBS)/' |
# list all directories
More information about the Libreoffice-commits
mailing list