From 65cadd230c63a3ae13ea5caf322d560755f0c290 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mon, 10 May 2021 13:45:32 +0000 Subject: [PATCH] Don't build systemd-tests package Resolves: #1957335 --- systemd.spec | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/systemd.spec b/systemd.spec index 5245201..f2d7d6f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -350,15 +350,6 @@ License: LGPLv2+ A set of drop-in files for systemd units to enable action from systemd-oomd, a userspace out-of-memory (OOM) killer. -%package tests -Summary: Internal unit tests for systemd -Requires: %{name}%{?_isa} = %{version}-%{release} -License: LGPLv2+ - -%description tests -"Installed tests" that are usually run as part of the build system. -They can be useful to test systemd internals. - %package standalone-tmpfiles Summary: Standalone tmpfiles binary for use in non-systemd systems RemovePathPostfixes: .standalone @@ -436,7 +427,7 @@ CONFIGURE_OPTS=( -Dstandalone-binaries=true -Ddefault-kill-user-processes=false -Dtests=unsafe - -Dinstall-tests=true + -Dinstall-tests=false -Dtty-gid=5 -Dusers-gid=100 -Dnobody-user=nobody @@ -581,8 +572,6 @@ install -Dm0644 -t %{buildroot}%{_prefix}/lib/systemd/oomd.conf.d/ %{SOURCE14} install -Dm0644 -t %{buildroot}%{system_unit_dir}/-.slice.d/ %{SOURCE15} install -Dm0644 -t %{buildroot}%{system_unit_dir}/user@.service.d/ %{SOURCE16} -sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/tests/run-unit-tests.py - install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/macros.d/ %{SOURCE21} install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/fileattrs/ %{SOURCE22} install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE23} @@ -944,8 +933,6 @@ fi %files oomd-defaults -f .file-list-oomd-defaults -%files tests -f .file-list-tests - %files standalone-tmpfiles -f .file-list-standalone-tmpfiles %files standalone-sysusers -f .file-list-standalone-sysusers