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-headers.spec b/mingw-headers.spec index a35cd07..b375e7c 100644 --- a/mingw-headers.spec +++ b/mingw-headers.spec @@ -1,4 +1,5 @@ -%global snapshot_date 20121006 +%global snapshot_date 20121016 +%global branch trunk # The mingw-w64-headers provide the headers pthread_time.h # and pthread_unistd.h by default and are dummy headers. @@ -12,7 +13,7 @@ Name: mingw-headers Version: 2.0.999 -Release: 0.12.trunk.%{snapshot_date}%{?dist} +Release: 0.13.%{branch}.%{snapshot_date}%{?dist} Summary: Win32/Win64 header files License: Public Domain and LGPLv2+ and ZPLv2.1 @@ -20,7 +21,9 @@ 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 @@ -30,7 +33,6 @@ BuildArch: noarch BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw64-filesystem >= 95 -Provides: bundled(libiberty) %description MinGW Windows cross-compiler Win32 and Win64 header files. @@ -66,7 +68,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 @@ -102,6 +104,11 @@ rm -f $RPM_BUILD_ROOT%{mingw64_includedir}/pthread_unistd.h %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