[mingw-libp11: 6/21] Automatically generate debuginfo subpackage

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:48:24 UTC 2012


commit 68e9bea779f011f5905769f0d499cd989c869c82
Author: Kalev Lember <kalev at fedoraproject.org>
Date:   Sun Aug 23 19:35:20 2009 +0000

    Automatically generate debuginfo subpackage

 mingw32-libp11.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-libp11.spec b/mingw32-libp11.spec
index 7db5cde..075e678 100644
--- a/mingw32-libp11.spec
+++ b/mingw32-libp11.spec
@@ -3,10 +3,11 @@
 %global _use_internal_dependency_generator 0
 %global __find_requires %{_mingw32_findrequires}
 %global __find_provides %{_mingw32_findprovides}
+%define __debug_install_post %{_mingw32_debug_install_post}
 
 Name:           mingw32-libp11
 Version:        0.2.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        MingGW Windows libp11 library
 
 Group:          Development/Libraries
@@ -17,7 +18,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 
-BuildRequires:  mingw32-filesystem >= 49
+BuildRequires:  mingw32-filesystem >= 53
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 BuildRequires:  mingw32-libltdl
@@ -34,6 +35,9 @@ make using PKCS#11 implementations easier.
 This is the MinGW cross-compiled Windows library.
 
 
+%{_mingw32_debug_package}
+
+
 %prep
 %setup -q -n libp11-%{version}
 
@@ -68,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Aug 23 2009 Kalev Lember <kalev at smartlink.ee> - 0.2.6-2
+- Automatically generate debuginfo subpackage
+
 * Sat Aug 22 2009 Kalev Lember <kalev at smartlink.ee> - 0.2.6-1
 - Update to 0.2.6
 - Use INSTALL="install -p" to preserve timestamps


More information about the scm-commits mailing list