From 528110157d4926eb280742ab98f271b79bbe25a1 Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Tue, 10 May 2022 12:13:13 +0900 Subject: packaging: fix error [ 211s] Installed (but unpackaged) file(s) found: [ 211s] /usr/lib64/libbfd.la [ 211s] /usr/lib64/libopcodes.la Change-Id: I1beca706e75ae1afd869d3aac04537b02c6f5123 Signed-off-by: Dongkyun Son --- packaging/binutils-aarch64.spec | 2 +- packaging/binutils-armv7hl.spec | 2 +- packaging/binutils-armv7l.spec | 2 +- packaging/binutils.spec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/binutils-aarch64.spec b/packaging/binutils-aarch64.spec index 52b61472185..6006d7ad86f 100644 --- a/packaging/binutils-aarch64.spec +++ b/packaging/binutils-aarch64.spec @@ -230,7 +230,7 @@ install -m 644 ../include/libiberty.h %{buildroot}%{_prefix}/include # Remove unwanted files to shut up rpm %{remove_docs} rm -rf %{buildroot}%{_bindir}/gcore -rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.{la} +rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.la %{?cross: rm -rf %{buildroot}%{_prefix}/%{target_arch}/lib/ldscripts rm -rf %{buildroot}%{_prefix}/%{host_arch} diff --git a/packaging/binutils-armv7hl.spec b/packaging/binutils-armv7hl.spec index a0c8767a324..ebb6545741a 100644 --- a/packaging/binutils-armv7hl.spec +++ b/packaging/binutils-armv7hl.spec @@ -230,7 +230,7 @@ install -m 644 ../include/libiberty.h %{buildroot}%{_prefix}/include # Remove unwanted files to shut up rpm %{remove_docs} rm -rf %{buildroot}%{_bindir}/gcore -rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.{la} +rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.la %{?cross: rm -rf %{buildroot}%{_prefix}/%{target_arch}/lib/ldscripts rm -rf %{buildroot}%{_prefix}/%{host_arch} diff --git a/packaging/binutils-armv7l.spec b/packaging/binutils-armv7l.spec index 1727f9522e5..60c7279463b 100644 --- a/packaging/binutils-armv7l.spec +++ b/packaging/binutils-armv7l.spec @@ -230,7 +230,7 @@ install -m 644 ../include/libiberty.h %{buildroot}%{_prefix}/include # Remove unwanted files to shut up rpm %{remove_docs} rm -rf %{buildroot}%{_bindir}/gcore -rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.{la} +rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.la %{?cross: rm -rf %{buildroot}%{_prefix}/%{target_arch}/lib/ldscripts rm -rf %{buildroot}%{_prefix}/%{host_arch} diff --git a/packaging/binutils.spec b/packaging/binutils.spec index cb25620354a..8377f0eda6e 100644 --- a/packaging/binutils.spec +++ b/packaging/binutils.spec @@ -227,7 +227,7 @@ install -m 644 ../include/libiberty.h %{buildroot}%{_prefix}/include # Remove unwanted files to shut up rpm %{remove_docs} rm -rf %{buildroot}%{_bindir}/gcore -rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.{la} +rm -rf %{buildroot}%{_libdir}/lib{bfd,opcodes,inproctrace}.la %{?cross: rm -rf %{buildroot}%{_prefix}/%{target_arch}/lib/ldscripts rm -rf %{buildroot}%{_prefix}/%{host_arch} -- cgit v1.2.3