[mingw-libgnurx: 3/15] - Split out debug symbols to a -debuginfo subpackage Wed Jun 3 2009 Erik van Pienbroek <epienbro at fed

Kalev Lember kalev at fedoraproject.org
Tue Mar 6 19:20:15 UTC 2012


commit ff89c084afda69cfcf82f0221c3da7f755012eb4
Author: epienbro <epienbro at fedoraproject.org>
Date:   Mon Jun 22 10:55:30 2009 +0000

    - Split out debug symbols to a -debuginfo subpackage
    Wed Jun 3 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.5.1-3
    - The libtool .la file referenced to the wrong file. Fixed

 mingw32-libgnurx.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-libgnurx.spec b/mingw32-libgnurx.spec
index a371dc3..7043399 100644
--- a/mingw32-libgnurx.spec
+++ b/mingw32-libgnurx.spec
@@ -3,10 +3,11 @@
 %global _use_internal_dependency_generator 0
 %global __find_requires %{_mingw32_findrequires}
 %global __find_provides %{_mingw32_findprovides}
+%define __os_install_post %{_mingw32_debug_install_post} 
 
 Name:           mingw32-libgnurx
 Version:        2.5.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        MinGW Regex library
 
 License:        LGPLv2+
@@ -21,7 +22,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  autoconf automake libtool
-BuildRequires:  mingw32-filesystem >= 23
+BuildRequires:  mingw32-filesystem >= 52
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 
@@ -38,6 +39,9 @@ Group:          Development/Libraries
 Static version of the MinGW Windows regular expression library.
 
 
+%{_mingw32_debug_package}  
+
+
 %prep
 %setup -q -n mingw-libgnurx-%{version}
 %patch0 -p0
@@ -73,6 +77,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
 mv $RPM_BUILD_ROOT%{_mingw32_libdir}/libgnurx.a $RPM_BUILD_ROOT%{_mingw32_libdir}/libregex.a
 mv $RPM_BUILD_ROOT%{_mingw32_libdir}/libgnurx.dll.a $RPM_BUILD_ROOT%{_mingw32_libdir}/libregex.dll.a
 mv $RPM_BUILD_ROOT%{_mingw32_libdir}/libgnurx.la $RPM_BUILD_ROOT%{_mingw32_libdir}/libregex.la
+sed -i s/gnurx/regex/ $RPM_BUILD_ROOT%{_mingw32_libdir}/libregex.la
 
 # Drop the man pages
 rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man
@@ -96,6 +101,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 22 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.5.1-4
+- Split out debug symbols to a -debuginfo subpackage
+
+* Wed Jun  3 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.5.1-3
+- The libtool .la file referenced to the wrong file. Fixed
+
 * Tue May 26 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.5.1-2
 - Fixed license tag
 


More information about the scm-commits mailing list