[mingw-libltdl: 23/42] - Re-enable debuginfo magic. It needs define macros, not global ones.

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


commit 2d7d742fb28161e126efa1928ee1e055d36d429e
Author: Hans Ulrich Niedermann <ndim at fedoraproject.org>
Date:   Thu Feb 11 22:03:56 2010 +0000

    - Re-enable debuginfo magic. It needs define macros, not global ones.

 mingw32-libltdl.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec
index f2159da..6831b49 100644
--- a/mingw32-libltdl.spec
+++ b/mingw32-libltdl.spec
@@ -3,7 +3,9 @@
 %global _use_internal_dependency_generator 0
 %global __find_requires %{_mingw32_findrequires}
 %global __find_provides %{_mingw32_findprovides}
-#global __debug_install_post #{_mingw32_debug_install_post}
+%define __debug_install_post %{_mingw32_debug_install_post}
+# Note: For some reason, there must be a define here to make the
+#       debuginfo magic work.
 
 
 # Define this to run tests (requires Wine, and won't work inside mock or Koji).
@@ -13,7 +15,7 @@
 Summary:  Runtime libraries for GNU Libtool Dynamic Module Loader
 Name:     mingw32-libltdl
 Version:  1.5.26
-Release:  19%{?dist}
+Release:  20%{?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.
@@ -45,7 +47,7 @@ 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}
+%{?_mingw32_debug_package}
 
 
 %description
@@ -109,6 +111,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Feb 11 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 1.5.26-20
+- Re-enable debuginfo magic. It needs define macros, not global ones.
+
 * Thu Feb 11 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 1.5.26-19
 - Disabled last debug-related percent sign
 


More information about the scm-commits mailing list