- Silence rpmlint2: devel-file-in-non-devel-package

OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-runtime?expand=0&rev=49
This commit is contained in:
Jan Engelhardt 2021-09-21 08:39:30 +00:00 committed by Git OBS Bridge
parent 802a342a32
commit d02c81de6a
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 21 08:39:19 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Silence rpmlint2: devel-file-in-non-devel-package
-------------------------------------------------------------------
Sat Jul 3 10:32:06 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -23,30 +23,30 @@ Summary: MinGW-w64 runtime libraries for Win32
License: SUSE-Public-Domain
Group: Development/Libraries/C and C++
URL: http://mingw-w64.sf.net/
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
Source100: %{name}-rpmlintrc
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%version.tar.bz2
Source100: %name-rpmlintrc
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
#!BuildIgnore: post-build-checks
# 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 (<=)
# because ominous link failures can result -- let OBS go into unresolvable
# state instead.
Requires: mingw32-headers <= %{version}
Requires: mingw32-headers <= %version
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
# longer needed.
Obsoletes: mingw32-runtime-bootstrap
BuildArch: noarch
%{_mingw32_package_header}
%_mingw32_package_header
%description
MinGW Win64 cross-compiler runtime, base libraries.
%prep
%autosetup -n mingw-w64-v%{version}/mingw-w64-crt
%autosetup -n mingw-w64-v%version/mingw-w64-crt
%build
%_mingw32_configure --enable-lib32 --disable-lib64
@ -54,9 +54,9 @@ MinGW Win64 cross-compiler runtime, base libraries.
%install
%make_install
rm -Rfv "%{buildroot}/%{_mingw32_includedir}"/*.c
rm -Rfv "%buildroot/%_mingw32_includedir"/*.c
%files
%{_mingw32_libdir}/
%_mingw32_libdir/
%changelog