[mingw-libffi] Update to 3.0.11-rc2

epienbro epienbro at fedoraproject.org
Thu Mar 8 18:28:10 UTC 2012


commit 16ee1a3eda425afb9a2c3db05c778aaa9387a12d
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Thu Mar 8 19:27:40 2012 +0100

    Update to 3.0.11-rc2
    
    and removed .la file

 .gitignore        |    1 +
 mingw-libffi.spec |   21 ++++++++++++++-------
 sources           |    2 +-
 3 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 84828ba..8906795 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /libffi-3.0.9.tar.gz
+/libffi-3.0.10.tar.gz
diff --git a/mingw-libffi.spec b/mingw-libffi.spec
index 8e078bc..506bdef 100644
--- a/mingw-libffi.spec
+++ b/mingw-libffi.spec
@@ -1,15 +1,16 @@
 %global __strip %{mingw32_strip}
 %global __objdump %{mingw32_objdump}
 
+%global rc_version rc2
 Name:		mingw-libffi
-Version:	3.0.9
-Release:	5%{?dist}
+Version:	3.0.11
+Release:	0.1.%{rc_version}%{?dist}
 Summary:	A portable foreign function interface library for MinGW
 
 Group:		System Environment/Libraries
 License:	BSD
 URL:		http://sourceware.org/libffi
-Source0:	ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
+Source0:	ftp://sourceware.org/pub/libffi/libffi-%{version}-%{rc_version}.tar.gz
 
 BuildArch:	noarch
 BuildRequires:	mingw32-filesystem >= 56
@@ -28,7 +29,7 @@ Foreign function interface library for MinGW.
 
 
 %prep
-%setup -q -n libffi-%{version}
+%setup -q -n libffi-%{version}-%{rc_version}
 
 
 %build
@@ -41,17 +42,23 @@ make install DESTDIR=$RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT%{mingw32_infodir}
 rm -rf $RPM_BUILD_ROOT%{mingw32_mandir}
 
+# Drop all .la files
+find $RPM_BUILD_ROOT -name "*.la" -delete
+
 
 %files -n mingw32-libffi
 %doc LICENSE README
-%{mingw32_bindir}/libffi-5.dll
+%{mingw32_bindir}/libffi-6.dll
 %{mingw32_libdir}/libffi.dll.a
-%{mingw32_libdir}/libffi.la
 %{mingw32_libdir}/pkgconfig/*.pc
-%{mingw32_libdir}/libffi-%{version}
+%{mingw32_libdir}/libffi-%{version}-%{rc_version}
 
 
 %changelog
+* Thu Mar 08 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 3.0.11-0.1.rc2
+- Update to 3.0.11-rc2
+- Removed .la file
+
 * Tue Mar 06 2012 Kalev Lember <kalevlember at gmail.com> - 3.0.9-5
 - Renamed the source package to mingw-libffi (#800427)
 - Spec clean up
diff --git a/sources b/sources
index e2f3cb9..3c3109f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1f300a7a7f975d4046f51c3022fa5ff1  libffi-3.0.9.tar.gz
+79390673f5d07a8fb342bc09b5055b6f  libffi-3.0.10.tar.gz


More information about the scm-commits mailing list