diff options
-rw-r--r-- | packaging/binutils-aarch64.spec | 2 | ||||
-rw-r--r-- | packaging/binutils-armv7hl.spec | 2 | ||||
-rw-r--r-- | packaging/binutils-armv7l.spec | 2 | ||||
-rw-r--r-- | 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} |