forked from pool/NetworkManager-branding
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:
parent
c5b88c6fa3
commit
2318ef552e
@ -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>
|
Sun Jun 28 13:23:02 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -32,14 +32,13 @@ ExclusiveArch: %{nil}
|
|||||||
Name: NetworkManager-branding%{?dash}%{branding_name}
|
Name: NetworkManager-branding%{?dash}%{branding_name}
|
||||||
Version: 42.1
|
Version: 42.1
|
||||||
Release: 0
|
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
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
URL: http://www.gnome.org/projects/NetworkManager/
|
URL: http://www.gnome.org/projects/NetworkManager/
|
||||||
Source0: NetworkManager.conf.in
|
Source0: NetworkManager.conf.in
|
||||||
Source1: NetworkManager-branding-COPYING
|
Source1: NetworkManager-branding-COPYING
|
||||||
BuildRequires: NetworkManager
|
BuildRequires: NetworkManager
|
||||||
BuildRequires: NetworkManager-branding-upstream
|
|
||||||
%requires_eq NetworkManager
|
%requires_eq NetworkManager
|
||||||
Supplements: packageand(NetworkManager:branding-%{branding_name})
|
Supplements: packageand(NetworkManager:branding-%{branding_name})
|
||||||
Conflicts: NetworkManager-branding
|
Conflicts: NetworkManager-branding
|
||||||
@ -59,23 +58,18 @@ obtain IP addresses from a DHCP server, and change name servers
|
|||||||
whenever it sees fit.
|
whenever it sees fit.
|
||||||
|
|
||||||
This package provides the default %{branding_name} configuration for
|
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.
|
check connectivity against http://conncheck.opensuse.org.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -c %{name}-%{version}
|
%setup -q -T -c %{name}-%{version}
|
||||||
cp %{SOURCE1} COPYING
|
cp %{SOURCE1} COPYING
|
||||||
cp -a %{_sysconfdir}/NetworkManager/NetworkManager.conf ./
|
|
||||||
|
|
||||||
%build
|
|
||||||
cat %{SOURCE0} >> NetworkManager.conf
|
|
||||||
|
|
||||||
%install
|
%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
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%{_prefix}/lib/NetworkManager/conf.d/conncheck-%{branding_name}.conf
|
||||||
%config(noreplace) %{_sysconfdir}/NetworkManager/NetworkManager.conf
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user