Procházet zdrojové kódy

Fix rpm dependencies on suse

bryan před 2 roky
rodič
revize
e4bee0f89b
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      installJRMC

+ 3 - 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\nRequires: libharfbuzz0 >= 2.3.1'
+        _requires=$'Requires: Mesa-libVulkan-devel\nRequires: freetype >= 1.3.1\nRequires: libharfbuzz0 >= 2.3.1\nRequires: libX11-6 >= 1.6'
     else
-        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1\nRequires: harfbuzz >= 2.3.1'
+        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1\nRequires: harfbuzz >= 2.3.1\nRequires: libX11 >= 1.6'
     fi
 
     debug "Requires: $_requires"
@@ -632,7 +632,7 @@ buildRPM() {
 		Requires: glibc >= 2.28
 		Requires: alsa-lib >= 1.1.8
 		Requires: libuuid >= 2.33
-		Requires: libX11 >= 1.6
+		
 		Requires: libX11-common >= 1.6
 		Requires: libXext >= 1.3
 		Requires: libxcb >= 1.1