From aabba4be44c75049de9ba0e641fcc94c32d23d4d Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 11 2020 22:47:10 +0000 Subject: Apply patch 0035-Makefile.inc-trim-extra-information-from-systemd-ver.patch patch_name: 0035-Makefile.inc-trim-extra-information-from-systemd-ver.patch present_in_specfile: true location_in_specfile: 35 --- diff --git a/Makefile.inc b/Makefile.inc index c2abd30..220009e 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -37,7 +37,7 @@ endif ifndef SYSTEMD ifeq ($(shell pkg-config --modversion libsystemd >/dev/null 2>&1 && echo 1), 1) - SYSTEMD = $(shell pkg-config --modversion libsystemd) + SYSTEMD = $(shell pkg-config --modversion libsystemd | awk '{print $$1}') else ifeq ($(shell systemctl --version >/dev/null 2>&1 && echo 1), 1) SYSTEMD = $(shell systemctl --version 2> /dev/null | \