Quellcode durchsuchen

Fix rpm dependencies on suse

bryan vor 2 Jahren
Ursprung
Commit
8ff9bacb0b
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  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\n'
+        _requires=$'Requires: Mesa-libVulkan-devel\nRequires: freetype >= 1.3.1'
     else
-        _requires=$'Requires: mesa-vulkan-drivers\n'
+        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1'
     fi
 
     debug "Requires: $_requires"
@@ -647,7 +647,6 @@ buildRPM() {
 		Requires: libgomp >= 7.4
 		Requires: fribidi >= 1.0.5
 		Requires: fontconfig >= 2.13
-		Requires: freetype >= 2.9.1
 		Requires: harfbuzz >= 2.3.1
 		Requires: mesa-libgbm >= 18.3.6
 		Requires: libva >= 2.4.0