[mingw-libsqlite3x: 3/16] enable debuginfo

epienbro epienbro at fedoraproject.org
Wed Mar 7 20:05:45 UTC 2012


commit adae8b250acf785e19aab668e786f8c829a62e91
Author: sailer <sailer at fedoraproject.org>
Date:   Thu Jun 25 10:51:55 2009 +0000

    enable debuginfo

 mingw32-libsqlite3x.spec |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/mingw32-libsqlite3x.spec b/mingw32-libsqlite3x.spec
index 5987971..9e01f50 100644
--- a/mingw32-libsqlite3x.spec
+++ b/mingw32-libsqlite3x.spec
@@ -3,6 +3,7 @@
 %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 veryear 2007
 %global vermon  10
@@ -11,7 +12,7 @@
 %global name1   libsqlite3x
 Name:           mingw32-%{name1}
 Version:        %{veryear}%{vermon}%{verday}
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        MinGW Windows C++ Wrapper for the SQLite3 embeddable SQL database engine
 
 Group:          System Environment/Libraries
@@ -25,8 +26,11 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 
-BuildRequires:  mingw32-sqlite dos2unix automake libtool
-BuildRequires:  mingw32-filesystem >= 23
+BuildRequires:  mingw32-sqlite
+BuildRequires:  dos2unix
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  mingw32-filesystem >= 52
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-gcc-c++
 BuildRequires:  mingw32-binutils
@@ -48,6 +52,9 @@ powerful, and quite fast. sq3 is a C++ wrapper API for working
 with sqlite3 databases that does not use exceptions.
 
 
+%{_mingw32_debug_package}
+
+
 %prep
 %setup -q -n %{name1}-%{veryear}.%{vermon}.%{verday} -a 1
 dos2unix *.hpp *.cpp
@@ -92,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_libdir}/pkgconfig/libsq3.pc
 
 %changelog
+* Mon Jun 22 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 20071018-8
+- add debuginfo packages
+
 * Tue Apr 28 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 20071018-7
 - reorder BR/BA
 - remove (duplicate) docs


More information about the scm-commits mailing list