[mingw-libltdl: 15/42] - Automatically generate debuginfo subpackage
epienbro
epienbro at fedoraproject.org
Wed Mar 7 19:30:11 UTC 2012
commit 0ab55748b840c350bc892fb32e2d421af0f81bd8
Author: Hans Ulrich Niedermann <ndim at fedoraproject.org>
Date: Sat Jan 2 16:48:08 2010 +0000
- Automatically generate debuginfo subpackage
mingw32-libltdl.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec
index 8c5a6ab..d9e9b20 100644
--- a/mingw32-libltdl.spec
+++ b/mingw32-libltdl.spec
@@ -3,6 +3,8 @@
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
+%define __debug_install_post %{_mingw32_debug_install_post}
+
# Define this to run tests (requires Wine, and won't work inside mock or Koji).
# Note: As of libtool-1.5.26, libltdl does not contain any tests at all.
@@ -11,7 +13,7 @@
Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
Name: mingw32-libltdl
Version: 1.5.26
-Release: 14%{?dist}
+Release: 15%{?dist}
Group: System Environment/Libraries
# Even though the source package contains files under
# "GPLv2+ and LGPLv2+ and GFDL", the binary RPM only ships LGPLv2+ code.
@@ -26,7 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
# into running a prepared binary in that directory:
Patch2: libtool-1.5.24-relativepath.patch
-BuildRequires: mingw32-filesystem >= 30
+BuildRequires: mingw32-filesystem >= 53
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gcc
@@ -37,6 +39,12 @@ BuildRequires: wine
BuildArch: noarch
+# Use a ? to expand to nothing if undefined, enabling F13 mock builds on F11.
+# This avoids the trick of hiding the macro in %%description which in turn
+# confuses the koji webinterface.
+%{?_mingw32_debug_package}
+
+
%description
The mingw32-libltdl package contains the GNU Libtool Dynamic Module Loader, a
library that provides a consistent, portable interface which simplifies the
@@ -97,6 +105,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Jan 2 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 1.5.26-15
+- Automatically generate debuginfo subpackage
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.26-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list