Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kexec-tools for openSUSE:Factory 
checked in at 2021-04-26 16:38:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kexec-tools (Old)
 and      /work/SRC/openSUSE:Factory/.kexec-tools.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kexec-tools"

Mon Apr 26 16:38:37 2021 rev:139 rq:888430 version:2.0.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/kexec-tools/kexec-tools.changes  2020-12-03 
18:37:27.469610783 +0100
+++ /work/SRC/openSUSE:Factory/.kexec-tools.new.12324/kexec-tools.changes       
2021-04-26 16:38:43.281989395 +0200
@@ -1,0 +2,25 @@
+Mon Apr 26 09:35:21 UTC 2021 - Petr Tesa????k <ptesa...@suse.com>
+
+- kexec-tools-remove-duplicate-ramdisk-definition.patch:
+  Remove duplicate definition of ramdisk (fix ppc build).
+
+-------------------------------------------------------------------
+Mon Apr 26 08:07:47 UTC 2021 - Petr Tesa????k <ptesa...@suse.com>
+
+- Bump version to 2.0.21
+- Drop patches from upstream git:
+  * kexec-tools-add-variant-helper-functions.patch
+  * 
kexec-tools-arm64-kexec-allocate-memory-space-avoiding-reserved-regions.patch
+  * kexec-tools-arm64-kdump-deal-with-resource-entries-in-proc-iomem.patch
+  * kexec-tools-build-multiboot2-for-i386.patch
+  * kexec-tools-fix-kexec_file_load-error-handling.patch
+  * kexec-tools-reset-getopt-before-falling-back-to-legacy.patch
+  * kexec-tools-s390-Reset-kernel-command-line-on-syscal.patch
+  * kexec-tools-Remove-duplicated-variable-declarations.patch
+
+-------------------------------------------------------------------
+Tue Apr 20 12:01:43 UTC 2021 - Wolfgang Frisch <wolfgang.fri...@suse.com>
+
+- Hardening: Link as PIE (bsc#1185020).
+
+-------------------------------------------------------------------

Old:
----
  kexec-tools-2.0.20.tar.xz
  kexec-tools-Remove-duplicated-variable-declarations.patch
  kexec-tools-add-variant-helper-functions.patch
  kexec-tools-arm64-kdump-deal-with-resource-entries-in-proc-iomem.patch
  kexec-tools-arm64-kexec-allocate-memory-space-avoiding-reserved-regions.patch
  kexec-tools-build-multiboot2-for-i386.patch
  kexec-tools-fix-kexec_file_load-error-handling.patch
  kexec-tools-reset-getopt-before-falling-back-to-legacy.patch
  kexec-tools-s390-Reset-kernel-command-line-on-syscal.patch

New:
----
  kexec-tools-2.0.21.tar.xz
  kexec-tools-remove-duplicate-ramdisk-definition.patch

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

Other differences:
------------------
++++++ kexec-tools.spec ++++++
--- /var/tmp/diff_new_pack.F6WTKL/_old  2021-04-26 16:38:43.973990496 +0200
+++ /var/tmp/diff_new_pack.F6WTKL/_new  2021-04-26 16:38:43.977990502 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kexec-tools
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:           kexec-tools
-Version:        2.0.20
+Version:        2.0.21
 Release:        0
 Summary:        Tools for loading replacement kernels into memory
 License:        GPL-2.0-or-later
@@ -29,16 +29,9 @@
 Source4:        %{name}-rpmlintrc
 Patch3:         %{name}-disable-test.patch
 Patch4:         %{name}-vmcoreinfo-in-xen.patch
-Patch5:         %{name}-add-variant-helper-functions.patch
-Patch6:         
%{name}-arm64-kexec-allocate-memory-space-avoiding-reserved-regions.patch
-Patch7:         
%{name}-arm64-kdump-deal-with-resource-entries-in-proc-iomem.patch
-Patch8:         %{name}-build-multiboot2-for-i386.patch
 Patch9:         %{name}-video-capability.patch
 Patch10:        %{name}-SYS_getrandom.patch
-Patch11:        %{name}-fix-kexec_file_load-error-handling.patch
-Patch12:        %{name}-reset-getopt-before-falling-back-to-legacy.patch
-Patch13:        %{name}-s390-Reset-kernel-command-line-on-syscal.patch
-Patch14:        %{name}-Remove-duplicated-variable-declarations.patch
+Patch11:        %{name}-remove-duplicate-ramdisk-definition.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  systemd-rpm-macros
@@ -47,7 +40,7 @@
 #!BuildIgnore:  gcc-PIE
 Requires:       perl-Bootloader
 Requires(post): suse-module-tools
-Requires(postun): suse-module-tools
+Requires(postun):suse-module-tools
 %{?systemd_requires}
 %ifarch         x86_64
 BuildRequires:  pkgconfig
@@ -62,23 +55,13 @@
 
 %prep
 %setup -q
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
+%autopatch -p1
 
 %build
 autoreconf -fvi
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fPIC"
 export BUILD_CFLAGS="%{optflags}"
+export LDFLAGS="-pie"
 %configure
 make %{?_smp_mflags}
 

++++++ kexec-tools-2.0.20.tar.xz -> kexec-tools-2.0.21.tar.xz ++++++
++++ 8724 lines of diff (skipped)

++++++ kexec-tools-remove-duplicate-ramdisk-definition.patch ++++++
From: Petr Tesarik <ptesa...@suse.com>
Subject: Remove duplicate definition of ramdisk
Upstream: not yet, sent on 2021-04-26

The ramdisk variable is defined in kexec/arch/ppc/kexec-ppc.c. This
other definition is not needed and breaks build with -fno-common.

Signed-off-by: Petr Tesarik <ptesa...@suse.com>
---
 kexec/arch/ppc/kexec-elf-ppc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/kexec/arch/ppc/kexec-elf-ppc.c
+++ b/kexec/arch/ppc/kexec-elf-ppc.c
@@ -33,7 +33,6 @@
 static const int probe_debug = 0;
 
 unsigned char reuse_initrd;
-const char *ramdisk;
 int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *,
                        char *);
 

Reply via email to