[mingw-wpcap: 5/22] enable debuginfo

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 18:12:26 UTC 2012


commit 2918d9cd4f89cfb8828715868bdcc173f413cca0
Author: sailer <sailer at fedoraproject.org>
Date:   Mon Jun 22 17:18:57 2009 +0000

    enable debuginfo

 mingw32-wpcap.spec |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/mingw32-wpcap.spec b/mingw32-wpcap.spec
index 19dda64..083f2ad 100644
--- a/mingw32-wpcap.spec
+++ b/mingw32-wpcap.spec
@@ -7,7 +7,7 @@
 
 Name:           mingw32-wpcap
 Version:        %{versionmajor}.%{versionminor}.%{versionsuffix}
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        MinGW user-level packet capture
 
 Group:          Development/Libraries
@@ -19,7 +19,11 @@ Patch0:         wpcap.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  mingw32-gcc, doxygen, unzip, dos2unix
+BuildRequires:  mingw32-filesystem >= 52
+BuildRequires:  mingw32-gcc
+BuildRequires:  doxygen
+BuildRequires:  unzip
+BuildRequires:  dos2unix
 BuildRequires:  bison
 Requires:       mingw32-filesystem >= 50
 
@@ -48,6 +52,10 @@ This package contains the Windows pcap library documentation.
 %global __strip %{_mingw32_strip}
 %global __objdump %{_mingw32_objdump}
 
+%define __os_install_post %{_mingw32_debug_install_post}
+
+%{_mingw32_debug_package}
+
 %prep
 %setup -q -n winpcap
 
@@ -135,6 +143,9 @@ rm -rf $RPM_BUILD_ROOT
 %{wpcapexamples}
 
 %changelog
+* Mon Jun 22 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 4.1.beta5-5
+- add debuginfo packages
+
 * Fri Jun 12 2009 Richard W.M. Jones <rjones at redhat.com> - 4.1.beta5-4
 - Doesn't work with byacc, needs bison.
 - Some minor cleanups to the spec file.
@@ -149,4 +160,3 @@ rm -rf $RPM_BUILD_ROOT
 
 * Mon Feb 16 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 4.1.beta5-1
 - initial package
-


More information about the scm-commits mailing list