b7f9f1 Fix FTBFS on armhfp

Authored and Committed by hughesjr 5 years ago
    Fix FTBFS on armhfp
    
        
file modified
+4 -4
SPECS/kexec-tools.spec CHANGED
@@ -151,7 +151,7 @@ cp %{SOURCE27} .
151
151
cp %{SOURCE28} .
152
152
153
153
make
154
- %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64
154
+ %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm}
155
155
make -C eppic/libeppic
156
156
make -C makedumpfile-1.6.5 LINKTYPE=dynamic USELZO=on USESNAPPY=on
157
157
make -C makedumpfile-1.6.5 LDFLAGS="$LDFLAGS -I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so
@@ -204,7 +204,7 @@ install -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/man5/kdump.conf.5
204
204
install -m 644 %{SOURCE16} $RPM_BUILD_ROOT%{_unitdir}/kdump.service
205
205
install -m 755 -D %{SOURCE22} $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-generators/kdump-dep-generator.sh
206
206
207
- %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64
207
+ %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm}
208
208
install -m 755 makedumpfile-1.6.5/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile
209
209
install -m 644 makedumpfile-1.6.5/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz
210
210
install -m 644 makedumpfile-1.6.5/makedumpfile.conf.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5/makedumpfile.conf.5.gz
@@ -317,7 +317,7 @@ done
317
317
%{_bindir}/*
318
318
%{_datadir}/kdump
319
319
%{_prefix}/lib/kdump
320
- %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64
320
+ %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm}
321
321
%{_sysconfdir}/makedumpfile.conf.sample
322
322
%endif
323
323
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump
@@ -344,7 +344,7 @@ done
344
344
%doc supported-kdump-targets.txt
345
345
%doc kdump-in-cluster-environment.txt
346
346
%doc live-image-kdump-howto.txt
347
- %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64
347
+ %ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm}
348
348
%{_libdir}/eppic_makedumpfile.so
349
349
/usr/share/makedumpfile/
350
350
%endif