[mingw-libltdl: 14/42] - Automatically generate debuginfo subpackage

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:30:06 UTC 2012


commit 8f439e4a1eaf2e0d70c20080b5dc0318dee97b1b
Author: Hans Ulrich Niedermann <ndim at fedoraproject.org>
Date:   Sat Jan 2 16:15:37 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 9fe7492..d1b2bf0 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.
@@ -17,7 +19,7 @@
 Summary:  Runtime libraries for GNU Libtool Dynamic Module Loader
 Name:     mingw32-libltdl
 Version:  2.2.6
-Release:  17%{?dist}
+Release:  17.2%{?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.
@@ -28,7 +30,7 @@ Source:   http://ftp.gnu.org/gnu/libtool/libtool-%{version}%{?patchlevel}.tar.lz
 URL:      http://www.gnu.org/software/libtool/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 
-BuildRequires:  mingw32-filesystem >= 30
+BuildRequires:  mingw32-filesystem >= 53
 BuildRequires:  mingw32-binutils
 BuildRequires:  mingw32-gcc
 
@@ -39,6 +41,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
@@ -102,6 +110,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Jan  2 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.2.6-17.2
+- Automatically generate debuginfo subpackage
+
 * Sat Jan  2 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.2.6-17
 - Use .tar.lzma instead of .tar.gz
 - Remove obsolete libtool-1.5.24-relativepath.patch


More information about the scm-commits mailing list