]> git.pld-linux.org Git - packages/cross-binutils.git/commitdiff
fix packaging dirs where target_cpu!=cpu
authorElan Ruusamäe <glen@delfi.ee>
Wed, 7 Jan 2015 19:49:13 +0000 (21:49 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 7 Jan 2015 19:49:13 +0000 (21:49 +0200)
cross-binutils.spec

index 867107411a5f2d423559303677b740ab3be3d4b5..563b4f788a6d43dd83205e13ebc37b8fdbfb8567 100644 (file)
@@ -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-*"
This page took 0.118291 seconds and 4 git commands to generate.