Fix up debug dirs ownership
This commit is contained in:
parent
5788afad0b
commit
e2f6d80752
@ -6,7 +6,7 @@
|
|||||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||||
|
|
||||||
Name: mingw-filesystem
|
Name: mingw-filesystem
|
||||||
Version: 124
|
Version: 125
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: MinGW cross compiler base filesystem and environment
|
Summary: MinGW cross compiler base filesystem and environment
|
||||||
|
|
||||||
@ -235,6 +235,9 @@ mkdir -p %{buildroot}%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/locale
|
|||||||
mkdir -p %{buildroot}%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/pkgconfig
|
mkdir -p %{buildroot}%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/pkgconfig
|
||||||
mkdir -p %{buildroot}%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/xml
|
mkdir -p %{buildroot}%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/xml
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_prefix}/lib/debug/%{_prefix}/i686-w64-mingw32
|
||||||
|
mkdir -p %{buildroot}%{_prefix}/lib/debug/%{_prefix}/x86_64-w64-mingw32
|
||||||
|
|
||||||
# Own folders for all locales
|
# Own folders for all locales
|
||||||
# Snippet taken from the Fedora filesystem package
|
# Snippet taken from the Fedora filesystem package
|
||||||
sed -n -f %{SOURCE102} /usr/share/xml/iso-codes/iso_639.xml > %{buildroot}/iso_639.tab
|
sed -n -f %{SOURCE102} /usr/share/xml/iso-codes/iso_639.xml > %{buildroot}/iso_639.tab
|
||||||
@ -331,6 +334,8 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
|
|||||||
%{_datadir}/mingw/toolchain-mingw32.meson
|
%{_datadir}/mingw/toolchain-mingw32.meson
|
||||||
%{pkgconfig_personalitydir}/i686-w64-mingw32.personality
|
%{pkgconfig_personalitydir}/i686-w64-mingw32.personality
|
||||||
%{_mandir}/man1/i686-w64-mingw32-pkg-config.1*
|
%{_mandir}/man1/i686-w64-mingw32-pkg-config.1*
|
||||||
|
%dir %{_prefix}/lib/debug/%{_prefix}
|
||||||
|
%dir %{_prefix}/lib/debug/%{_prefix}/i686-w64-mingw32
|
||||||
|
|
||||||
|
|
||||||
%files -n mingw64-filesystem
|
%files -n mingw64-filesystem
|
||||||
@ -348,9 +353,14 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
|
|||||||
%{_datadir}/mingw/toolchain-mingw64.meson
|
%{_datadir}/mingw/toolchain-mingw64.meson
|
||||||
%{pkgconfig_personalitydir}/x86_64-w64-mingw32.personality
|
%{pkgconfig_personalitydir}/x86_64-w64-mingw32.personality
|
||||||
%{_mandir}/man1/x86_64-w64-mingw32-pkg-config.1*
|
%{_mandir}/man1/x86_64-w64-mingw32-pkg-config.1*
|
||||||
|
%dir %{_prefix}/lib/debug/%{_prefix}
|
||||||
|
%dir %{_prefix}/lib/debug/%{_prefix}/x86_64-w64-mingw32
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 20 2021 Sandro Mani <manisandro@gmail.com> - 125-1
|
||||||
|
- Fix up debug dirs ownership
|
||||||
|
|
||||||
* Wed Nov 17 2021 Sandro Mani <manisandro@gmail.com> - 124-1
|
* Wed Nov 17 2021 Sandro Mani <manisandro@gmail.com> - 124-1
|
||||||
- Use relative paths in cmake/meson toolchain files to make ccache work if
|
- Use relative paths in cmake/meson toolchain files to make ccache work if
|
||||||
available
|
available
|
||||||
|
@ -41,4 +41,6 @@ for target in $@; do
|
|||||||
fi
|
fi
|
||||||
find ${RPM_BUILD_ROOT}/usr/lib/debug/$prefix -type f -name "*.exe.debug" -or -name "*.dll.debug" -or -name "*.pyd.debug" |
|
find ${RPM_BUILD_ROOT}/usr/lib/debug/$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
|
sed -n -e "s#^$RPM_BUILD_ROOT##p" > $BUILDDIR/${target}-debugfiles.list
|
||||||
|
find ${RPM_BUILD_ROOT}/usr/lib/debug/$prefix/* -type d |
|
||||||
|
sed -n -e "s#^$RPM_BUILD_ROOT#%dir #p" >> $BUILDDIR/${target}-debugfiles.list
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user