Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mingw32-filesystem for openSUSE:Factory checked in at 2021-09-16 23:14:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mingw32-filesystem (Old) and /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw32-filesystem" Thu Sep 16 23:14:55 2021 rev:11 rq:919513 version:20210914 Changes: -------- --- /work/SRC/openSUSE:Factory/mingw32-filesystem/mingw32-filesystem.changes 2021-08-03 22:48:56.048482878 +0200 +++ /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.1899/mingw32-filesystem.changes 2021-09-16 23:17:39.687984011 +0200 @@ -1,0 +2,14 @@ +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) + +------------------------------------------------------------------- +Tue Sep 14 06:39:03 UTC 2021 - Fridrich Strba <fst...@suse.com> + +- Force rpmlint use and avoid using of rpmlint-mini + +------------------------------------------------------------------- New: ---- mingw32-filesystem-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mingw32-filesystem.spec ++++++ --- /var/tmp/diff_new_pack.NxiZ3l/_old 2021-09-16 23:17:40.187984529 +0200 +++ /var/tmp/diff_new_pack.NxiZ3l/_new 2021-09-16 23:17:40.191984532 +0200 @@ -1,7 +1,7 @@ # # spec file for package mingw32-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: mingw32-filesystem -Version: 20201105 +Version: 20210914 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later @@ -45,6 +52,7 @@ Source12: mingw32-cmake.prov Source13: mingw32-cmake.attr Source14: macros.mingw32-cmake +Source15: mingw32-filesystem-rpmlintrc Provides: mingw32(bcrypt.dll) Provides: mingw32(dbghelp.dll) Provides: mingw32(mpr.dll) @@ -61,6 +69,7 @@ Requires: mingw32-cross-breakpad-tools Requires: python3 Requires: rpm +Requires: rpmlint-mini BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch #!BuildIgnore: post-build-checks @@ -105,8 +114,15 @@ install -m 644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.mingw32 install -m 644 %{SOURCE14} %{buildroot}%{_rpmmacrodir}/$(basename %{SOURCE14}) -mkdir -p %{buildroot}%{_sysconfdir}/rpmlint -install -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/rpmlint/mingw32-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/mingw32.toml +%else +install -m 644 %{SOURCE7} %{buildroot}%_rpmlintdir/mingw32-rpmlint.config +%endif mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32 @@ -182,7 +198,12 @@ %else %{_distconfdir}/profile.d/mingw32.sh %endif -%{_sysconfdir}/rpmlint/mingw32-rpmlint.config +%if %suse_version == 1550 +%_rpmlintdir/mingw32.toml +%else +%_rpmlintdir/mingw32-rpmlint.config +%endif + %{_rpmconfigdir}/mingw32-cmake.prov %{_fileattrsdir}/mingw32-cmake.attr %{_bindir}/mingw32-* ++++++ mingw32-cmake.prov ++++++ --- /var/tmp/diff_new_pack.NxiZ3l/_old 2021-09-16 23:17:40.315984662 +0200 +++ /var/tmp/diff_new_pack.NxiZ3l/_new 2021-09-16 23:17:40.319984665 +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 ++++++ mingw32-filesystem-rpmlintrc ++++++ addFilter("^mingw32-.*filelist-forbidden-fhs23") addFilter("^mingw32-.*filelist-forbidden-opt") addFilter("^mingw32-.*non-conffile-in-etc") # positive false on tumbleweed, does not work as expected addFilter("^mingw32-.*unused-rpmlintrc-filter")++++++ mingw32-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.NxiZ3l/_old 2021-09-16 23:17:40.391984740 +0200 +++ /var/tmp/diff_new_pack.NxiZ3l/_new 2021-09-16 23:17:40.391984740 +0200 @@ -1,9 +1,11 @@ +# not used on Leap 15.x for linting mingw32-filesystem package + # Unconditionally remove devel-file-in-non-devel rpmlint warning. addFilter ("^mingw32-.*devel-file-in-non-devel") # /usr/i686-w64-mingw32 is permitted by MinGW packaging guidelines. addFilter ("^mingw32-.*non-standard-dir-in-usr i686-w64-mingw32") -addFilter ("^mingw32-.*suse-filelist-forbidden-fhs23 /usr/i686-w64-mingw32") +addFilter ("^mingw32-.*filelist-forbidden-fhs23 /usr/i686-w64-mingw32") # GCC and libtool create executable archive files. It's not clear # why, but we permit this for now. @@ -20,3 +22,5 @@ # This group is used a lot, so ignore the warning about it. addFilter ("^mingw32-.*non-standard-group Development/Libraries$") + +addFilter("^mingw32-.*potential-bashisms")