spec: support gbs(1) incremental builds 27/256227/1
authorŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Mar 2021 14:50:37 +0000 (15:50 +0100)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 31 Mar 2021 06:05:09 +0000 (08:05 +0200)
commit6302447f5c6b79b1151d1d5b3988d6d65f7bd2b4
treec887a299e60e27d98b974a9f146c7ef99f9555ff
parent318b9b3058fd83c7ae4a9d8b3d40bb7c4313fd3e
spec: support gbs(1) incremental builds

gbs(1) enable incremental builds that are significantly faster, hoewever,
spec files need some adjustments.

+ You can't use -n <name> with %setup
+ use rsync(1) instead of cp(1)+find(1) to copy devel files

Other changes are:
+ add _smp_mflags to make(1) things faster

Change-Id: I18c47b59b1bfef17501ab57f39f93d7185592f13
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
packaging/linux-rpi3.spec