Update to NetworkManager 1.2-beta2
This commit is contained in:
parent
180858e3be
commit
5dd9e740f5
1
.gitignore
vendored
1
.gitignore
vendored
@ -321,3 +321,4 @@ network-manager-applet-0.8.1.tar.bz2
|
|||||||
/NetworkManager-1.0.6.tar.xz
|
/NetworkManager-1.0.6.tar.xz
|
||||||
/NetworkManager-1.2.0.tar.xz
|
/NetworkManager-1.2.0.tar.xz
|
||||||
/NetworkManager-1.1.90.tar.xz
|
/NetworkManager-1.1.90.tar.xz
|
||||||
|
/NetworkManager-1.1.91.tar.xz
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
From e119ce167d8c220eb743f2c26e6dbaafdac5c16a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
|
||||||
Date: Thu, 21 Jan 2016 16:53:56 +0100
|
|
||||||
Subject: [PATCH 1/1] linux-platform: fix accidental Python
|
|
||||||
|
|
||||||
Coverity: CID 59378 (#1 of 1): Nesting level does not match indentation
|
|
||||||
(NESTING_INDENT_MISMATCH) This statement is indented to column 41, as if
|
|
||||||
it were nested within the preceding parent statement, but it is not.
|
|
||||||
|
|
||||||
(cherry picked from commit 88da21caa156b30cb1cf62a930770e60c89b86a8)
|
|
||||||
---
|
|
||||||
src/platform/nm-linux-platform.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c
|
|
||||||
index f73c228..ea2d5d3 100644
|
|
||||||
--- a/src/platform/nm-linux-platform.c
|
|
||||||
+++ b/src/platform/nm-linux-platform.c
|
|
||||||
@@ -5728,9 +5728,10 @@ after_read:
|
|
||||||
i++;
|
|
||||||
|
|
||||||
if ( data_next.seq_number == 0
|
|
||||||
- || data_next.timeout_abs_ns > data->timeout_abs_ns)
|
|
||||||
+ || data_next.timeout_abs_ns > data->timeout_abs_ns) {
|
|
||||||
data_next.seq_number = data->seq_number;
|
|
||||||
data_next.timeout_abs_ns = data->timeout_abs_ns;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.5.0
|
|
||||||
|
|
@ -7,10 +7,10 @@
|
|||||||
|
|
||||||
%global ppp_version %(rpm -q ppp-devel >/dev/null && rpm -q --qf '%%{version}' ppp-devel || echo -n bad)
|
%global ppp_version %(rpm -q ppp-devel >/dev/null && rpm -q --qf '%%{version}' ppp-devel || echo -n bad)
|
||||||
|
|
||||||
%global snapshot .beta1
|
%global snapshot .beta2
|
||||||
%global git_sha %{nil}
|
%global git_sha %{nil}
|
||||||
%global rpm_version 1.2.0
|
%global rpm_version 1.2.0
|
||||||
%global real_version 1.1.90
|
%global real_version 1.1.91
|
||||||
%global release_version 0.6
|
%global release_version 0.6
|
||||||
%global epoch_version 1
|
%global epoch_version 1
|
||||||
|
|
||||||
@ -92,7 +92,6 @@ Source2: 00-server.conf
|
|||||||
Source3: 20-connectivity-fedora.conf
|
Source3: 20-connectivity-fedora.conf
|
||||||
|
|
||||||
#Patch1: 0001-some.patch
|
#Patch1: 0001-some.patch
|
||||||
Patch1: 0001-platform-statement-braces.patch
|
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -200,7 +199,7 @@ This package contains NetworkManager support for Bluetooth devices.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if 0%{with team}
|
%if %{with team}
|
||||||
%package team
|
%package team
|
||||||
Summary: Team device plugin for NetworkManager
|
Summary: Team device plugin for NetworkManager
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -237,7 +236,8 @@ Requires: ModemManager
|
|||||||
Obsoletes: NetworkManager < %{obsoletes_nmver}
|
Obsoletes: NetworkManager < %{obsoletes_nmver}
|
||||||
|
|
||||||
%description wwan
|
%description wwan
|
||||||
This package contains NetworkManager support for mobile broadband (WWAN) devices.
|
This package contains NetworkManager support for mobile broadband (WWAN)
|
||||||
|
devices.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -248,9 +248,9 @@ Requires: dbus >= %{dbus_version}
|
|||||||
Requires: dbus-glib >= %{dbus_glib_version}
|
Requires: dbus-glib >= %{dbus_glib_version}
|
||||||
|
|
||||||
%description glib
|
%description glib
|
||||||
This package contains the libraries that make it easier to use some NetworkManager
|
This package contains the libraries that make it easier to use some
|
||||||
functionality from applications that use glib. This is the older NetworkManager API.
|
NetworkManager functionality from applications that use glib. This is
|
||||||
See also NetworkManager-libnm.
|
the older NetworkManager API. See also NetworkManager-libnm.
|
||||||
|
|
||||||
|
|
||||||
%package glib-devel
|
%package glib-devel
|
||||||
@ -265,9 +265,10 @@ Provides: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
|||||||
Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release}
|
Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description glib-devel
|
%description glib-devel
|
||||||
This package contains the header and pkg-config files for development applications using
|
This package contains the header and pkg-config files for development
|
||||||
NetworkManager functionality from applications that use glib. This is the older
|
applications using NetworkManager functionality from applications that
|
||||||
NetworkManager API. See also NetworkManager-libnm-devel.
|
use glib.
|
||||||
|
This is the older NetworkManager API. See also NetworkManager-libnm-devel.
|
||||||
|
|
||||||
|
|
||||||
%package libnm
|
%package libnm
|
||||||
@ -275,9 +276,9 @@ Summary: Libraries for adding NetworkManager support to applications (new API).
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
||||||
%description libnm
|
%description libnm
|
||||||
This package contains the libraries that make it easier to use some NetworkManager
|
This package contains the libraries that make it easier to use some
|
||||||
functionality from applications. This is the new NetworkManager API. See also
|
NetworkManager functionality from applications. This is the new
|
||||||
NetworkManager-glib.
|
NetworkManager API. See also NetworkManager-glib.
|
||||||
|
|
||||||
|
|
||||||
%package libnm-devel
|
%package libnm-devel
|
||||||
@ -288,9 +289,9 @@ Requires: glib2-devel
|
|||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description libnm-devel
|
%description libnm-devel
|
||||||
This package contains the header and pkg-config files for development applications using
|
This package contains the header and pkg-config files for development
|
||||||
NetworkManager functionality from applications. This is the new NetworkManager API.
|
applications using NetworkManager functionality from applications. This
|
||||||
See also NetworkManager-glib-devel.
|
is the new NetworkManager API. See also NetworkManager-glib-devel.
|
||||||
|
|
||||||
|
|
||||||
%package config-connectivity-fedora
|
%package config-connectivity-fedora
|
||||||
@ -332,7 +333,6 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||||||
%setup -q -n NetworkManager-%{real_version}
|
%setup -q -n NetworkManager-%{real_version}
|
||||||
|
|
||||||
#%patch1 -p1
|
#%patch1 -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -422,6 +422,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/system-connections
|
|||||||
|
|
||||||
# create a dnsmasq.d directory
|
# create a dnsmasq.d directory
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/dnsmasq.d
|
mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/dnsmasq.d
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/dnsmasq-shared.d
|
||||||
|
|
||||||
# create dispatcher directories
|
# create dispatcher directories
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d
|
||||||
@ -501,6 +502,7 @@ fi
|
|||||||
%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/10-ifcfg-rh-routes.sh
|
%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/10-ifcfg-rh-routes.sh
|
||||||
%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/10-ifcfg-rh-routes.sh
|
%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/10-ifcfg-rh-routes.sh
|
||||||
%dir %{_sysconfdir}/%{name}/dnsmasq.d
|
%dir %{_sysconfdir}/%{name}/dnsmasq.d
|
||||||
|
%dir %{_sysconfdir}/%{name}/dnsmasq-shared.d
|
||||||
%dir %{_sysconfdir}/%{name}/VPN
|
%dir %{_sysconfdir}/%{name}/VPN
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/NetworkManager.conf
|
%config(noreplace) %{_sysconfdir}/%{name}/NetworkManager.conf
|
||||||
%{_bindir}/nm-online
|
%{_bindir}/nm-online
|
||||||
@ -637,6 +639,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 1 2016 Lubomir Rintel <lkundrak@v3.sk> - 1:1.2.0-0.6.beta2
|
||||||
|
- Update to NetworkManager 1.2-beta2
|
||||||
|
- Resync with contrib/rpm
|
||||||
|
|
||||||
* Wed Feb 3 2016 Thomas Haller <thaller@redhat.com> - 1:1.2.0-0.6.beta1
|
* Wed Feb 3 2016 Thomas Haller <thaller@redhat.com> - 1:1.2.0-0.6.beta1
|
||||||
- specfile: remove no longer needed 10-ibft-plugin.conf and sync with contrib/rpm
|
- specfile: remove no longer needed 10-ibft-plugin.conf and sync with contrib/rpm
|
||||||
- core: backport fix for missing braces bug in platform
|
- core: backport fix for missing braces bug in platform
|
||||||
|
Loading…
Reference in New Issue
Block a user