[packages/xorg-app-xdm] - allow building on systems without systemd

hawk hawk at pld-linux.org
Mon Jul 10 18:03:49 CEST 2023


commit 12fedaa82fcb8d1942917b756b075e5f8b1b6b82
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Mon Jul 10 17:31:50 2023 +0200

    - allow building on systems without systemd

 xorg-app-xdm.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-app-xdm.git/commitdiff/12fedaa82fcb8d1942917b756b075e5f8b1b6b82



More information about the pld-cvs-commit mailing list