From adc0150e7fcde52281d27072d8849d81e5c22304 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 6 Nov 2018 18:57:57 +0100 Subject: [PATCH] rpm: add a bundled(systemd) provide Required by Fedora Packaging Standards [1] and also really useful. [1] https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries#Requirement_if_you_bundle https://github.com/NetworkManager/NetworkManager/pull/247 --- contrib/fedora/rpm/NetworkManager.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 9c323c540..108fb2b6b 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -216,6 +216,18 @@ BuildRequires: libubsan %endif %endif +# NetworkManager uses various parts of systemd-networkd internally, including +# DHCP client, IPv4 Link-Local address negotiation or LLDP support. +# This provide is essentially here so that NetworkManager shows on Security +# Response Team's radar in case a flaw is found. The code is frequently +# synchronized and thus it's not easy to establish a good version number +# here. The version of zero is there just to have something conservative so +# that the scripts that would parse the SPEC file naively would be unlikely +# to fail. Refer to git log for the real date and commit number of last +# synchronization: +# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commits/master/src/systemd +Provides: bundled(systemd) = 0 + %description NetworkManager is a system service that manages network interfaces and