Release 2.0.9-2
Koji build add extra cflags automaticlly, this cause wrong kexec purgatory Pre Peter Robinson's suggestion, add below in spec file: %undefine _hardened_build Also removes extra -FPIC ldflags since there's no such options in upstream makedumpfile. Resolves: bz1236456 Signed-off-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
parent
d74d13c425
commit
e9ee834802
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.9
|
Version: 2.0.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component
|
Summary: The kexec/kdump userspace component
|
||||||
@ -52,6 +52,8 @@ BuildRequires: systemd-units
|
|||||||
Obsoletes: diskdumputils netdump kexec-tools-eppic
|
Obsoletes: diskdumputils netdump kexec-tools-eppic
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%undefine _hardened_build
|
||||||
|
|
||||||
ExcludeArch: aarch64
|
ExcludeArch: aarch64
|
||||||
|
|
||||||
#START INSERT
|
#START INSERT
|
||||||
@ -128,7 +130,7 @@ cp %{SOURCE21} .
|
|||||||
make
|
make
|
||||||
%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
|
%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
|
||||||
make -C eppic/libeppic
|
make -C eppic/libeppic
|
||||||
make -C makedumpfile-1.5.8 LINKTYPE=dynamic USELZO=on USESNAPPY=on LDFLAGS="-fPIC"
|
make -C makedumpfile-1.5.8 LINKTYPE=dynamic USELZO=on USESNAPPY=on
|
||||||
make -C makedumpfile-1.5.8 LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so
|
make -C makedumpfile-1.5.8 LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so
|
||||||
%endif
|
%endif
|
||||||
make -C kdump-anaconda-addon/po
|
make -C kdump-anaconda-addon/po
|
||||||
@ -306,6 +308,10 @@ done
|
|||||||
%doc
|
%doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 2 2015 Dave Young <dyoung@redhat.com> - 2.0.9-2
|
||||||
|
- Resolve bug 1236456, kexec load fail because koji add extra gcc flags.
|
||||||
|
- Remove -FPIC for makedumpfile since it is not necessary without harden build
|
||||||
|
|
||||||
* Tue Jun 23 2015 Dave Young <dyoung@redhat.com> - 2.0.9-1
|
* Tue Jun 23 2015 Dave Young <dyoung@redhat.com> - 2.0.9-1
|
||||||
- Rebase kexec-tools 2.0.9
|
- Rebase kexec-tools 2.0.9
|
||||||
- Rebase makedumpfile 1.5.8
|
- Rebase makedumpfile 1.5.8
|
||||||
|
Loading…
Reference in New Issue
Block a user