]> git.pld-linux.org Git - packages/test.git/commitdiff
test showing BuildArch: not accepting anything than 'noarch': buildarch
authorElan Ruusamäe <glen@delfi.ee>
Thu, 20 Jun 2013 12:14:47 +0000 (15:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 20 Jun 2013 12:14:47 +0000 (15:14 +0300)
    rpmbuild -bb test.spec
    error: line 12: Only "noarch" sub-packages are supported: BuildArch: x86_64
    error: Package has no %description: test-1-0.1.x86_64

see also some discussion here:
https://github.com/jordansissel/fpm/commit/6a8692a6e497a3f2239d13bb47760f310e6d47ac

test.spec

index 0b098192879d77bf08004311a2c73e35cb04c00f..ff61a5abcb700985eba2fdf7fdc79cb377c09867 100644 (file)
--- a/test.spec
+++ b/test.spec
@@ -9,6 +9,7 @@ Release:        0.1
 License:       GPL
 Group:         Applications/System
 URL:           http://www.pld-linux.org/
+BuildArch:     x86_64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
This page took 0.067956 seconds and 4 git commands to generate.