[packages/cross-binutils: 4/5] package parent dirs

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


commit b9e07146e2a61085d448c9cadb3580a1f5cef151
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 7 21:37:30 2015 +0200

    package parent dirs

 cross-binutils.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/cross-binutils.spec b/cross-binutils.spec
index ad13aea..8671074 100644
--- a/cross-binutils.spec
+++ b/cross-binutils.spec
@@ -1,3 +1,6 @@
+# TODO
+# - warning: Installed (but unpackaged) file(s) found:
+#        /usr/sh64-linux/sh64-elf
 
 %define cross cross
 %define rpmprefix %{nil}
@@ -48,7 +51,7 @@
 Summary:	A GNU collection of cross-compilation binary utilities
 Name:		%{cross}-binutils
 Version:	2.25
-Release:	0.4
+Release:	0.5
 License:	GPL v3+
 Group:		Development/Tools
 URL:		http://sources.redhat.com/binutils
@@ -511,6 +514,8 @@ build_file_list() {
 	if [ -L $RPM_BUILD_ROOT%{auxbin_prefix}/$target_cpu-* ]; then
 		echo "%{auxbin_prefix}/$target_cpu-*"
 	else
+		echo "%dir %{auxbin_prefix}/$target_cpu-*"
+		echo "%dir %{auxbin_prefix}/$target_cpu-*/bin"
 		echo "%{auxbin_prefix}/$target_cpu-*/bin/*"
 		echo "%{_prefix}/$arch/sys-root"
 	fi
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list