1
0

Accepting request 991574 from home:fcrozat:branches:GNOME:Factory

- Move conncheck config file out of /etc. No longer
  import main config file.

(to be used with corresponding NM submission)
(requires changes in prjconfig to prefer NM-branding-upstream for building)

OBS-URL: https://build.opensuse.org/request/show/991574
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager-branding?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2022-08-04 06:49:22 +00:00 committed by Git OBS Bridge
parent c5b88c6fa3
commit 2318ef552e
2 changed files with 12 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 28 14:12:37 UTC 2022 - Frederic Crozat <fcrozat@suse.com>
- Move conncheck config file out of /etc. No longer
import main config file.
-------------------------------------------------------------------
Sun Jun 28 13:23:02 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package NetworkManager-branding
# spec file
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -32,14 +32,13 @@ ExclusiveArch: %{nil}
Name: NetworkManager-branding%{?dash}%{branding_name}
Version: 42.1
Release: 0
Summary: Default %{branding_name} branding for %{_sysconfdir}/NetworkManager/NetworkManager.conf
Summary: Default %{branding_name} branding for NetworkManager configuration file.
License: GPL-2.0-or-later
Group: Productivity/Networking/System
URL: http://www.gnome.org/projects/NetworkManager/
Source0: NetworkManager.conf.in
Source1: NetworkManager-branding-COPYING
BuildRequires: NetworkManager
BuildRequires: NetworkManager-branding-upstream
%requires_eq NetworkManager
Supplements: packageand(NetworkManager:branding-%{branding_name})
Conflicts: NetworkManager-branding
@ -59,23 +58,18 @@ obtain IP addresses from a DHCP server, and change name servers
whenever it sees fit.
This package provides the default %{branding_name} configuration for
%{_sysconfdir}/NetworkManager/NetworkManager.conf, configured to
/usr/lib/NetworkManager/conf.d/conncheck.conf, configured to
check connectivity against http://conncheck.opensuse.org.
%prep
%setup -q -T -c %{name}-%{version}
cp %{SOURCE1} COPYING
cp -a %{_sysconfdir}/NetworkManager/NetworkManager.conf ./
%build
cat %{SOURCE0} >> NetworkManager.conf
%install
install -m0644 -D NetworkManager.conf %{buildroot}%{_sysconfdir}/NetworkManager/NetworkManager.conf
install -m0644 -D %{SOURCE0} %{buildroot}%{_prefix}/lib/NetworkManager/conf.d/conncheck-%{branding_name}.conf
%files
%license COPYING
%config(noreplace) %{_sysconfdir}/NetworkManager/NetworkManager.conf
%{_prefix}/lib/NetworkManager/conf.d/conncheck-%{branding_name}.conf
%changelog