OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-runtime?expand=0&rev=54
This commit is contained in:
parent
209ad625e4
commit
945a9fa25f
@ -1 +1,2 @@
|
|||||||
addFilter("arch-independent-package-contains-binary-or-object")
|
addFilter("arch-independent-package-contains-binary-or-object")
|
||||||
|
addFilter("devel-file-in-non-devel-package")
|
||||||
|
@ -24,39 +24,39 @@ License: SUSE-Public-Domain
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://mingw-w64.sf.net/
|
URL: http://mingw-w64.sf.net/
|
||||||
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
|
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
|
||||||
Source100: %name-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
#!BuildIgnore: post-build-checks
|
|
||||||
BuildRequires: mingw64-cross-binutils
|
BuildRequires: mingw64-cross-binutils
|
||||||
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
|
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
|
||||||
BuildRequires: mingw64-filesystem
|
BuildRequires: mingw64-filesystem
|
||||||
BuildRequires: mingw64-headers >= %version
|
BuildRequires: mingw64-headers >= %{version}
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
#!BuildIgnore: post-build-checks
|
||||||
# When building the CRT, any newer (>=) headers should be ok, since the CRT
|
# When building the CRT, any newer (>=) headers should be ok, since the CRT
|
||||||
# won't make use of them. At runtime, ensure that headers are not too new (<=)
|
# won't make use of them. At runtime, ensure that headers are not too new (<=)
|
||||||
# because ominous link failures can result -- let OBS go into unresolvable
|
# because ominous link failures can result -- let OBS go into unresolvable
|
||||||
# state instead.
|
# state instead.
|
||||||
Requires: mingw64-headers <= %version
|
Requires: mingw64-headers <= %{version}
|
||||||
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
|
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
|
||||||
# longer needed.
|
# longer needed.
|
||||||
Obsoletes: mingw64-runtime-bootstrap
|
Obsoletes: mingw64-runtime-bootstrap
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%_mingw64_package_header
|
%{_mingw64_package_header}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MinGW Win64 cross-compiler runtime, base libraries.
|
MinGW Win64 cross-compiler runtime, base libraries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n mingw-w64-v%version/mingw-w64-crt
|
%autosetup -n mingw-w64-v%{version}/mingw-w64-crt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%_mingw64_configure --disable-lib32 --enable-lib64
|
%{_mingw64_configure} --disable-lib32 --enable-lib64
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -Rfv "%buildroot/%_mingw64_includedir"/*.c
|
rm -Rfv "%{buildroot}/%{_mingw64_includedir}"/*.c
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%_mingw64_libdir/
|
%{_mingw64_libdir}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user