Also extract debuginfo data from pyd binaries
This commit is contained in:
parent
3b7a52cee2
commit
c9e430bd5a
@ -6,8 +6,8 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
Name: mingw-filesystem
|
||||
Version: 101
|
||||
Release: 3%{?dist}
|
||||
Version: 102
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW cross compiler base filesystem and environment
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -309,6 +309,9 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Sep 09 2017 Sandro Mani <manisandro@gmail.com> - 102-1
|
||||
- Also extract debuginfo data from pyd binaries
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org>
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
@ -10,7 +10,7 @@ fi
|
||||
BUILDDIR=$1
|
||||
shift
|
||||
|
||||
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" -or -name "*.pyd"`
|
||||
do
|
||||
case $(mingw-objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in
|
||||
*debuglink*) continue ;;
|
||||
@ -34,6 +34,6 @@ for target in $@; do
|
||||
if [ ! -d $RPM_BUILD_ROOT$prefix ] ; then
|
||||
continue
|
||||
fi
|
||||
find $RPM_BUILD_ROOT$prefix -type f -name "*.exe.debug" -or -name "*.dll.debug" |
|
||||
find $RPM_BUILD_ROOT$prefix -type f -name "*.exe.debug" -or -name "*.dll.debug" -or -name "*.pyd.debug" |
|
||||
sed -n -e "s#^$RPM_BUILD_ROOT##p" > $BUILDDIR/${target}-debugfiles.list
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user