Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mingw64-filesystem for openSUSE:Factory checked in at 2021-09-16 23:14:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mingw64-filesystem (Old) and /work/SRC/openSUSE:Factory/.mingw64-filesystem.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw64-filesystem" Thu Sep 16 23:14:56 2021 rev:12 rq:919512 version:20210914 Changes: -------- --- /work/SRC/openSUSE:Factory/mingw64-filesystem/mingw64-filesystem.changes 2021-08-03 22:48:56.940481802 +0200 +++ /work/SRC/openSUSE:Factory/.mingw64-filesystem.new.1899/mingw64-filesystem.changes 2021-09-16 23:17:40.535984889 +0200 @@ -1,0 +2,15 @@ +Tue Sep 14 10:20:08 UTC 2021 - Ralf Habacker <ralf.habac...@freenet.de> + +- Fix install path and file format for global rpmlint config file on + openSUSE_Tumbleweed (bug boo#1190304, boo#1190438) +- Use rpmlint-mini also on Leap 15.x to fix the conflict breakage +- Be more verbose when version in generated xxxConfigVersion.cmake + files is empty (see https://build.opensuse.org/request/show/915515) +- Sync with mingw32 variant + +------------------------------------------------------------------- +Tue Sep 14 06:39:03 UTC 2021 - Fridrich Strba <fst...@suse.com> + +- Force rpmlint use and avoid using of rpmlint-mini + +------------------------------------------------------------------- New: ---- mingw64-filesystem-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mingw64-filesystem.spec ++++++ --- /var/tmp/diff_new_pack.HHEdKI/_old 2021-09-16 23:17:41.051985423 +0200 +++ /var/tmp/diff_new_pack.HHEdKI/_new 2021-09-16 23:17:41.051985423 +0200 @@ -1,7 +1,7 @@ # # spec file for package mingw64-filesystem # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,13 @@ # +# Tumbleweed +%if %suse_version == 1550 +%define _rpmlintdir /opt/testing/share/rpmlint +%else +%define _rpmlintdir /opt/testing/share/rpmlint/mini +%endif + %define debug_package %{nil} %if %{undefined _distconfdir} %define _distconfdir %{_sysconfdir} @@ -24,7 +31,7 @@ %define _rpmmacrodir %{_sysconfdir}/rpm %endif Name: mingw64-filesystem -Version: 20201105 +Version: 20210914 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later @@ -45,6 +52,7 @@ Source12: mingw64-cmake.prov Source13: mingw64-cmake.attr Source14: macros.mingw64-cmake +Source15: mingw64-filesystem-rpmlintrc Provides: mingw64(bcrypt.dll) Provides: mingw64(dbghelp.dll) Provides: mingw64(mpr.dll) @@ -61,6 +69,7 @@ Requires: mingw64-cross-breakpad-tools Requires: python3 Requires: rpm +Requires: rpmlint-mini BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch #!BuildIgnore: post-build-checks @@ -103,10 +112,17 @@ mkdir -p %{buildroot}%{_rpmmacrodir} install -m 644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.mingw64 -install -m 644 %{SOURCE14} %{buildroot}%{_rpmmacrodir}/macros.mingw64-cmake +install -m 644 %{SOURCE14} %{buildroot}%{_rpmmacrodir}/$(basename %{SOURCE14}) -mkdir -p %{buildroot}%{_sysconfdir}/rpmlint -install -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/rpmlint/mingw64-rpmlint.config +mkdir -p %{buildroot}%_rpmlintdir +# tumbleweed +%if %suse_version == 1550 +# convert to toml file format, which seems to be required +sed "s,addFilter *(\", ',g;s#\")#',#g" %{SOURCE7} | gawk 'BEGIN { print "Filters = ["} { print $0 } END { print "]"}' > %{SOURCE7}.toml +install -m 644 %{SOURCE7}.toml %{buildroot}%_rpmlintdir/mingw64.toml +%else +install -m 644 %{SOURCE7} %{buildroot}%_rpmlintdir/mingw64-rpmlint.config +%endif mkdir -p %{buildroot}%{_prefix}/x86_64-w64-mingw32 @@ -183,7 +199,11 @@ %else %{_distconfdir}/profile.d/mingw64.sh %endif -%config %{_sysconfdir}/rpmlint/mingw64-rpmlint.config +%if %suse_version == 1550 +%_rpmlintdir/mingw64.toml +%else +%_rpmlintdir/mingw64-rpmlint.config +%endif %{_rpmconfigdir}/mingw64-cmake.prov %{_fileattrsdir}/mingw64-cmake.attr %{_bindir}/mingw64-* ++++++ mingw64-cmake.prov ++++++ --- /var/tmp/diff_new_pack.HHEdKI/_old 2021-09-16 23:17:41.223985601 +0200 +++ /var/tmp/diff_new_pack.HHEdKI/_new 2021-09-16 23:17:41.223985601 +0200 @@ -69,7 +69,10 @@ # set(PACKAGE_VERSION <version>) version = re.match(r"^set[\ ]*\([\ ]*PACKAGE_VERSION[\ ]+[\"]*([0-9\.]+)[\"]*[\ ]*[.]*\)", line) if version: - return version.groups(1)[0] + _version = version.groups(1)[0] + if _version == '..': + sys.stderr.write("error: Version pattern found without values - '%s' was created incorrectly\n" % versionFile) + return _version return None ++++++ mingw64-filesystem-rpmlintrc ++++++ addFilter("^mingw64-.*filelist-forbidden-fhs23") addFilter("^mingw64-.*filelist-forbidden-opt") addFilter("^mingw64-.*non-conffile-in-etc") # positive false on tumbleweed, does not work as expected addFilter("^mingw64-.*unused-rpmlintrc-filter")++++++ mingw64-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.HHEdKI/_old 2021-09-16 23:17:41.327985708 +0200 +++ /var/tmp/diff_new_pack.HHEdKI/_new 2021-09-16 23:17:41.327985708 +0200 @@ -3,7 +3,7 @@ # /usr/x86_64-w64-mingw32 is permitted by MinGW packaging guidelines. addFilter ("^mingw64-.*non-standard-dir-in-usr x86_64-w64-mingw32") -addFilter ("^mingw64-.*suse-filelist-forbidden-fhs23 /usr/x86_64-w64-mingw32") +addFilter ("^mingw64-.*filelist-forbidden-fhs23 /usr/x86_64-w64-mingw32") # GCC and libtool create executable archive files. It's not clear # why, but we permit this for now. @@ -20,3 +20,8 @@ # This group is used a lot, so ignore the warning about it. addFilter ("^mingw64-.*non-standard-group Development/Libraries$") + +# using /opt/testing +addFilter("^mingw64-*filelist-forbidden-opt") + +addFilter("^mingw64-.*potential-bashisms")