From 972cc469c86c7669c770eb2919665e96eaa7b1f3 Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Sep 22 2017 22:53:59 +0000 Subject: Require xorg-x11-server-Xorg we built against. --- diff --git a/xorgxrdp.spec b/xorgxrdp.spec index 29d29b7..00202d8 100644 --- a/xorgxrdp.spec +++ b/xorgxrdp.spec @@ -1,6 +1,8 @@ +%global xorg_server_version %(pkg-config --silence-errors --modversion xorg-server 2>/dev/null || echo 65536) + Name: xorgxrdp Version: 0.2.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Implementation of xrdp backend as Xorg modules License: MIT @@ -16,7 +18,7 @@ BuildRequires: libXfont-devel %if 0%{?rhel} == 7 BuildRequires: libXfont2-devel %endif -Requires: xorg-x11-server-Xorg%{_isa} +Requires: xorg-x11-server-Xorg%{_isa} = %{xorg_server_version} %description xorgxrdp is a set of X11 modules that make Xorg act as a backend for @@ -54,6 +56,9 @@ for screen resizing and multiple monitors. %changelog +* Sat Sep 23 2017 Bojan Smojver - 0.2.4-3 +- Require xorg-x11-server-Xorg we built against + * Wed Sep 20 2017 Bojan Smojver - 0.2.4-2 - Require libXfont2-devel on RHEL7 at build time