aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-12-12 13:39:23 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-12-12 13:39:23 +0000
commit42389a9249817f330dc5239fd067eaaf5c24b303 (patch)
tree3a3c221e33d5390c2327352a9e53447cbed5dd78
parentf854da5085d9f2eda64648b475271388eae94cb1 (diff)
downloadrpm-setup-42389a9249817f330dc5239fd067eaaf5c24b303.tar
rpm-setup-42389a9249817f330dc5239fd067eaaf5c24b303.tar.gz
rpm-setup-42389a9249817f330dc5239fd067eaaf5c24b303.tar.bz2
rpm-setup-42389a9249817f330dc5239fd067eaaf5c24b303.tar.xz
rpm-setup-42389a9249817f330dc5239fd067eaaf5c24b303.zip
fix package build when the debug package is empty (regression introduded in 1.96)
-rw-r--r--NEWS3
-rwxr-xr-xfind-debuginfo.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f136191..e66472f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- fix package build when the debug package is empty (regression introduded in
+ 1.96)
+
Version 1.96 - 10 December 2009, by Anssi Hannula
- fix perl.prov to assign versions to provides when the version is declared
with 'our' or 'my' keyword, or when it is prepended with code
diff --git a/find-debuginfo.sh b/find-debuginfo.sh
index 30bb311..14c9f71 100755
--- a/find-debuginfo.sh
+++ b/find-debuginfo.sh
@@ -50,6 +50,7 @@ do
fi
done
+touch $LISTFILE
[[ -d ${debugdir} ]] && \
find ${debugdir} -type f | sed -n -e "s#^$RPM_BUILD_ROOT##p" > $LISTFILE