[packages/test/buildarch] test showing BuildArch: not accepting anything than 'noarch':

glen glen at pld-linux.org
Thu Jun 20 14:16:12 CEST 2013


commit 2c0b3e49d093919f5c034e75c44fc6588daba57c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jun 20 15:14:47 2013 +0300

    test showing BuildArch: not accepting anything than 'noarch':
    
        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 | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/test.spec b/test.spec
index 0b09819..ff61a5a 100644
--- 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/test.git/commitdiff/2c0b3e49d093919f5c034e75c44fc6588daba57c



More information about the pld-cvs-commit mailing list