Make sure the -debuginfo subpackages are mingw32- prefixed
... even if the base package is mingw-. Latest Fedora MinGW packaging guidelines allow the base (source) package be named mingw-, but all binary packages should be mingw32-. http://lists.fedoraproject.org/pipermail/mingw/2011-May/003708.html
This commit is contained in:
parent
82ecebcd82
commit
74761330f7
@ -1,5 +1,7 @@
|
|||||||
# RPM macros for Fedora MinGW.
|
# RPM macros for Fedora MinGW.
|
||||||
|
|
||||||
|
%_mingw32_pkg_name %(echo %{name} | sed 's/^mingw-/mingw32-/')
|
||||||
|
|
||||||
%_mingw32_target i686-pc-mingw32
|
%_mingw32_target i686-pc-mingw32
|
||||||
|
|
||||||
# Paths.
|
# Paths.
|
||||||
@ -60,14 +62,15 @@
|
|||||||
|
|
||||||
# Template for debug sub-package.
|
# Template for debug sub-package.
|
||||||
%_mingw32_debug_package(n:) \
|
%_mingw32_debug_package(n:) \
|
||||||
%package %{-n:-n %{-n*}-}debuginfo \
|
%define __mingw32_debug_pkg_name %{-n*}%{!-n:%{_mingw32_pkg_name}}-debuginfo \
|
||||||
|
%package -n %{__mingw32_debug_pkg_name} \
|
||||||
Summary: Debug information for package %{name} \
|
Summary: Debug information for package %{name} \
|
||||||
Group: Development/Debug \
|
Group: Development/Debug \
|
||||||
%description %{-n:-n %{-n*}-}debuginfo \
|
%description -n %{__mingw32_debug_pkg_name} \
|
||||||
This package provides debug information for package %{name}.\
|
This package provides debug information for package %{_mingw32_pkg_name}.\
|
||||||
Debug information is useful when developing applications that use this\
|
Debug information is useful when developing applications that use this\
|
||||||
package or when debugging this package.\
|
package or when debugging this package.\
|
||||||
%files %{-n:-n %{-n*}-}debuginfo -f debugfiles.list\
|
%files -n %{__mingw32_debug_pkg_name} -f debugfiles.list\
|
||||||
%defattr(-,root,root,-)\
|
%defattr(-,root,root,-)\
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: mingw32-filesystem
|
Name: mingw32-filesystem
|
||||||
Version: 69
|
Version: 69
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: MinGW base filesystem and environment
|
Summary: MinGW base filesystem and environment
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -170,6 +170,10 @@ install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mingw32
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 29 2011 Kalev Lember <kalev@smartlink.ee> - 69-2
|
||||||
|
- Make sure the -debuginfo subpackages are mingw32- prefixed
|
||||||
|
even if the base package is mingw-
|
||||||
|
|
||||||
* Tue May 24 2011 Kalev Lember <kalev@smartlink.ee> - 69-1
|
* Tue May 24 2011 Kalev Lember <kalev@smartlink.ee> - 69-1
|
||||||
- Adjusted PKG_CONFIG_LIBDIR to also search in _mingw32_datadir/pkgconfig/
|
- Adjusted PKG_CONFIG_LIBDIR to also search in _mingw32_datadir/pkgconfig/
|
||||||
- Own the sbin/ directory
|
- Own the sbin/ directory
|
||||||
|
Loading…
Reference in New Issue
Block a user