Hello community, here is the log from the commit of package linux-glibc-devel for openSUSE:Leap:15.2 checked in at 2020-06-24 10:28:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/linux-glibc-devel (Old) and /work/SRC/openSUSE:Leap:15.2/.linux-glibc-devel.new.2956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linux-glibc-devel" Wed Jun 24 10:28:11 2020 rev:27 rq:738565 version:5.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/linux-glibc-devel/linux-glibc-devel.changes 2020-01-15 15:27:10.658635436 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.linux-glibc-devel.new.2956/linux-glibc-devel.changes 2020-06-24 10:28:12.714354017 +0200 @@ -1,0 +2,64 @@ +Wed Sep 18 08:25:47 UTC 2019 - Andreas Schwab <sch...@suse.de> + +- Update to kernel headers 5.3 +- Make it arch dependent due to difference in installed headers + +------------------------------------------------------------------- +Mon Jul 8 10:01:19 UTC 2019 - Andreas Schwab <sch...@suse.de> + +- Update to kernel headers 5.2 + +------------------------------------------------------------------- +Tue May 7 08:29:09 UTC 2019 - Andreas Schwab <sch...@suse.de> + +- Update to kernel headers 5.1 + +------------------------------------------------------------------- +Tue Apr 9 15:06:20 UTC 2019 - Andreas Schwab <sch...@suse.de> + +- Update to kernel headers 5.0 + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Wed Oct 24 14:51:55 UTC 2018 - Jiri Slaby <jsl...@suse.cz> + +- fix netfilter builds with 4.19 + * add netfilter-bridge-define-INT_MIN-INT_MAX-in-userspace.patch + +------------------------------------------------------------------- +Mon Oct 22 09:18:57 UTC 2018 - sch...@suse.de + +- Update to kernel headers 4.19 + +------------------------------------------------------------------- +Mon Aug 13 07:41:51 UTC 2018 - sch...@suse.de + +- Update to kernel headers 4.18 + +------------------------------------------------------------------- +Mon Jul 16 08:00:26 UTC 2018 - sch...@suse.de + +- Don't do any expansion on the version.h contents + +------------------------------------------------------------------- +Thu Jul 12 20:25:24 UTC 2018 - bwiedem...@suse.com + +- Don't embed build system's kernel version in rpm + to make package build reproducible (boo#1101107) + +------------------------------------------------------------------- +Mon Jun 4 10:18:10 UTC 2018 - sch...@suse.de + +- Update to kernel headers 4.17 + +------------------------------------------------------------------- +Sun Apr 1 22:25:52 UTC 2018 - sch...@suse.de + +- Update to kernel headers 4.16 + +------------------------------------------------------------------- Old: ---- linux-glibc-devel-4.15.tar.xz New: ---- linux-glibc-devel-5.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linux-glibc-devel.spec ++++++ --- /var/tmp/diff_new_pack.ka8AOY/_old 2020-06-24 10:28:13.158355850 +0200 +++ /var/tmp/diff_new_pack.ka8AOY/_new 2020-06-24 10:28:13.162355866 +0200 @@ -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,31 +12,54 @@ # 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: 5.3 +Release: 0 Summary: Linux headers for userspace development -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Libraries/C and C++ -BuildArch: noarch -Version: 4.15 -Release: 0 -Url: http://www.kernel.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: http://www.kernel.org/ +Source: %{name}-%{version}.tar.xz +Source1: install_all.sh BuildRequires: fdupes BuildRequires: xz -Provides: kernel-headers -Provides: linux-kernel-headers = %{version} -Obsoletes: linux-kernel-headers < %{version} # rpm-build requires gettext-tools; ignore this, in order to shorten cycles (we have no translations) #!BuildIgnore: gettext-tools # glibc-devel requires linux-kernel-headers, which we are in progress of building #!BuildIgnore: linux-kernel-headers PreReq: coreutils -Source: %{name}-%{version}.tar.xz -Source1: install_all.sh +Provides: kernel-headers +Provides: linux-kernel-headers = %{version} +Obsoletes: linux-kernel-headers < %{version} +%global kernel_arch %target_cpu +%ifarch x86_64 %ix86 +%global kernel_arch x86 +%endif +%ifarch ppc ppc64 ppc64le +%global kernel_arch powerpc +%endif +%ifarch %arm +%global kernel_arch arm +%endif +%ifarch aarch64 +%global kernel_arch arm64 +%endif +%ifarch riscv64 +%global kernel_arch riscv +%endif +%ifarch s390x +%global kernel_arch s390 +%endif +%ifarch hppa +%global kernel_arch parisc +%endif +%ifarch sparc64 +%global kernel_arch sparc +%endif %description This package provides Linux kernel headers, the kernel API description @@ -45,16 +68,15 @@ kernel-(flavor)-devel, or kernel-syms to pull in all kernel-*-devel, packages, instead. - - %prep %setup -q -n linux-glibc-devel-%{version} %build -cat > version.h <<-BOGUS +cd %{kernel_arch} +cat > version.h <<\BOGUS #ifdef __KERNEL__ #error "=======================================================" -#error "You should not include /usr/include/{linux,asm}/ header" +#error "You should not include %{_includedir}/{linux,asm}/ header" #error "files directly for the compilation of kernel modules." #error "" #error "glibc now uses kernel header files from a well-defined" @@ -89,94 +111,26 @@ BOGUS # Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel cat usr/include/linux/version.h >> version.h -cat >> version.h <<-BOGUS +cat >> version.h <<\BOGUS #endif BOGUS cat version.h %install -rm -rf $RPM_BUILD_ROOT -mkdir $RPM_BUILD_ROOT -cp -a usr $RPM_BUILD_ROOT -cp -a version.h $RPM_BUILD_ROOT/usr/include/linux/ +cd %{kernel_arch} +cp -a usr %{buildroot}/ +cp -a version.h %{buildroot}%{_includedir}/linux/ # resolve file conflict with glibc for now -rm -fv $RPM_BUILD_ROOT//usr/include/scsi/scsi.h -# Replace the directory /usr/include/asm with a symlink. -# libc contained a symlink /usr/include/asm into kernel-source up to 7.0 (2.1.3) -# glibc-devel contained a symlink /usr/include/asm into kernel-source in 7.1 (2.2) -# glibc-devel contained a directory /usr/include/asm from 7.2 (2.2.2) up to 10.1/SLES10 (2.4) -# The directory moved from glibc-devel to linux-kernel-headers in 10.2 (2.6.18.2) -# The directory turned into a symlink in 10.3 (2.6.22) -# rpm will remove obsolete files after the post install scripts -# A trigger will run after the /usr/include/asm was removed -# Create a dummy symlink now for rpmlint happiness, we %%ghost this and create -# a proper symlink during %%post: -ln -sfn asm-dummy $RPM_BUILD_ROOT/usr/include/asm -%fdupes $RPM_BUILD_ROOT/usr/include - -%postun -if test "$1" = 0 -then - rm -f usr/include/asm -fi -exit 0 +rm -fv %{buildroot}/%{_includedir}/scsi/scsi.h +%fdupes %{buildroot}%{_includedir} -%post -asm_link= -case "$(uname -m)" in - alpha*) asm_link=alpha ;; - ppc*) asm_link=powerpc ;; - s390*) asm_link=s390 ;; - ia64) asm_link=ia64 ;; - *arm*) asm_link=arm ;; - parisc) asm_link=parisc ;; - *mips*) asm_link=mips ;; - sparc*) asm_link=sparc ;; - aarch64) asm_link=arm64 ;; - m68k) asm_link=m68k ;; - riscv*) asm_link=riscv ;; - *) asm_link=x86 ;; -esac -if test -L usr/include/asm -then - case "$(readlink usr/include/asm)" in - *../src/linux/include*) - echo "/usr/include/asm points to kernel-source, waiting for triggerpostun to symlink to asm-$asm_link" - rm -fv usr/include/asm - exit 0 - ;; - esac - : symlink is ok, update it below in case of an arch change -elif test -d usr/include/asm -then - echo "/usr/include/asm is a directory, waiting for triggerpostun to symlink to asm-$asm_link" - exit 0 +%pre +if test -L %{_includedir}/asm; then + rm -f %{_includedir}/asm fi -ln -sfn arch-$asm_link/asm usr/include/asm -exit 0 - -%triggerpostun -- linux-kernel-headers, glibc-devel < 2.5, libc < 2.2 -asm_link= -case "$(uname -m)" in - alpha*) asm_link=alpha ;; - ppc*) asm_link=powerpc ;; - s390*) asm_link=s390 ;; - ia64) asm_link=ia64 ;; - *arm*) asm_link=arm ;; - parisc) asm_link=parisc ;; - *mips*) asm_link=mips ;; - sparc*) asm_link=sparc ;; - aarch64) asm_link=arm64 ;; - m68k) asm_link=m68k ;; - riscv*) asm_link=riscv ;; - *) asm_link=x86 ;; -esac -ln -sfn arch-$asm_link/asm usr/include/asm -exit 0 %files %defattr(-,root,root) -%{_prefix}/include/* -%ghost %{_prefix}/include/asm +%{_includedir}/* %changelog ++++++ install_all.sh ++++++ --- /var/tmp/diff_new_pack.ka8AOY/_old 2020-06-24 10:28:13.194355998 +0200 +++ /var/tmp/diff_new_pack.ka8AOY/_new 2020-06-24 10:28:13.194355998 +0200 @@ -1,86 +1,70 @@ #!/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 -# header export for unicore32 in 2.6.39 is broken, disable it -sed -i -e 's/cris/cris\|unicore32/' scripts/headers.sh -/usr/bin/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 +git clone --single-branch -b "$2" "$1" "$kernel_dir" +remove="arc c6x csky h8300 hexagon microblaze nds32 nios2 openrisc sh unicore32 xtensa um" +archs=$(cd "$kernel_dir/arch" && + for arch in *; do + test -d $arch || continue + case " $remove " in *" $arch "*) continue;; esac + echo $arch + done) +pushd "$kernel_dir" +for arch in $archs; do + mkdir "$header_dir/$arch" + cp Makefile "$header_dir/$arch" + make O="$header_dir/$arch" headers_install ARCH=$arch +done popd pushd "$header_dir" -for asm in \ - alpha \ - avr32 \ - blackfin \ - cris \ - frv \ - h8300 \ - m32r \ - m68knommu \ - mips \ - mn10300 \ - sh \ - sh64 \ - v850 \ - xtensa \ - unicore32 \ -; do - rm -rf usr/include/asm-$asm -done -rm Makefile -find -type f -name "..install.cmd" -print0 | xargs -0 --no-run-if-empty rm -find -type f -name ".install" -print0 | xargs -0 --no-run-if-empty rm -#------------------------------------------------------------------- -#Fri Sep 5 10:43:49 CEST 2008 - m...@suse.de +find -type f \( -name ".*.cmd" -o -name Makefile \) -exec rm {} + +for arch in $archs; do + cd $arch + #------------------------------------------------------------------- + #Fri Sep 5 10:43:49 CEST 2008 - m...@suse.de -#- Remove the kernel version of drm headers, they conflict -# with the libdrm ones, and those are slightly newer. -# -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 + #- Remove the kernel version of drm headers, they conflict + # with the libdrm ones, and those are slightly newer. + # + 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 + done + cd .. done popd -du -sh "$header_dir/usr" +du -sh "$header_dir" 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.15.tar.xz -> linux-glibc-devel-5.3.tar.xz ++++++ ++++ 1938245 lines of diff (skipped)