From 802a342a3299a6f6fd95ed26d8298a65b831dc286355ae30d144fa6d0a3611d5 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 14 Sep 2021 06:28:15 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-runtime?expand=0&rev=48 --- mingw32-runtime-rpmlintrc | 1 + mingw32-runtime.spec | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/mingw32-runtime-rpmlintrc b/mingw32-runtime-rpmlintrc index e492e72..43c2593 100644 --- a/mingw32-runtime-rpmlintrc +++ b/mingw32-runtime-rpmlintrc @@ -1 +1,2 @@ addFilter("arch-independent-package-contains-binary-or-object") +addFilter("devel-file-in-non-devel-package") diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec index 8297ec8..31d1d46 100644 --- a/mingw32-runtime.spec +++ b/mingw32-runtime.spec @@ -24,29 +24,29 @@ 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 -#!BuildIgnore: post-build-checks +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 From d02c81de6ac8bfdc55fb8a6f7ad953313a7bb08d70af0cc856ca740d53272b92 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 21 Sep 2021 08:39:30 +0000 Subject: [PATCH 2/2] - 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 --- mingw32-runtime.changes | 5 +++++ mingw32-runtime.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/mingw32-runtime.changes b/mingw32-runtime.changes index 7df9300..ffcf5df 100644 --- a/mingw32-runtime.changes +++ b/mingw32-runtime.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 21 08:39:19 UTC 2021 - Jan Engelhardt + +- Silence rpmlint2: devel-file-in-non-devel-package + ------------------------------------------------------------------- Sat Jul 3 10:32:06 UTC 2021 - Jan Engelhardt diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec index 31d1d46..c087468 100644 --- a/mingw32-runtime.spec +++ b/mingw32-runtime.spec @@ -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