소스 검색

Fix rpm dependencies on suse

bryan 2 년 전
부모
커밋
19730dd3bb
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      installJRMC

+ 2 - 3
installJRMC

@@ -609,9 +609,9 @@ buildRPM() {
     # If you are building on SUSE, I assume you want SUSE RPMs
     # i.e. cross-building not an option but could be added
     if [[ "$ID" =~ ^opensuse.*$ ]]; then
-        _requires=$'Requires: Mesa-libVulkan-devel\nRequires: freetype >= 1.3.1'
+        _requires=$'Requires: Mesa-libVulkan-devel\nRequires: freetype >= 1.3.1\nRequires: libharfbuzz0 >= 2.3.1'
     else
-        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1'
+        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1\nRequires: harfbuzz >= 2.3.1'
     fi
 
     debug "Requires: $_requires"
@@ -647,7 +647,6 @@ buildRPM() {
 		Requires: libgomp >= 7.4
 		Requires: fribidi >= 1.0.5
 		Requires: fontconfig >= 2.13
-		Requires: harfbuzz >= 2.3.1
 		Requires: mesa-libgbm >= 18.3.6
 		Requires: libva >= 2.4.0
 		Requires: libepoxy >= 1.5.3