Tizen:Base: add ExportFilter for i586 rpms 47/121547/2
authorChan Lee <chan45.lee@samsung.com>
Tue, 28 Mar 2017 07:36:24 +0000 (16:36 +0900)
committerChan Lee <chan45.lee@samsung.com>
Thu, 6 Apr 2017 05:24:28 +0000 (22:24 -0700)
i586 rpms and x86_64 rpms which have same package name and
are in the same arch directory of same repository cause 'have choice' issue.
e.g., 64bit libs which are made in the x86_64 repo and repackaged for i586.

This macro makes i586 rpms export to i586 arch directory from x86_64
directory to avoid 'have choice' issue.

Change-Id: I444fcb5fab98b0aa1c4a756e97f206531dc1e92c
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
Tizen:Base/_config

index 48c562b..0b73032 100644 (file)
@@ -115,6 +115,7 @@ Substitute: python-accel-aarch64-cross-aarch64 python-accel-%{build_hostarch}-aa
 
 ExportFilter: \.armv7l\.rpm$ armv7l
 ExportFilter: \.aarch64\.rpm$ aarch64
 
 ExportFilter: \.armv7l\.rpm$ armv7l
 ExportFilter: \.aarch64\.rpm$ aarch64
+ExportFilter: \.i586\.rpm$ i586
 ExportFilter: \.x86_64\.rpm$ x86_64
 
 ########## buildroot config ##########
 ExportFilter: \.x86_64\.rpm$ x86_64
 
 ########## buildroot config ##########