Fix mingw-find-debuginfo.sh to pick up strippable binaries also in %%{_prefix}/%%{mingw32,64_target}
This commit is contained in:
parent
cfb1eb6575
commit
c3d26e7c6d
@ -6,8 +6,8 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
Name: mingw-filesystem
|
||||
Version: 107
|
||||
Release: 2%{?dist}
|
||||
Version: 108
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW cross compiler base filesystem and environment
|
||||
|
||||
License: GPLv2+
|
||||
@ -316,6 +316,9 @@ install -m 0644 %{SOURCE19} $RPM_BUILD_ROOT%{_datadir}/mingw/
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 12 2019 Sandro Mani <manisandro@gmail.com> - 108-1
|
||||
- Fix mingw-find-debuginfo.sh to pick up strippable binaries also in %%{_prefix}/%%{mingw32,64_target}
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org>
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/sh
|
||||
# mingw-find-debuginfo.sh - automagically generate debug info and file list
|
||||
# for inclusion in an rpm spec file for mingw-* packages.
|
||||
|
||||
@ -33,7 +33,7 @@ do
|
||||
done
|
||||
|
||||
for target in $@; do
|
||||
prefix=`rpm --eval "%{${target}_prefix}"`
|
||||
prefix=`rpm --eval "%{_prefix}/%{${target}_target}"`
|
||||
if [ ! -d $RPM_BUILD_ROOT$prefix ] ; then
|
||||
continue
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user