Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=700815
--- Comment #12 from Kalev Lember kalev@smartlink.ee 2011-05-23 13:04:44 EDT --- I looked at the -debuginfo macros and it would appear that there's currently a way to specify the subpackage name with -n switch:
%{_mingw32_debug_package -n mingw32-gtk3}
However, it's currently broken and doesn't work the way that the original author intended to. It would be possible to easily fix it up; however we need to first figure out how we want to name the subpackages.
Erik, any opinions whether to go for mingw-$pkg-debuginfo or mingw32-$pkg-debuginfo with the current "old" toolchain?
--- a/macros.mingw32 +++ b/macros.mingw32 @@ -67,7 +67,7 @@ Group: Development/Debug \ This package provides debug information for package %{name}.\ Debug information is useful when developing applications that use this\ package or when debugging this package.\ -%files debuginfo -f debugfiles.list\ +%files %{-n:-n %{-n*}-}debuginfo -f debugfiles.list\ %defattr(-,root,root,-)\ %{nil}