!179 解决openEuler-2309分支安装NetworkManager未产生软链接问题

From: @robertxw 
Reviewed-by: @gebidelidaye 
Signed-off-by: @gebidelidaye
This commit is contained in:
openeuler-ci-bot 2023-08-25 08:22:33 +00:00 committed by Gitee
commit 18000879e2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,6 +18,8 @@
%global snap %{?snapshot_dot}%{?git_sha_dot}
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[0-9][0-9]*$/\\1/p')
%global systemd_units NetworkManager.service NetworkManager-wait-online.service NetworkManager-dispatcher.service nm-priv-helper.service
%global systemd_units_cloud_setup nm-cloud-setup.service nm-cloud-setup.timer
%bcond_without adsl
%bcond_without bluetooth
@ -49,7 +51,7 @@
Name: NetworkManager
Version: 1.42.8
Epoch: 1
Release: 2
Release: 3
Summary: Network Link Manager and User Applications
License: GPLv2+
URL: https://networkmanager.dev/
@ -409,7 +411,7 @@ fi
/usr/bin/udevadm control --reload-rules || :
/usr/bin/udevadm trigger --subsystem-match=net || :
%systemd_postun NetworkManager.service NetworkManager-wait-online.service NetworkManager-dispatcher.service nm-priv-helper.service
%systemd_postun %{systemd_units}
%ldconfig_scriptlets glib
%ldconfig_scriptlets libnm
@ -545,6 +547,12 @@ fi
%{_datadir}/gtk-doc/html/NetworkManager/*
%changelog
* Thu Aug 24 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1:1.42.8-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:NetworkManager-dispatcher.service not enabled when installed due to systemd_units not defined
* Tue Aug 8 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1:1.42.8-2
- Type:requirement
- CVE:NA