]> git.pld-linux.org Git - packages/xorg-app-xdm.git/commitdiff
- allow building on systems without systemd auto/th/xorg-app-xdm-1.1.14-3
authorMarcin Krol <hawk@tld-linux.org>
Mon, 10 Jul 2023 15:31:50 +0000 (17:31 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 10 Jul 2023 15:31:50 +0000 (17:31 +0200)
xorg-app-xdm.spec

index ff0f8519bda430048938cbe02e02b09b15b8723b..2d22cbe1478ddbdee735d01c100c3eaa2e670e29 100644 (file)
@@ -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
This page took 1.089638 seconds and 4 git commands to generate.