diff options
-rw-r--r-- | .github/workflows/nx-libs.yml | 2 | ||||
-rw-r--r-- | nx-libs.spec | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/nx-libs.yml b/.github/workflows/nx-libs.yml index fe5523166..14625feb1 100644 --- a/.github/workflows/nx-libs.yml +++ b/.github/workflows/nx-libs.yml @@ -110,7 +110,7 @@ jobs: xorg-x11-font-utils libtirpc-devel xkeyboard-config # soft requirements dnf -y install \ - quilt xorg-x11-xkb-utils-devel + quilt xkbcomp-devel ;; centos:8) # Enable powertools repository for imake diff --git a/nx-libs.spec b/nx-libs.spec index 8fe59f810..84140f381 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -41,8 +41,12 @@ BuildRequires: imake BuildRequires: xkbcomp-devel %endif %else +%if 0%{?fedora} >= 34 +BuildRequires: xkbcomp-devel +%else BuildRequires: xorg-x11-xkb-utils-devel %endif +%endif # ideally we build with quilt (for mesa-quilt patch appliance script), # it seems Fedora has it... |