Remove dependency to git. 41/156641/2 accepted/tizen/unified/20171020.091742 submit/tizen/20171020.015938
authorr.tyminski <r.tyminski@partner.samsung.com>
Thu, 19 Oct 2017 08:19:37 +0000 (10:19 +0200)
committerDong Sun Lee <ds73.lee@samsung.com>
Thu, 19 Oct 2017 08:24:35 +0000 (08:24 +0000)
Set BUILD_STRING with release value.

Change-Id: Ic79daa5f696f11227b6e6b2a6af3f726357c5049

packaging/arm-trusted-firmware.spec

index 2301b7c84fcf43e0b98cfcd9c79fa041e29b29df..d05b111ceb4181402c34a443bd076e97139184ee 100644 (file)
@@ -18,7 +18,6 @@ ExclusiveArch: aarch64
 URL: https://github.com/linaro-swg/arm-trusted-firmware.git
 Source0: %{name}-%{version}.tar.bz2
 
-BuildRequires: git
 BuildRequires: optee-os
 BuildRequires: u-boot-rpi3
 BuildRequires: u-boot-tools
@@ -35,7 +34,7 @@ Trusted firmware for Embedded boards based on ARM processor
 
 # Build image
 export CFLAGS="-O0 -gdwarf-2"
-make %{?_smp_mflags}  BL32=/boot/tee.bin %{compile_flags} PLAT=%{buildplat} all
+make %{?_smp_mflags}  BL32=/boot/tee.bin %{compile_flags} PLAT=%{buildplat} BUILD_STRING="%{release}" all
 
 dd if=/dev/zero of=scratch bs=1c count=131072
 cat build/%{buildplat}/%{buildtype}/bl31.bin scratch > bl31.tmp