From 8ff9a51ca11e5cc187ba37e76de655df8f44b941 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 https://bugzilla.redhat.com/show_bug.cgi?id=1645462 (cherry picked from commit adc0150e7fcde52281d27072d8849d81e5c22304) --- 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 09af207c98..81f16a9ca5 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