Hello community,
here is the log from the commit of package rpm for openSUSE:Factory checked in at 2017-10-18 10:43:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpm (Old)
and /work/SRC/openSUSE:Factory/.rpm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpm"
Wed Oct 18 10:43:22 2017 rev:249 rq:533089 version:4.13.0.1
Changes:
--------
rpm-python.changes: same change
--- /work/SRC/openSUSE:Factory/rpm/rpm.changes 2017-09-13 21:33:06.502782185 +0200
+++ /work/SRC/openSUSE:Factory/.rpm.new/rpm.changes 2017-10-18 10:43:26.424715578 +0200
@@ -1,0 +2,18 @@
+Fri Sep 8 15:37:36 UTC 2017 - mmarek@suse.com
+
+- Generate ksym() dependencies for SLE if %is_opensuse is unset
+ (bsc#981083).
+
+-------------------------------------------------------------------
+Tue Aug 29 14:21:31 UTC 2017 - mmarek@suse.com
+
+- Drop %supplements_kernel_module, as it is broken, undocumented
+ and is not used by anybody (bsc#981083).
+ dropped: modalias-kernel_module.diff
+ refreshed: modalias-encode.diff
+- Split fileattrs for kernel and kmps, do not pass around %name and
+ simplify the helpers
+ refreshed: fileattrs.diff, modalias.diff
+ dropped: symset-table, helperenv.diff, modalias-no-kgraft.diff
+
+-------------------------------------------------------------------
Old:
----
helperenv.diff
modalias-kernel_module.diff
modalias-no-kgraft.diff
symset-table
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
rpm-python.spec: same change
++++++ rpm.spec ++++++
--- /var/tmp/diff_new_pack.9UD0GS/_old 2017-10-18 10:43:28.888599817 +0200
+++ /var/tmp/diff_new_pack.9UD0GS/_new 2017-10-18 10:43:28.888599817 +0200
@@ -53,7 +53,6 @@
Source1: RPM-HOWTO.tar.bz2
Source4: rpm-suse_macros
Source5: rpmsort
-Source6: symset-table
Source8: rpmconfigcheck
Source9: sysconfig.services-rpm
Source10: beecrypt-4.1.2.tar.bz2
@@ -91,7 +90,6 @@
Patch36: rpmqpack.diff
Patch37: convertdb1static.diff
Patch38: build.diff
-Patch39: modalias-kernel_module.diff
Patch41: debugedit-comp-dir.diff
Patch42: perlprov.diff
Patch43: rpm-shorten-changelog.diff
@@ -125,7 +123,6 @@
Patch76: python3-abi-kind.diff
Patch77: langnoc.diff
Patch78: headerchk2.diff
-Patch79: helperenv.diff
# PATCH-FEATURE-UPSTREAM 4.14 0e87aed1785d0531c40b23889f8338744f6abb3a
Patch80: 0001-set-SOURCE_DATE_EPOCH-from-changelog.patch
# PATCH-FEATURE-UPSTREAM 4.14 57f94a582602f0353cdb17a02dc12c4461d4f32d
@@ -138,7 +135,6 @@
Patch92: find-lang-python.patch
Patch93: weakdepscompat.diff
Patch94: checksepwarn.diff
-Patch96: modalias-no-kgraft.diff
Patch98: normalize_blocksize.diff
Patch99: enable-postin-scripts-error.diff
Patch100: rpm-findlang-inject-metainfo.patch
@@ -234,13 +230,13 @@
%patch -P 4
%patch -P 11 -P 12 -P 13 -P 14 -P 15 -P 16 -P 17 -P 18 -P 19
%patch -P 20 -P 21 -P 24 -P 25 -P 26 -P 27 -P 28 -P 29
-%patch -P 30 -P 31 -P 32 -P 33 -P 34 -P 35 -P 36 -P 37 -P 38 -P 39
+%patch -P 30 -P 31 -P 32 -P 33 -P 34 -P 35 -P 36 -P 37 -P 38
%patch -P 41 -P 42 -P 43 -P 44 -P 45 -P 46 -P 47 -P 48 -P 49
%patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58
%patch -P 60 -P 61 -P 65 -P 66 -P 67 -P 68 -P 69
-%patch -P 70 -P 71 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
+%patch -P 70 -P 71 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78
%patch -P 80 -P 81 -P 82 -P 83 -P 85
-%patch -P 92 -P 93 -P 94 -P 96 -P 98 -P 99
+%patch -P 92 -P 93 -P 94 -P 98 -P 99
%patch -P 100 -P 101 -P 102 -P 103 -P 104 -P 105
%ifarch aarch64 ppc64le
@@ -345,7 +341,6 @@
install -c -m0644 %{SOURCE9} %{buildroot}/var/adm/fillup-templates/
rm -f %{buildroot}/usr/lib/rpm/cpanflute %{buildroot}/usr/lib/rpm/cpanflute2
install -m 755 %{SOURCE5} %{buildroot}/usr/lib/rpm
-install -m 755 %{SOURCE6} %{buildroot}/usr/lib/rpm
install -m 755 scripts/find-supplements{,.ksyms} %{buildroot}/usr/lib/rpm
install -m 755 scripts/firmware.prov %{buildroot}/usr/lib/rpm
install -m 755 scripts/debuginfo.prov %{buildroot}/usr/lib/rpm
++++++ fileattrs.diff ++++++
--- /var/tmp/diff_new_pack.9UD0GS/_old 2017-10-18 10:43:29.024593428 +0200
+++ /var/tmp/diff_new_pack.9UD0GS/_new 2017-10-18 10:43:29.024593428 +0200
@@ -1,20 +1,34 @@
---- ./fileattrs/Makefile.am.orig 2014-02-20 12:54:01.473814793 +0000
-+++ ./fileattrs/Makefile.am 2014-02-20 12:55:37.318814624 +0000
-@@ -7,6 +7,6 @@ fattrsdir = $(rpmconfigdir)/fileattrs
+---
+ fileattrs/Makefile.am | 3 ++-
+ fileattrs/debuginfo.attr | 2 ++
+ fileattrs/elf.attr | 3 ++-
+ fileattrs/elflib.attr | 4 ++++
+ fileattrs/firmware.attr | 2 ++
+ fileattrs/kernel.attr | 2 ++
+ fileattrs/kmp.attr | 4 ++++
+ fileattrs/perl.attr | 3 ++-
+ fileattrs/perllib.attr | 3 ++-
+ fileattrs/sysvinit.attr | 2 ++
+ 10 files changed, 24 insertions(+), 4 deletions(-)
+
+--- fileattrs/Makefile.am.orig
++++ fileattrs/Makefile.am
+@@ -7,6 +7,7 @@ fattrsdir = $(rpmconfigdir)/fileattrs
fattrs_DATA = \
appdata.attr desktop.attr elf.attr font.attr libtool.attr perl.attr \
perllib.attr pkgconfig.attr python.attr ocaml.attr script.attr \
- mono.attr
-+ mono.attr debuginfo.attr elflib.attr firmware.attr ksyms.attr sysvinit.attr
++ mono.attr debuginfo.attr elflib.attr firmware.attr kernel.attr \
++ kmp.attr sysvinit.attr
EXTRA_DIST = $(fattrs_DATA)
---- ./fileattrs/debuginfo.attr.orig 2014-02-20 12:54:01.473814793 +0000
-+++ ./fileattrs/debuginfo.attr 2014-02-20 12:54:01.473814793 +0000
+--- /dev/null
++++ fileattrs/debuginfo.attr
@@ -0,0 +1,2 @@
+%__debuginfo_provides %{_rpmconfigdir}/debuginfo.prov
+%__debuginfo_path ^/usr/lib/debug/
---- ./fileattrs/elf.attr.orig 2012-11-07 12:55:24.000000000 +0000
-+++ ./fileattrs/elf.attr 2014-02-20 12:54:01.474814793 +0000
+--- fileattrs/elf.attr.orig
++++ fileattrs/elf.attr
@@ -1,4 +1,5 @@
%__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
%__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
@@ -22,35 +36,40 @@
+%__elf_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*executable
%__elf_flags exeonly
+%__elf_exclude_path ^/usr/lib/debug/
---- ./fileattrs/elflib.attr.orig 2014-02-20 12:54:01.474814793 +0000
-+++ ./fileattrs/elflib.attr 2014-02-20 12:54:01.474814793 +0000
+--- /dev/null
++++ fileattrs/elflib.attr
@@ -0,0 +1,4 @@
+%__elflib_provides %{_rpmconfigdir}/elfdeps --assume-exec --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
+%__elflib_requires %{_rpmconfigdir}/elfdeps --assume-exec --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
+%__elflib_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*shared object
+%__elflib_exclude_path ^/usr/lib/debug/
---- ./fileattrs/firmware.attr.orig 2014-02-20 12:54:01.474814793 +0000
-+++ ./fileattrs/firmware.attr 2014-02-20 12:54:01.474814793 +0000
+--- /dev/null
++++ fileattrs/firmware.attr
@@ -0,0 +1,2 @@
+%__firmware_provides %{_rpmconfigdir}/firmware.prov
+%__firmware_path /lib/firmware/
---- ./fileattrs/ksyms.attr.orig 2014-02-20 12:54:01.474814793 +0000
-+++ ./fileattrs/ksyms.attr 2014-02-20 12:54:01.474814793 +0000
+--- /dev/null
++++ fileattrs/kernel.attr
+@@ -0,0 +1,2 @@
++%__kernel_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
++%__kernel_path ^(/lib/modules/[^/]*/kernel/.*\.ko(\.gz)?|/boot/vmlinu[xz].*)$
+--- /dev/null
++++ fileattrs/kmp.attr
@@ -0,0 +1,4 @@
-+%__ksyms_provides %{_rpmconfigdir}/find-provides.ksyms %name
-+%__ksyms_requires %{_rpmconfigdir}/find-requires.ksyms %name
-+%__ksyms_supplements %{_rpmconfigdir}/find-supplements.ksyms %name
-+%__ksyms_path (/lib/modules/.*\.ko(\.gz)?)|(/boot/vmlinu[xz].*)$
---- ./fileattrs/perl.attr.orig 2012-11-07 12:55:24.000000000 +0000
-+++ ./fileattrs/perl.attr 2014-02-20 12:54:01.474814793 +0000
++%__kmp_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
++%__kmp_requires %{_rpmconfigdir}/find-requires.ksyms --opensuse 0%{?is_opensuse}
++%__kmp_supplements %{_rpmconfigdir}/find-supplements.ksyms
++%__kmp_path ^/lib/modules/[^/]*/(updates|extra)/.*\.ko(\.gz)?
+--- fileattrs/perl.attr.orig
++++ fileattrs/perl.attr
@@ -1,3 +1,4 @@
-%__perl_requires %{_rpmconfigdir}/perl.req
+# disabled for now
+#%__perl_requires %{_rpmconfigdir}/perl.req
%__perl_magic ^.*[Pp]erl .*$
%__perl_flags exeonly
---- ./fileattrs/perllib.attr.orig 2014-02-05 13:04:01.000000000 +0000
-+++ ./fileattrs/perllib.attr 2014-02-20 12:54:01.475814793 +0000
+--- fileattrs/perllib.attr.orig
++++ fileattrs/perllib.attr
@@ -1,5 +1,6 @@
%__perllib_provides %{_rpmconfigdir}/perl.prov
-%__perllib_requires %{_rpmconfigdir}/perl.req
@@ -59,8 +78,8 @@
%__perllib_magic ^Perl[[:digit:]] module source.*
%__perllib_path \\.pm$
%__perllib_flags magic_and_path
---- ./fileattrs/sysvinit.attr.orig 2014-02-20 12:54:01.475814793 +0000
-+++ ./fileattrs/sysvinit.attr 2014-02-20 12:54:01.475814793 +0000
+--- /dev/null
++++ fileattrs/sysvinit.attr
@@ -0,0 +1,2 @@
+%__sysvinit_provides %{_rpmconfigdir}/sysvinitdeps.sh --provides
+%__sysvinit_path ^/etc/init\.d/
++++++ findksyms.diff ++++++
--- /var/tmp/diff_new_pack.9UD0GS/_old 2017-10-18 10:43:29.044592488 +0200
+++ /var/tmp/diff_new_pack.9UD0GS/_new 2017-10-18 10:43:29.044592488 +0200
@@ -1,5 +1,11 @@
---- ./scripts/Makefile.am.orig 2017-01-19 12:33:33.358599138 +0000
-+++ ./scripts/Makefile.am 2017-01-19 12:35:00.045359629 +0000
+---
+ scripts/Makefile.am | 2 +
+ scripts/find-provides.ksyms | 60 ++++++++++++++++++++++++++++++++++++++++++++
+ scripts/find-requires.ksyms | 29 +++++++++++++++++++++
+ 3 files changed, 91 insertions(+)
+
+--- scripts/Makefile.am.orig
++++ scripts/Makefile.am
@@ -16,6 +16,7 @@ EXTRA_DIST = \
tgpg vpkg-provides.sh \
find-requires find-provides \
@@ -16,41 +22,98 @@
mono-find-requires mono-find-provides \
pkgconfigdeps.sh libtooldeps.sh \
ocaml-find-requires.sh ocaml-find-provides.sh \
---- ./scripts/find-provides.ksyms.orig 2017-01-19 12:33:33.359599136 +0000
-+++ ./scripts/find-provides.ksyms 2017-01-19 12:33:33.359599136 +0000
-@@ -0,0 +1,17 @@
+--- /dev/null
++++ scripts/find-provides.ksyms
+@@ -0,0 +1,60 @@
+#! /bin/bash
+
+IFS=$'\n'
+
++is_opensuse=false
++
++if test "$1" = "--opensuse"; then
++ if test "$2" -gt 0; then
++ is_opensuse=true
++ fi
++ shift 2
++fi
++
++if ! $is_opensuse; then
++ trap 'rm -f "$tmp"' EXIT
++ tmp=$(mktemp)
++fi
++
++
+while read f; do
+ test -e "$f" || continue
+ case "$f" in
+ *.debug)
++ continue
+ ;;
+ */boot/vmlinu[xz]-*)
-+ flavor=${f##*/vmlinu[xz]-}
-+ flavor=${flavor%.gz}
-+ echo "kernel-uname-r = $flavor"
++ flavor=${f##*/vmlinu[xz]-}
++ flavor=${flavor%.gz}
++ echo "kernel-uname-r = $flavor"
++ flavor=${flavor##*-}
++ ;;
++ */lib/modules/*/*.ko | */lib/modules/*/*.ko.gz | */boot/vmlinu[xz]*)
+ ;;
++ *)
++ continue
+ esac
++ if $is_opensuse; then
++ continue
++ fi
++ unzip=false
++ case "$f" in
++ *.gz | */boot/vmlinuz*)
++ unzip=true
++ esac
++ if $unzip && gzip -cd "$f" >"$tmp"; then
++ f=$tmp
++ fi
++ if test -z "$flavor"; then
++ flavor=$(/sbin/modinfo -F vermagic "$f")
++ flavor=${flavor%% *}
++ flavor=${flavor##*-}
++ fi
++ if test -z "$flavor"; then
++ echo "warning: cannot determine kernel flavor from $(/sbin/modinfo -F vermagic "$f" 2>&1)" >&2
++ continue
++ fi
++ nm "$f" \
++ | sed -r -ne "s/^0*([0-9a-f]+) A __crc_(.+)/ksym($flavor:\\2) = \\1/p"
+done \
+| sort -u
---- ./scripts/find-requires.ksyms.orig 2017-01-19 12:33:33.359599136 +0000
-+++ ./scripts/find-requires.ksyms 2017-01-19 12:33:33.359599136 +0000
-@@ -0,0 +1,15 @@
+--- /dev/null
++++ scripts/find-requires.ksyms
+@@ -0,0 +1,29 @@
+#! /bin/bash
+
+IFS=$'\n'
+
-+while read f; do
-+ test -e "$f" || continue
-+ case "$f" in
-+ */lib/modules/*/*.ko | */lib/modules/*/*.ko.gz)
-+ flavor=${f#*/lib/modules/}
-+ flavor=${flavor%%/*}
-+ echo "kernel-uname-r = $flavor"
-+ ;;
-+ esac
-+done \
-+| sort -u
++is_opensuse=false
++
++if test "$1" = "--opensuse"; then
++ if test "$2" -gt 0; then
++ is_opensuse=true
++ fi
++ shift 2
++fi
++
++if ! $is_opensuse && ! test -e /sbin/modprobe; then
++ cat > /dev/null
++ exit 0
++fi
++
++for f in $(grep -E '/lib/modules/.+\.ko$' | grep -v '/lib/modules/[^/]*/kernel/'); do
++ flavor=${f#*/lib/modules/}
++ flavor=${flavor%%/*}
++ if $is_opensuse; then
++ echo "kernel-uname-r = $flavor"
++ continue
++ fi
++ flavor=${flavor##*-}
++ /sbin/modprobe --dump-modversions "$f" \
++ | sed -r -ne "s/^0x0*([0-9a-f]+)[[:blank:]]+(.+)/ksym($flavor:\\2) = \\1/p"
++done | sort -u
++++++ modalias-encode.diff ++++++
--- /var/tmp/diff_new_pack.9UD0GS/_old 2017-10-18 10:43:29.076590985 +0200
+++ /var/tmp/diff_new_pack.9UD0GS/_new 2017-10-18 10:43:29.080590797 +0200
@@ -4,11 +4,9 @@
Signed-off-by: Andreas Gruenbacher