diff --git a/rocblas.spec b/rocblas.spec
index d900cce671e772689071b865624347199795ecf1..05dbdd657f047ec6740c70dfbe12a74a3c90a822 100644
--- a/rocblas.spec
+++ b/rocblas.spec
@@ -41,7 +41,7 @@
 %endif
 
 # Why Build ID is 8 bytes
-%global buildid 1
+%global buildid 0
 
 Name:           rocblas
 Version:        %{rocm_version}
@@ -142,6 +142,8 @@ export HIPCC_LINK_FLAGS_APPEND=-fuse-ld=lld
 for gpu in %{rocm_gpu_list}
 do
     module load rocm/$gpu
+    # We can't compile all the targets at once
+    export ROCM_GPUS=gfx1030;gfx1100;gfx1101;gfx1102
     mkdir %{_target_platform}
     pushd %{_target_platform}
     %cmake .. -G Ninja \