From cc5f3de5356836b215a78b6a8181f7f83e991d80 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] - Use Version 0 (https://www.redhat.com/archives/fedora-packaging/2009-January/msg00064.html) - Revert use of dos2unix for now (https://www.redhat.com/archives/fedora-packaging/2009-January/msg00066.html) - Use _smp_mflags. --- dlfcn/mingw32-dlfcn.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/dlfcn/mingw32-dlfcn.spec b/dlfcn/mingw32-dlfcn.spec index 25b77b3..7c14d38 100644 --- a/dlfcn/mingw32-dlfcn.spec +++ b/dlfcn/mingw32-dlfcn.spec @@ -9,8 +9,8 @@ %define alphatag r11 Name: mingw32-dlfcn -Version: 0.1 -Release: 0.2.%{alphatag}%{?dist} +Version: 0 +Release: 0.3.%{alphatag}%{?dist} Summary: Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror) License: LGPLv2+ @@ -24,7 +24,7 @@ BuildArch: noarch BuildRequires: mingw32-filesystem >= 40 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils -BuildRequires: dos2unix +#BuildRequires: dos2unix Patch1: dlfcn_configure.patch @@ -36,9 +36,10 @@ around the dynamic link library functions found in the Windows API. %prep %setup -q -n %{realname}-%{alphatag} -dos2unix --keepdate configure -dos2unix --keepdate README -dos2unix --keepdate COPYING + +%{__sed} -i 's/\r//' configure +%{__sed} -i 's/\r//' README +%{__sed} -i 's/\r//' COPYING %patch1 -p1 @@ -50,7 +51,7 @@ dos2unix --keepdate COPYING --enable-shared=yes \ --enable-static=no \ --enable-strip=i686-pc-mingw32-strip -make +make %{?_smp_mflags} %install @@ -71,6 +72,13 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jan 14 2009 Richard W.M. Jones - 0-0.3.r11 +- Use Version 0 + (https://www.redhat.com/archives/fedora-packaging/2009-January/msg00064.html) +- Revert use of dos2unix for now + (https://www.redhat.com/archives/fedora-packaging/2009-January/msg00066.html) +- Use _smp_mflags. + * Tue Jan 13 2009 Richard W.M. Jones - 0.1-0.2.r11 - Import into fedora-mingw temporary repository because there are packages which will depend on this. -- 1.8.3.1