[mingw-libxml++: 3/24] enable debuginfo

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 15:42:28 UTC 2012


commit 3a6e6a7a9df9a9b52ec1ec9158b383ac10c00289
Author: sailer <sailer at fedoraproject.org>
Date:   Thu Jun 25 10:40:12 2009 +0000

    enable debuginfo

 mingw32-libxml++.spec |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/mingw32-libxml++.spec b/mingw32-libxml++.spec
index 1f22f70..4ef7a40 100644
--- a/mingw32-libxml++.spec
+++ b/mingw32-libxml++.spec
@@ -3,12 +3,13 @@
 %global _use_internal_dependency_generator 0
 %global __find_requires %{_mingw32_findrequires}
 %global __find_provides %{_mingw32_findprovides}
+%define __debug_install_post %{_mingw32_debug_install_post}
 
 %global name1 libxml++
 
 Name:           mingw32-%{name1}
 Version:        2.26.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        MinGW Windows C++ wrapper for the libxml2 XML parser library
 
 Group:          System Environment/Libraries
@@ -18,13 +19,13 @@ Source:         http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.26/libxml++-%{
 Patch0:         libxml++-mingw32.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  mingw32-libxml2 >= 2.6.1
-BuildRequires:  mingw32-glibmm24 >= 2.4.0
-BuildRequires:  doxygen, graphviz
-
 BuildArch:      noarch
 
-BuildRequires:  mingw32-filesystem >= 23
+BuildRequires:  mingw32-libxml2 >= 2.6.1
+BuildRequires:  mingw32-glibmm24 >= 2.4.0
+BuildRequires:  doxygen
+BuildRequires:  graphviz
+BuildRequires:  mingw32-filesystem >= 52
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 BuildRequires:  mingw32-gcc-c++
@@ -37,6 +38,9 @@ author is Ari Johnson and it is currently maintained by Christophe de Vienne
 and Murray Cumming.
 
 
+%{_mingw32_debug_package}
+
+
 %prep
 %setup -q -n %{name1}-%{version}
 %patch0 -p0 -b .mingw32
@@ -69,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 22 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.26.0-2
+- add debuginfo packages
+
 * Fri Apr 17 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.26.0-1
 - update to 2.26.0
 - remove docs cruft from install section


More information about the scm-commits mailing list