diff --git a/SOURCES/disable-broken-tests-for-binutils-bug.patch b/SOURCES/disable-broken-tests-for-binutils-bug.patch new file mode 100644 index 0000000..fc77cb1 --- /dev/null +++ b/SOURCES/disable-broken-tests-for-binutils-bug.patch @@ -0,0 +1,63 @@ +diff -Naur a/src/test/meson.build b/src/test/meson.build +--- a/src/test/meson.build 2021-02-02 07:29:47.000000000 -0800 ++++ b/src/test/meson.build 2021-02-19 10:58:19.188785027 -0800 +@@ -61,11 +61,6 @@ + libmount, + libblkid]], + +- [['src/test/test-emergency-action.c'], +- [libcore, +- libshared], +- []], +- + [['src/test/test-chown-rec.c'], + [libcore, + libshared], +@@ -522,24 +517,6 @@ + [], + []], + +- [['src/test/test-tables.c', +- 'src/shared/test-tables.h', +- 'src/journal/journald-server.c', +- 'src/journal/journald-server.h'], +- [libcore, +- libjournal_core, +- libudev_core, +- libudev_static, +- libsystemd_network, +- libshared], +- [threads, +- libseccomp, +- libmount, +- libxz, +- liblz4, +- libblkid], +- '', '', [], libudev_core_includes], +- + [['src/test/test-prioq.c'], + [], + []], +@@ -621,11 +598,6 @@ + [], + []], + +- [['src/test/test-cgroup-cpu.c'], +- [libcore, +- libshared], +- []], +- + [['src/test/test-cgroup-unit-default.c'], + [libcore, + libshared], +@@ -1168,10 +1140,6 @@ + [], + []], + +- [['src/analyze/test-verify.c', 'src/analyze/analyze-verify.c', 'src/analyze/analyze-verify.h'], +- [libcore, libshared], +- []], +- + [['src/login/test-inhibit.c'], + [], + [], diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index 94d17d8..44e1b48 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -21,7 +21,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 247.3 -Release: 1%{?dist} +Release: 2%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -76,6 +76,8 @@ Patch0002: https://github.com/systemd/systemd/pull/17495.patch # Downstream-only patches (0500–9999) # https://github.com/systemd/systemd/pull/17050 Patch0501: https://github.com/systemd/systemd/pull/17050/commits/f58b96d3e8d1cb0dd3666bc74fa673918b586612.patch +# workaround for https://pagure.io/centos-sig-hyperscale/sig/issue/13 +Patch0502: disable-broken-tests-for-binutils-bug.patch %ifarch %{ix86} x86_64 aarch64 %global have_gnu_efi 1 @@ -868,11 +870,16 @@ fi %files tests -f .file-list-tests %changelog +* Fri Feb 19 2021 Davide Cavalca - 247.3-2 +- Disable some tests to workaround a binutils bug triggered by enabling audit +- Refresh patches + * Wed Feb 17 2021 Anita Zhang - 247.3-1 - New release for 247 - Backport PR #18211 (Fixes ExecCondition= dependency bug) - Backport PR #17872 (Fixes PrivateUsers=yes with other sandboxing properties) - FB only backport PR #17495 (Fixes BPF pinning post-coldplug) +- Reenable audit support * Sun Feb 7 2021 Davide Cavalca - 246.1-2 - Initial Hyperscale SIG package