Accepting request 795584 from home:bmwiedemann:reproducible:test

Process debuginfo in a reproducible way (boo#1041090)

OBS-URL: https://build.opensuse.org/request/show/795584
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=113
This commit is contained in:
Ismail Dönmez 2020-04-20 10:20:52 +00:00 committed by Git OBS Bridge
parent 2c30c982aa
commit a5b7474fb1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 19 17:39:26 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Process debuginfo in a reproducible way (boo#1041090)
-------------------------------------------------------------------
Wed Dec 18 21:49:44 UTC 2019 - Martin Koegler <martin.koegler@chello.at>

View File

@ -27,7 +27,7 @@ SYMBOL_DIR="${ROOT_DIR}/symbols"
SOURCE_DIR="${ROOT_DIR}/src"
DEBUGSOURCE_DIR="${SOURCE_DIR}/debug"
for f in `find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll"`
for f in `find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll" | sort`
do
case $("$host-objdump" -h "$f" 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in
*debuglink*) continue ;;
@ -64,6 +64,7 @@ find $RPM_BUILD_ROOT -type f \
-or -name "*.dll.debug" \
-or -name "*.exe.mdb" \
-or -name "*.dll.mdb" \
| sort \
| sed -n -e "s#^$RPM_BUILD_ROOT##p" >"$BUILDDIR/$target-debugfiles.list"
if [ -e "$RPM_BUILD_ROOT/$SYMBOL_DIR" ]; then