From: Marcin Krol Date: Mon, 10 Jul 2023 15:31:50 +0000 (+0200) Subject: - allow building on systems without systemd X-Git-Tag: auto/th/xorg-app-xdm-1.1.14-3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=12fedaa82fcb8d1942917b756b075e5f8b1b6b82;hp=787ca5df4e6492887a23025d750dfd0513030d76;p=packages%2Fxorg-app-xdm.git - allow building on systems without systemd --- diff --git a/xorg-app-xdm.spec b/xorg-app-xdm.spec index ff0f851..2d22cbe 100644 --- a/xorg-app-xdm.spec +++ b/xorg-app-xdm.spec @@ -1,13 +1,14 @@ # TODO # - Source1 contains X11R6 paths and the scripts inside should be reviewed for # security issues +%bcond_without systemd # systemd Summary: xdm - X Display Manager with support for XDMCP, host chooser Summary(pl.UTF-8): XDM - zarządca ekranów z obsługą XDMCP i wybieraniem hostów Summary(ru.UTF-8): Менеджер дисплея X Summary(uk.UTF-8): Менеджер дисплею X Name: xorg-app-xdm Version: 1.1.14 -Release: 2 +Release: 3 License: MIT Group: X11/Applications Source0: https://xorg.freedesktop.org/releases/individual/app/xdm-%{version}.tar.xz @@ -47,7 +48,7 @@ BuildRequires: xorg-lib-libXt-devel >= 1.0.0 BuildRequires: xorg-lib-xtrans-devel BuildRequires: xorg-proto-xproto-devel >= 7.0.17 BuildRequires: xorg-util-util-macros >= 1.8 -BuildRequires: systemd-devel >= 1:209 +%{?with_systemd:BuildRequires: systemd-devel >= 1:209} BuildRequires: systemd-units >= 38 BuildRequires: xz Requires(post,preun): /sbin/chkconfig