Hello community,

here is the log from the commit of package suse-module-tools for 
openSUSE:Leap:15.2:SLE-workarounds checked in at 2020-06-06 20:14:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:SLE-workarounds/suse-module-tools (Old)
 and      
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.suse-module-tools.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-module-tools"

Sat Jun  6 20:14:12 2020 rev:1 rq: version:15.2.11

Changes:
--------
New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.suse-module-tools.new.3606/suse-module-tools.changes
  2020-06-06 20:14:13.398138338 +0200
@@ -0,0 +1,357 @@
+-------------------------------------------------------------------
+Fri Jun  5 15:48:59 UTC 2020 - Martin Wilck <[email protected]>
+
+- Reverted back to tar_scm source service to fix Ring0 build in Leap
+
+-------------------------------------------------------------------
+Thu May 28 20:07:42 UTC 2020 - [email protected]
+
+- Update to version 15.2.11:
+  * spec: remove SLE/openSUSE difference in allow_unsupported_modules
+  (jsc#SLE-12255)
+  * spec: use same fs_blacklist on SLE and openSUSE
+  (jsc#SLE-12255, jsc#SLE-3926)
+  * spec: use br_netfilter softdep only for SLE12
+  (jsc#SLE-12255, bsc#1166531, boo#1158817, bsc#937216)
+
+-------------------------------------------------------------------
+Mon Jan 20 15:03:51 UTC 2020 - [email protected]
+
+- Update to version 15.2.10:
+  * ppc64le: fix dependency of papr_scm
+    (bsc#1142152, ltc#176292, FATE#327775).
+
+-------------------------------------------------------------------
+Wed Jan 15 20:46:40 UTC 2020 - [email protected]
+
+- Update to version 15.2.9:
+  * 00-system.conf: move br_netfilter softdep to separate file
+    (boo#1158817)
+
+-------------------------------------------------------------------
+Thu Jan 09 12:30:58 UTC 2020 - [email protected]
+
+- Update to version 15.2.8:
+  * Add modprobe.conf.s390x (bsc#1132798)
+
+-------------------------------------------------------------------
+Thu Nov 07 20:34:15 UTC 2019 - [email protected]
+
+- Update to version 15.2.7:
+  * spec file: avoid %{_libexecdir}
+
+-------------------------------------------------------------------
+Thu Nov 07 19:48:05 UTC 2019 - [email protected]
+
+- Update to version 15.2.6:
+  * modprobe.conf: add dependency of papr_scm on libnvdimm
+    (bsc#1142152, ltc#176292, FATE#327775).
+
+-------------------------------------------------------------------
+Fri Aug 16 08:46:15 UTC 2019 - [email protected]
+
+- Update to version 15.2.5:
+  * remove 'modhash' - moved to mokutil package (jsc#SLE-6094)
+
+-------------------------------------------------------------------
+Mon Jul 15 11:58:07 UTC 2019 - [email protected]
+
+- Update to version 15.2.4:
+  * sg.conf: avoid file conflict with system-tuning-common-SUSE
+
+-------------------------------------------------------------------
+Mon Jul 01 20:18:55 UTC 2019 - [email protected]
+
+- Update to version 15.2.3:
+  * softdep of bridge on br_netfilter (bsc#937216, bsc#1134819)
+
+-------------------------------------------------------------------
+Tue Jun 18 13:08:07 UTC 2019 - [email protected]
+
+- Update to version 15.2.2:
+  * kmp-install, driver-check.sh, weak-modules2:
+    Support for compressed kernel modules (bsc#1135854)
+
+-------------------------------------------------------------------
+Fri Jun 14 14:52:19 UTC 2019 - [email protected]
+
+- Update to version 15.2.1:
+- Install sg.conf under /usr/lib/modules-load.d (bsc#1036463)
+  * sg.conf: avoid file conflict with systemd
+
+-------------------------------------------------------------------
+Fri Jun 14 10:06:55 UTC 2019 - [email protected]
+
+- Update to version 15.2.0:
+  * weak-modules2: emit "inconsistent" warning only if replacement fails
+  (bsc#1127155)
+
+-------------------------------------------------------------------
+Fri May 17 06:18:33 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Only ship RPM macros up to suse_version 1500: after that, the
+  macros can be found in the rpm-config-SUSE package.
+
+-------------------------------------------------------------------
+Fri May 10 09:18:57 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Move RPM macros to %_rpmmacrodir.
+
+-------------------------------------------------------------------
+Thu Mar 14 16:02:23 UTC 2019 - [email protected]
+
+- Update to version 15.1.13:
+  * spec file: add conflicts for dracut < 44.2 (bsc#1127891)
+
+-------------------------------------------------------------------
+Thu Mar 14 14:53:24 UTC 2019 - [email protected]
+
+- Update to version 15.1.12 (git 1ab0b84):
+  * modprobe.conf.common: add csiostor->cxgb4 dependency
+    (bsc#1100989)
+  * Load fbcon together with virtio_gpu on s390 (bsc#1121996,
+    fate#327159)
+
+-------------------------------------------------------------------
+Mon Feb 18 12:02:27 UTC 2019 - [email protected]
+
+- Update to version 15.1.11 (git 54df192):
+  * spec file: use more gentle wording in blacklist files
+  * spec file: drop jffs2 and ubifs from blacklist
+
+-------------------------------------------------------------------
+Fri Feb 08 10:44:56 UTC 2019 - [email protected]
+
+- Update to version 15.1.10 (git b28b13d):
+- implemented fs blacklisting logic (jsc#SLES-4085, fate#326832)
+
+-------------------------------------------------------------------
+Thu Jan 31 23:07:10 UTC 2019 - [email protected]
+
+- Update to version 15.1.0 (git 6b07b88):
+  * 50-blacklist.conf is not added in Leap before 15.1.
+  fix conditionals and bump version accordingly.
+
+-------------------------------------------------------------------
+Wed Jan 30 23:04:26 UTC 2019 - [email protected]
+
+- Update to version 15.0.20 (git 1396df5):
+- Fix driver-check.sh (boo#1123697, boo#1123704)
+- add /etc/modprobe.d/50-blacklist.conf from sysconfig package
+  (boo#1107611)
+- Remove hard dependency on mkinitrd (boo#1123721)
+- Make sure code works also without kmod-compat
+- Replace file dependency on /sbin/depmod by weak package dependency
+
+-------------------------------------------------------------------
+Mon Dec 10 12:10:29 UTC 2018 - Martin Wilck <[email protected]>
+
+- Move "weak-modules" script to -legacy subpackage to avoid
+  dependency on binutils (bsc#1116665)
+
+-------------------------------------------------------------------
+Fri Dec  7 12:45:36 UTC 2018 - Adrian Schröter <[email protected]>
+
+- Require mkinitrd (provided also by dracut) directly instead of
+  file requires. This is fixing image build failures
+
+-------------------------------------------------------------------
+Wed Nov 07 14:53:52 UTC 2018 - [email protected]
+
+- Update to version 15.0.1 (git 5c63319):
+- Use /etc/modules-load.d/sg.conf for sg driver autoloading
+  (bsc#1036463)
+  * added /etc/modules-load.d/sg.conf
+
+-------------------------------------------------------------------
+Mon Nov 05 10:08:19 UTC 2018 - [email protected]
+
+- version 15.0 (git 6ce3011)
+- modsign-verify: support for parsing PKCS#7 signatures
+  (bsc#1111300, bsc#1105495)
+- Fix logic for unsupported modules (bsc#1111183) 
+  * SLES15: allow unsupported modules only if kernel-default-extra
+  from SLE-WE module is installed
+  * Always allow unsupported modules on Leap 15 and Factory
+  * No change for SLE12 / Leap 42.x and below
+  * 10-unsupported-modules.conf: improved comments
+  * fix %config(noreplace) logic for 10-unsupported-modules.conf
+- added udev rule 81-sg.rules to make sure the sg module is
+  always loaded (bsc#1036463)
+
+-------------------------------------------------------------------
+Wed Jul 26 08:07:29 UTC 2017 - [email protected]
+
+- Use path dependency that is not parsed by obs to ensure we
+  are not pulling systemd everywhere
+
+-------------------------------------------------------------------
+Mon Jun 19 12:58:04 UTC 2017 - [email protected]
+
+- Set url to github project and repack using obs service
+- Cleanup a bit with spec-cleaner
+- Grep os-release and not deprecated SuSE-release
+
+-------------------------------------------------------------------
+Thu Sep  8 08:55:50 UTC 2016 - [email protected]
+
++++ 160 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.suse-module-tools.new.3606/suse-module-tools.changes

New:
----
  _service
  _servicedata
  suse-module-tools-15.2.11.tar.xz
  suse-module-tools.changes
  suse-module-tools.rpmlintrc
  suse-module-tools.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-module-tools.spec ++++++
#
# spec file for package suse-module-tools
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


# Define _rpmmacrodir if it's not defined yet
%{!?_rpmmacrodir: %global _rpmmacrodir %{_rpmconfigdir}/macros.d}
%define modules_load_dir /usr/lib/modules-load.d

# List of legacy file systems to be blacklisted by default
%global fs_blacklist adfs affs bfs befs cramfs efs erofs exofs freevxfs f2fs 
hfs hpfs jfs minix nilfs2 ntfs omfs qnx4 qnx6 sysv ufs

%if 0%{?sle_version} >= 120200 && 0%{?sle_version} < 150000
%global softdep_br_netfilter 1
%endif

Name:           suse-module-tools
Version:        15.2.11
Release:        0
Summary:        Configuration for module loading and SUSE-specific utilities 
for KMPs
License:        GPL-2.0-or-later
Group:          System/Base
URL:            https://github.com/openSUSE/suse-module-tools
Source0:        %{name}-%{version}.tar.xz
Source1:        %{name}.rpmlintrc
Requires:       coreutils
Requires:       findutils
Requires:       grep
Requires:       gzip
Requires:       rpm
Requires:       sed
# Use weak dependencies for mkinitrd and kmod in order to
# keep Ring0 lean. In normal deployments, these packages
# will be available anyway.
Recommends:     mkinitrd
%if 0%{?suse_version} >= 1315
Recommends:     kmod
%else
Recommends:     modutils
%endif
# This release requires the dracut fix for bsc#1127891
Conflicts:      dracut < 44.2

%description
This package contains helper scripts for KMP installation and
uninstallation, as well as default configuration files for depmod and
modprobe. These utilities are provided by kmod-compat or
module-init-tools, whichever implementation you choose to install.


%package legacy
Summary:        Legacy "weak-modules" script for Code10
Group:          System/Base
Requires:       %{name}
Requires:       binutils

%description legacy
This package contains the legacy "weak-modules" script for kernel
module package (KMP) support. It was replaced by "weak-modules2" in
SLE 11 and later.

%prep
%setup -q

%build

%install
# now assemble the parts for modprobe.conf
cp modprobe.conf/modprobe.conf.common 00-system.conf
if [ -f "modprobe.conf/modprobe.conf.$RPM_ARCH" ]; then
        cat "modprobe.conf/modprobe.conf.$RPM_ARCH" >>00-system.conf
fi
install -d -m 755 "%{buildroot}%{_sysconfdir}/modprobe.d"
install -pm644 "10-unsupported-modules.conf" \
        "%{buildroot}%{_sysconfdir}/modprobe.d/"
install -pm644 00-system.conf "%{buildroot}%{_sysconfdir}/modprobe.d/"

%if 0%{?softdep_br_netfilter}
# softdep bridge->br_netfilter, SLE only
install -pm644 modprobe.conf/00-system-937216.conf 
%{buildroot}%{_sysconfdir}/modprobe.d
%endif
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
install -pm644 modprobe.conf/modprobe.conf.blacklist 
"%{buildroot}%{_sysconfdir}/modprobe.d/50-blacklist.conf"
%endif
install -pm644 modprobe.conf/modprobe.conf.local 
"%{buildroot}%{_sysconfdir}/modprobe.d/99-local.conf"
install -d -m 755 "%{buildroot}%{_sysconfdir}/depmod.d"
install -pm 644 "depmod-00-system.conf" \
        "%{buildroot}%{_sysconfdir}/depmod.d/00-system.conf"

# "/usr/lib/module-init-tools" name hardcoded in KMPs, mkinitrd, etc.
install -d -m 755 "%{buildroot}/usr/lib/module-init-tools"
install -pm 755 weak-modules{,2} "%{buildroot}/usr/lib/module-init-tools/"
install -pm 755 driver-check.sh "%{buildroot}/usr/lib/module-init-tools/"

%if 0%{?suse_version} < 1550
# rpm macros and helper
# The RPM Macros have been moved to the package rpm-config-SUSE after CODE15, 
thus are no longer
# shipped here
install -d -m 755 "%{buildroot}%{_rpmmacrodir}"
install -pm 644 "macros.initrd" "%{buildroot}%{_rpmmacrodir}"
%endif
install -pm 755 "regenerate-initrd-posttrans" 
"%{buildroot}/usr/lib/module-init-tools/"

install -d -m 755 "%{buildroot}%{_prefix}/bin"
install -pm 755 kmp-install "%{buildroot}%{_bindir}/"

# systemd service to load /boot/sysctl.conf-`uname -r`
install -d -m 755 "%{buildroot}%{_unitdir}/systemd-sysctl.service.d"
install -pm 644 50-kernel-uname_r.conf 
"%{buildroot}%{_unitdir}/systemd-sysctl.service.d"

# Ensure that the sg driver is loaded early (bsc#1036463)
# Not needed in SLE11, where sg is loaded via udev rule.
install -d -m 755 "%{buildroot}%{modules_load_dir}"
install -pm 644 sg.conf "%{buildroot}%{modules_load_dir}"

mkdir -p %{buildroot}%{_defaultlicensedir}

%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
for mod in %{fs_blacklist}; do
    echo "\
# The $mod file system is blacklisted by default because it isn't actively
# supported by SUSE, not well maintained, or may have security vulnerabilites.
# To enable autoloading the $mod file system module, comment out the
# \"blacklist $mod\" statement below. ENABLE AT YOUR OWN RISK.
#
# File system modules loaded at installation time of the %{name} package
# are not blacklisted. This is achieved by commenting out the blacklist
# line in the post-installation script. To prevent the post-installation
# script from modifying this file, delete the line containing \"THIS FILE MAY
# BE MODIFIED\" at the bottom.
blacklist $mod
# __THIS FILE MAY BE MODIFIED__" \
        >%{buildroot}%{_sysconfdir}/modprobe.d/60-blacklist_fs-"$mod".conf
done
%endif

%post
%if 0%{?sle_version} >= 150000
# Delete obsolete unsupported-modules file from SLE11
rm -f %{_sysconfdir}/modprobe.d/unsupported-modules
%else
# Logic for releases below CODE 15
%if 0%{?is_opensuse} == 1
allowed=1
%else
allowed=0
%endif
test_allow_on_install()
{
        # configure handling of unsupported modules
        # default is to allow them
        allow=1
        # if the obsolete LOAD_UNSUPPORTED_MODULES_AUTOMATICALLY variable is
        # set to no, don't allow (this was used in SLES 9 and 10)
        if test -e %{_sysconfdir}/sysconfig/hardware/config; then
                . %{_sysconfdir}/sysconfig/hardware/config
                if test "x$LOAD_UNSUPPORTED_MODULES_AUTOMATICALLY" = "xno"; then
                        allow=0
                fi
                # obsolete
                rm %{_sysconfdir}/sysconfig/hardware/config
        fi
        # don't change the setting during upgrade
        if test "$1" != 1; then
                allow=
                return
        fi
        # on SLES, the default is not to allow unsupported modules
        if grep -qs "Enterprise Server" %{_sysconfdir}/os-release; then
                allow=0
        else
                return
        fi
        # unless the admin passed "oem-modules=1" to the kernel during install
        if grep -qs '\<oem-modules=1\>' /proc/cmdline; then
                allow=1
                return
        fi
        # or if the installer already loaded some unsupported modules
        # (see TAINT_NO_SUPPORT in /etc/src/linux/include/linux/kernel.h)
        tainted=$(cat /proc/sys/kernel/tainted 2>/dev/null || echo 0)
        if test $((tainted & (1<<30))) != 0; then
                allow=1
                return
        fi
}
# upgrade from old locations
if test -e %{_sysconfdir}/modprobe.d/unsupported-modules; then
        mv -f %{_sysconfdir}/modprobe.d/unsupported-modules \
                %{_sysconfdir}/modprobe.d/10-unsupported-modules.conf
fi
test_allow_on_install "$@"
if test -n "$allow" -a "$allow" != "$allowed"; then
        sed -ri 's/^( *allow_unsupported_modules *) [01]/\1 '"$allow"'/' \
                %{_sysconfdir}/modprobe.d/10-unsupported-modules.conf
fi
%endif

# upgrade from old locations
if test -e %{_sysconfdir}/modprobe.conf.local; then
        mv -f %{_sysconfdir}/modprobe.conf.local \
                %{_sysconfdir}/modprobe.d/99-local.conf
fi

# Avoid systems becoming unbootable by blacklisting filesystem
# modules. Modules loaded at installation time will not be
# blacklisted (the blacklist statement is commented out).
# config(noreplace) makes sure that this is not overwritten by rpm.
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
for mod in %{fs_blacklist}; do
        conf=%{_sysconfdir}/modprobe.d/60-blacklist_fs-"$mod".conf
        if [ -f "$conf" ] && \
            grep -q '^# __THIS FILE MAY BE MODIFIED__$' "$conf" && \
            sed '/^nodev/d;' /proc/filesystems | grep -q "\<$mod\>"; then
                sed -i '
/^# next line was commented out by postinstall script of %{name}$/d
/^blacklist '"$mod"'/{i\
# next line was commented out by postinstall script of %{name}
s/^/# /
}' "$conf"
        fi
done
%endif

%files
%defattr(-,root,root)

%if 0%{?sle_version:%{sle_version}}%{!?sle_version:150000} <= 120200
%dir %{_defaultlicensedir}
%endif
%license LICENSE
%doc README.SUSE
%dir %{_sysconfdir}/modprobe.d
%config %{_sysconfdir}/modprobe.d/00-system.conf
%if 0%{?softdep_br_netfilter}
%config(noreplace) %{_sysconfdir}/modprobe.d/00-system-937216.conf
%endif
%config(noreplace) %{_sysconfdir}/modprobe.d/10-unsupported-modules.conf
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
%config(noreplace) %{_sysconfdir}/modprobe.d/50-blacklist.conf
%config(noreplace) %{_sysconfdir}/modprobe.d/60-blacklist_fs-*.conf
%endif
%config(noreplace) %{_sysconfdir}/modprobe.d/99-local.conf
%dir %{_sysconfdir}/depmod.d
%config %{_sysconfdir}/depmod.d/00-system.conf
%if 0%{?suse_version} < 1550
%{_rpmmacrodir}/macros.initrd
%endif
%{_bindir}/kmp-install
/usr/lib/module-init-tools
%exclude /usr/lib/module-init-tools/weak-modules
%{_unitdir}/systemd-sysctl.service.d
%dir %{modules_load_dir}
%{modules_load_dir}/sg.conf

%files legacy
%defattr(-,root,root)
/usr/lib/module-init-tools/weak-modules

%changelog
++++++ _service ++++++
<services>
  <service mode="disabled" name="tar_scm">
    <param name="url">https://github.com/openSUSE/suse-module-tools.git</param>
    <param name="scm">git</param>
    <param name="changesgenerate">enable</param>
    <param name="filename">suse-module-tools</param>
    <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
    <param name="versionrewrite-pattern">\+0$</param>
    <param name="versionrewrite-replacement"></param>
    <param name="revision">sles15-sp2</param>
    <param name="exclude">*.rpmlintrc</param>
  </service>
<service mode="disabled" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service mode="disabled" name="extract_file">
    <param name="archive">*.tar.xz</param>
    <param name="files">*/suse-module-tools.spec</param>
    <param name="outfilename">suse-module-tools.spec</param>
  </service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/openSUSE/suse-module-tools.git</param>
              <param 
name="changesrevision">b0172e395fe4042caddb852e14f4a8e36645492f</param></service></servicedata>++++++
 suse-module-tools.rpmlintrc ++++++
# The package installs different configs for different architectures
addFilter("no-binary");

Reply via email to