From f07aab9f4b87639d2bef3922f1b1e736208fe50d Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Tue, 16 Oct 2012 20:37:04 +0200 Subject: [PATCH] Update to 20121016 snapshot and use a smaller source tarball - Update to 20121016 snapshot - Use a different source tarball which doesn't contain unrelevant code (like libiberty) - Removed Provides: bundled(libiberty) --- .gitignore | 1 + mingw-crt.spec | 17 ++++++++++++----- sources | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3c2773d..4a18222 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /mingw-w64-src_20120713.tar.bz2 /mingw-w64-src_20120718.tar.bz2 /mingw-w64-src_20121006.tar.bz2 +/mingw-w64-trunk-snapshot-20121016.tar.gz diff --git a/mingw-crt.spec b/mingw-crt.spec index f78adc3..a51d5f2 100644 --- a/mingw-crt.spec +++ b/mingw-crt.spec @@ -1,17 +1,20 @@ %{?mingw_package_header} -%global snapshot_date 20121006 +%global snapshot_date 20121016 +%global branch trunk Name: mingw-crt Version: 2.0.999 -Release: 0.12.trunk.%{snapshot_date}%{?dist} +Release: 0.13.%{branch}.%{snapshot_date}%{?dist} Summary: MinGW Windows cross-compiler runtime License: Public Domain and ZPLv2.1 Group: Development/Libraries URL: http://mingw-w64.sourceforge.net/ %if 0%{?snapshot_date} -Source0: http://downloads.sourceforge.net/mingw-w64/mingw-w64-src_%{snapshot_date}.tar.bz2 +# To regerenate a snapshot: +# wget http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/%{branch}/?view=tar -O mingw-w64-%{branch}-snapshot-$(date '+%Y%m%d').tar.gz +Source0: mingw-w64-%{branch}-snapshot-%{snapshot_date}.tar.gz %else Source0: http://downloads.sourceforge.net/mingw-w64/mingw-w64-v%{version}.tar.gz %endif @@ -27,7 +30,6 @@ BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-binutils BuildRequires: mingw64-headers BuildRequires: mingw64-gcc -Provides: bundled(libiberty) %description @@ -59,7 +61,7 @@ rm -rf mingw-w64-v%{version} mkdir mingw-w64-v%{version} cd mingw-w64-v%{version} tar -xf %{S:0} -%setup -q -D -T -n mingw-w64-v%{version}/mingw +%setup -q -D -T -n mingw-w64-v%{version}/%{branch} %else %setup -q -n mingw-w64-v%{version} %endif @@ -93,6 +95,11 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_includedir}/*.c %changelog +* Tue Oct 16 2012 Erik van Pienbroek - 2.0.999-0.13.trunk.20121016 +- Update to 20121016 snapshot +- Use a different source tarball which doesn't contain unrelevant code (like libiberty) +- Removed Provides: bundled(libiberty) + * Mon Oct 15 2012 Jon Ciesla - 2.0.999-0.12.trunk.20121006 - Provides: bundled(libiberty) diff --git a/sources b/sources index e449238..0a92669 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -138d327584b070a39033f1b8c0184e0e mingw-w64-src_20121006.tar.bz2 +87b913275ebe1de8ea0b4f30a6702006 mingw-w64-trunk-snapshot-20121016.tar.gz