[packages/cross-binutils: 5/5] fix packaging dirs where target_cpu!=cpu

glen glen at pld-linux.org
Wed Jan 7 20:49:54 CET 2015


commit 688e32ec1bb39c594c77d9e6ce2effcf7dd3cef8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 7 21:49:13 2015 +0200

    fix packaging dirs where target_cpu!=cpu

 cross-binutils.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/cross-binutils.spec b/cross-binutils.spec
index 8671074..563b4f7 100644
--- a/cross-binutils.spec
+++ b/cross-binutils.spec
@@ -51,7 +51,7 @@
 Summary:	A GNU collection of cross-compilation binary utilities
 Name:		%{cross}-binutils
 Version:	2.25
-Release:	0.5
+Release:	0.6
 License:	GPL v3+
 Group:		Development/Tools
 URL:		http://sources.redhat.com/binutils
@@ -517,6 +517,9 @@ build_file_list() {
 		echo "%dir %{auxbin_prefix}/$target_cpu-*"
 		echo "%dir %{auxbin_prefix}/$target_cpu-*/bin"
 		echo "%{auxbin_prefix}/$target_cpu-*/bin/*"
+		if [ "$target_cpu" != "$cpu" ]; then
+			echo "%dir %{_prefix}/$arch"
+		fi
 		echo "%{_prefix}/$arch/sys-root"
 	fi
 	echo "%{_mandir}/man1/$arch-*"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cross-binutils.git/commitdiff/688e32ec1bb39c594c77d9e6ce2effcf7dd3cef8



More information about the pld-cvs-commit mailing list