diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec index 6d673c1..c9638b5 100644 --- a/mingw-filesystem.spec +++ b/mingw-filesystem.spec @@ -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 - 102-1 +- Also extract debuginfo data from pyd binaries + * Wed Jul 26 2017 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/mingw-find-debuginfo.sh b/mingw-find-debuginfo.sh index e47df65..de6dee1 100755 --- a/mingw-find-debuginfo.sh +++ b/mingw-find-debuginfo.sh @@ -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