Hello community, here is the log from the commit of package linux-glibc-devel for openSUSE:Factory checked in at 2019-01-15 09:08:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linux-glibc-devel (Old) and /work/SRC/openSUSE:Factory/.linux-glibc-devel.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linux-glibc-devel" Tue Jan 15 09:08:59 2019 rev:66 rq:663308 version:4.20 Changes: -------- --- /work/SRC/openSUSE:Factory/linux-glibc-devel/linux-glibc-devel.changes 2018-11-12 09:48:02.948589087 +0100 +++ /work/SRC/openSUSE:Factory/.linux-glibc-devel.new.28833/linux-glibc-devel.changes 2019-01-15 09:09:02.358642656 +0100 @@ -1,0 +2,6 @@ +Mon Jan 7 08:32:43 UTC 2019 - sch...@suse.de + +- Update to kernel headers 4.20 +- netfilter-bridge-define-INT_MIN-INT_MAX-in-userspace.patch: remove + +------------------------------------------------------------------- Old: ---- linux-glibc-devel-4.19.tar.xz netfilter-bridge-define-INT_MIN-INT_MAX-in-userspace.patch New: ---- linux-glibc-devel-4.20.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linux-glibc-devel.spec ++++++ --- /var/tmp/diff_new_pack.Sv5C1Y/_old 2019-01-15 09:09:03.082641991 +0100 +++ /var/tmp/diff_new_pack.Sv5C1Y/_new 2019-01-15 09:09:03.086641987 +0100 @@ -1,7 +1,7 @@ # # spec file for package linux-glibc-devel # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: linux-glibc-devel -Version: 4.19 +Version: 4.20 Release: 0 Summary: Linux headers for userspace development License: GPL-2.0-only @@ -25,7 +25,6 @@ URL: http://www.kernel.org/ Source: %{name}-%{version}.tar.xz Source1: install_all.sh -Patch0: netfilter-bridge-define-INT_MIN-INT_MAX-in-userspace.patch BuildRequires: fdupes BuildRequires: xz # rpm-build requires gettext-tools; ignore this, in order to shorten cycles (we have no translations) @@ -47,7 +46,6 @@ %prep %setup -q -n linux-glibc-devel-%{version} -%autopatch -p1 %build cat > version.h <<\BOGUS @@ -138,7 +136,7 @@ then case "$(readlink %{_includedir}/asm)" in *../src/linux/include*) - echo "%{_includedir}/asm points to kernel-source, waiting for triggerpostun to symlink to asm-$asm_link" + echo "%{_includedir}/asm points to kernel-source, waiting for triggerpostun to symlink to arch-$asm_link/asm" rm -fv %{_includedir}/asm exit 0 ;; @@ -146,7 +144,7 @@ # symlink is ok, update it below in case of an arch change elif test -d %{_includedir}/asm then - echo "%{_includedir}/asm is a directory, waiting for triggerpostun to symlink to asm-$asm_link" + echo "%{_includedir}/asm is a directory, waiting for triggerpostun to symlink to arch-$asm_link/asm" exit 0 fi ln -sfn arch-$asm_link/asm %{_includedir}/asm ++++++ install_all.sh ++++++ --- /var/tmp/diff_new_pack.Sv5C1Y/_old 2019-01-15 09:09:03.110641965 +0100 +++ /var/tmp/diff_new_pack.Sv5C1Y/_new 2019-01-15 09:09:03.110641965 +0100 @@ -1,58 +1,45 @@ #!/bin/bash -# bash -x $0 linux-1.2.3.tar.xz +# bash -x $0 linux.git tag set -e kernel=$1 -if ! test -f "$1" -then - echo "Usage: ${0##*/} linux-1.2.3.tar.xz" - exit 1 -fi -if echo $PWD | grep -q :; then - echo "do not call this in a directory with : - make will fail" +if test $# -ne 2 || ! test -d "$1" || test "$2" = "${2#v}"; then + echo "Usage: ${0##*/} linux.git tag" exit 1 fi +case $PWD in + *:*) + echo "do not call this in a directory with : - make will fail" + exit 1 + ;; +esac -kernel_dir="`tar -tf $1 | sed '1 {s@^.*[[:blank:]]@@;s@linux-@@;s@/.*$@@;s@^\([0-9]\+\.[0-9]\+\.[0-9]\+\)\(.*\)@\1@;p;Q}'`" -header_dir="$PWD/linux-glibc-devel-$kernel_dir" -if test -d "$kernel_dir" -then - echo "$kernel_dir exists, remove it first." - exit 1 +version=${2#v} +kernel_dir=linux-$version +header_dir="$PWD/linux-glibc-devel-$version" +if test -d "$kernel_dir"; then + echo "$kernel_dir exists, remove it first." + exit 1 fi -if ! mkdir "$header_dir" -then - echo "$header_dir exists, remove it first." - exit 1 +if ! mkdir "$header_dir"; then + echo "$header_dir exists, remove it first." + exit 1 fi -tar -xf $1 -pushd linux-${kernel_dir} -cp Makefile $header_dir -/usr/bin/make O="$header_dir" headers_install_all +git clone --single-branch -b "$2" "$1" "$kernel_dir" +pushd "$kernel_dir" +cp Makefile "$header_dir" +make O="$header_dir" headers_install_all # kvm.h and aout.h are only installed if SRCARCH is an architecture # that has support for them. As the package is noarch we need to make # sure we get the full support on x86 -/usr/bin/make SRCARCH=x86 O="$header_dir" headers_install_all +make SRCARCH=x86 O="$header_dir" headers_install_all popd pushd "$header_dir" -for asm in \ - alpha \ - arc \ - c6x \ - h8300 \ - hexagon \ - microblaze \ - nds32 \ - nios2 \ - openrisc \ - sh \ - unicore32 \ - xtensa \ -; do - rm -rf usr/include/arch-$asm +remove="arc c6x csky h8300 hexagon microblaze nds32 nios2 openrisc sh unicore32 xtensa" +for asm in $remove; do + rm -rf usr/include/arch-$asm done rm -f Makefile .cache.mk -find -type f -name "..install.cmd" -exec rm {} + -find -type f -name ".install" -exec rm {} + +find -type f \( -name "..install.cmd" -or -name ".install" \) -exec rm {} + #------------------------------------------------------------------- #Fri Sep 5 10:43:49 CEST 2008 - m...@suse.de @@ -62,20 +49,18 @@ rm -rf usr/include/drm/ # Remove confusing empty uapi directory test ! -d usr/include/uapi || rmdir usr/include/uapi -for dir in * -do - case "$dir" in - usr) ;; - *) - if test -d "$dir" - then - rm -rf "$dir" - fi - ;; - esac +for dir in *; do + case "$dir" in + usr) ;; + *) + if test -d "$dir"; then + rm -rf "$dir" + fi + ;; + esac done popd du -sh "$header_dir/usr" tar -cJf "$header_dir.tar.xz" --owner=root --group=root "${header_dir##*/}" -rm -rf $header_dir linux-${kernel_dir} +rm -rf "$header_dir" "$kernel_dir" ++++++ linux-glibc-devel-4.19.tar.xz -> linux-glibc-devel-4.20.tar.xz ++++++ ++++ 6719 lines of diff (skipped)