eppic project have moved to github, update to latest upstream snapshot,
change source link and tar file naming style to fit github's URL format.
This fix the O0 warning reported by annocheck and passes all distro package
flag checking.
Signed-off-by: Kairui Song <kasong(a)redhat.com>
---
kexec-tools.spec | 9 ++++++---
sources | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/kexec-tools.spec b/kexec-tools.spec
index bb4f43b..df0fcb0 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -1,3 +1,6 @@
+%global eppic_ver 0209874f4b46b8af5a2d42662ba6775cf5a1dc44
+%global eppic_shortver %(c=%{eppic_ver}; echo ${c:0:7})
+
Name: kexec-tools
Version: 2.0.18
Release: 3%{?dist}
@@ -19,7 +22,7 @@ Source14: 98-kexec.rules
Source15: kdump.conf.5
Source16: kdump.service
Source18: kdump.sysconfig.s390x
-Source19: eppic_050615.tar.gz
+Source19:
https://github.com/lucchouina/eppic/archive/%{eppic_ver}/eppic-%{eppic_sh...
Source20: kdump-lib.sh
Source21: kdump-in-cluster-environment.txt
Source22: kdump-dep-generator.sh
@@ -130,9 +133,9 @@ cp %{SOURCE27} .
make
%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64
-make -C eppic/libeppic
+make -C eppic-%{eppic_ver}/libeppic
make -C makedumpfile-1.6.5 LINKTYPE=dynamic USELZO=on USESNAPPY=on
-make -C makedumpfile-1.6.5 LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic"
eppic_makedumpfile.so
+make -C makedumpfile-1.6.5 LDFLAGS="-I../eppic-%{eppic_ver}/libeppic
-L../eppic-%{eppic_ver}/libeppic" eppic_makedumpfile.so
%endif
%install
diff --git a/sources b/sources
index b1aa049..9ab7761 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (eppic_050615.tar.gz) =
de23c3cd59ded23f2f0092c194b2169e78fcd385a8df7daf34b36f3bb2d5ddac2cdd3657bbe640beec447725988e928962baf62cf9deff8849da734390280a4f
SHA512 (kexec-tools-2.0.18.tar.xz) =
a4142e703a752eb270da29f02ea4fb213f3f4f965e73bb483c388a378821094317a4c63406ab0afe118f79eb168ff63b9d2d9530551c984592165430e269d697
SHA512 (makedumpfile-1.6.5.tar.gz) =
bfbf9b373d435857530121f29fb3915cb263cfbaa2b877684a8cde2e8cd8b73fc2f02ffdf9b9108613d42aab7e5653877b092846545ceab865e9909e86145970
+SHA512 (eppic-0209874.tar.gz) =
4b42b3c5565f961d661ae6828876cdb0b6e296f9bdadc35ba596c4f63167016a7e20142e3048c37af1f963ba591c688c87faae52c19bd6a24e45d81b56b4a7e1
--
2.20.1