From 76b98fbcb0ab717a339d2a8dedba06e0fb6f8bd8dcd98383ad4f881c2d20f053 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 1 Jun 2014 12:03:47 +0000 Subject: [PATCH] spec-cleaner -i OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-runtime?expand=0&rev=28 --- mingw32-runtime.spec | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec index af62b42..31d6d4e 100644 --- a/mingw32-runtime.spec +++ b/mingw32-runtime.spec @@ -22,9 +22,7 @@ %define __find_requires %{_mingw32_findrequires} %define __find_provides %{_mingw32_findprovides} %define __os_install_post %{_mingw32_install_post} - %define snapshot -r6638 - Name: mingw32-runtime Version: 3.1.99 Release: 0 @@ -32,37 +30,36 @@ Summary: MinGW-w64 runtime libraries for Win32 License: SUSE-Public-Domain Group: Development/Libraries/C and C++ Url: http://mingw-w64.sf.net/ - -Source: mingw-w64-crt-%version%{snapshot}.tar.xz -Source100: %name-rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +Source: mingw-w64-crt-%{version}%{snapshot}.tar.xz +Source100: %{name}-rpmlintrc #!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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description MinGW Win64 cross-compiler runtime, base libraries. %prep -%setup -qn mingw-w64-crt +%setup -q -n mingw-w64-crt %build -%_mingw32_configure --enable-lib32 --disable-lib64 +%{_mingw32_configure} --enable-lib32 --disable-lib64 make %{?_smp_mflags} %install -make DESTDIR="%buildroot" install -rm -Rfv "%buildroot/%_mingw32_includedir"/*.c +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -Rfv "%{buildroot}/%{_mingw32_includedir}"/*.c %files %defattr(-,root,root) -%_mingw32_libdir/ +%{_mingw32_libdir}/ %changelog