diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-04-10 16:20:51 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-04-10 16:20:51 +0200 |
commit | cc24d8ba254f1e5062c21adfa07f8b58bb2c5eaa (patch) | |
tree | e22b443672f84f9305e682f2c6c0d0e896b967a6 /nx-libs.spec | |
parent | 9e2588e56f5b712c4501a19c1f723257c05aa6af (diff) | |
parent | c4c5485474a03bcfd2632d12c2e6e88ba20be471 (diff) | |
download | nx-libs-cc24d8ba254f1e5062c21adfa07f8b58bb2c5eaa.tar.gz nx-libs-cc24d8ba254f1e5062c21adfa07f8b58bb2c5eaa.tar.bz2 nx-libs-cc24d8ba254f1e5062c21adfa07f8b58bb2c5eaa.zip |
Merge branch 'sunweaver-pr/switch-to-libXfont2-API' into 3.6.x
Attributes GH PR #362: https://github.com/ArcticaProject/nx-libs/pull/362
Diffstat (limited to 'nx-libs.spec')
-rw-r--r-- | nx-libs.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 7e25b7e81..935219f0f 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -38,7 +38,11 @@ BuildRequires: pkgconfig(pixman-1) >= 0.13.2 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xpm) +#%%if 0%%{?suse_version} >= 42XX +#BuildRequires: pkgconfig(xfont2) +#%%else BuildRequires: pkgconfig(xfont) >= 1.4.2 +#%%endif BuildRequires: pkgconfig(xdmcp) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xcomposite) @@ -74,7 +78,11 @@ BuildRequires: pixman-devel >= 0.13.2 BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXpm-devel +%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 +BuildRequires: libXfont2-devel +%else BuildRequires: libXfont-devel >= 1.4.2 +%endif BuildRequires: libXdmcp-devel BuildRequires: libXdamage-devel BuildRequires: libXcomposite-devel |