diff --git a/mingw-w64-crt-3.1.0.tar.xz b/mingw-w64-crt-3.1.0.tar.xz new file mode 100644 index 0000000..120be33 --- /dev/null +++ b/mingw-w64-crt-3.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b55b353e397e95acf3325cb9135ba22114bf5ab8321bc97f387ed86d82e4edd9 +size 1177944 diff --git a/mingw-w64-runtime-20130216.tar.bz2 b/mingw-w64-runtime-20130216.tar.bz2 deleted file mode 100644 index 00e3860..0000000 --- a/mingw-w64-runtime-20130216.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ba62654297acff99acc9e3b3d8fb1eb6d927a058e56b7cb0a5eb18a809c923e -size 1343521 diff --git a/mingw32-runtime-rpmlintrc b/mingw32-runtime-rpmlintrc index 95e22aa..e492e72 100644 --- a/mingw32-runtime-rpmlintrc +++ b/mingw32-runtime-rpmlintrc @@ -1,3 +1 @@ -addFilter("devel-file-in-non-devel-package") -addFilter("spurious-executable-perm") addFilter("arch-independent-package-contains-binary-or-object") diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec index e2452db..f7f7884 100644 --- a/mingw32-runtime.spec +++ b/mingw32-runtime.spec @@ -24,25 +24,23 @@ %define __os_install_post %{_mingw32_install_post} Name: mingw32-runtime -Version: 20130216 +Version: 3.1.0 Release: 0 -Summary: MinGW-W64 runtime for win32 +Summary: MinGW-w64 runtime libraries for Win32 License: SUSE-Public-Domain -Group: Development/Libraries +Group: Development/Libraries/C and C++ +URL: http://mingw-w64.sf.net/ -Url: http://mingw-w64.sourceforge.net/ -Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2 -Source100: %{name}-rpmlintrc +Source: mingw-w64-crt-%version.tar.xz +Source100: %name-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildArch: noarch #!BuildIgnore: post-build-checks - BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc-bootstrap >= 4.4.0 BuildRequires: mingw32-filesystem -BuildRequires: mingw32-headers >= %{version} - +BuildRequires: mingw32-headers >= %version +BuildRequires: xz # Once this is installed, mingw32-bootstrap (binary bootstrapper) is no # longer needed. Obsoletes: mingw32-runtime-bootstrap @@ -50,29 +48,19 @@ Obsoletes: mingw32-runtime-bootstrap %description MinGW Win64 cross-compiler runtime, base libraries. - %prep -%setup -q -n mingw-w64-runtime-%{version} +%setup -qn mingw-w64-crt %build -%{_mingw32_configure} --enable-lib32 --disable-lib64 -make +%_mingw32_configure --enable-lib32 --disable-lib64 +make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make DESTDIR=$RPM_BUILD_ROOT install - -rm -f $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/lib -rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/libsrc - -rm -rf $RPM_BUILD_ROOT%{_mingw32_includedir}/*.c - -%clean -rm -rf $RPM_BUILD_ROOT +make DESTDIR="%buildroot" install +rm -Rfv "%buildroot/%_mingw32_includedir"/*.c %files %defattr(-,root,root) -%{_mingw32_libdir}/* +%_mingw32_libdir/ %changelog