Update to 1.12.2 release

This commit is contained in:
Lubomir Rintel 2018-07-25 12:51:55 +02:00
parent cba19ad11e
commit e49edc693e
4 changed files with 68 additions and 4 deletions

1
.gitignore vendored
View File

@ -347,3 +347,4 @@ network-manager-applet-0.8.1.tar.bz2
/NetworkManager-1.11.4.tar.xz /NetworkManager-1.11.4.tar.xz
/NetworkManager-1.11.90.tar.xz /NetworkManager-1.11.90.tar.xz
/NetworkManager-1.12.0.tar.xz /NetworkManager-1.12.0.tar.xz
/NetworkManager-1.12.2.tar.xz

View File

@ -0,0 +1,4 @@
[connectivity]
uri=http://static.redhat.com/test/rhel-networkmanager.txt
response=OK
interval=300

View File

@ -8,8 +8,8 @@
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad) %global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
%global epoch_version 1 %global epoch_version 1
%global rpm_version 1.12.0 %global rpm_version 1.12.2
%global real_version 1.12.0 %global real_version 1.12.2
%global release_version 1 %global release_version 1
%global snapshot %{nil} %global snapshot %{nil}
%global git_sha %{nil} %global git_sha %{nil}
@ -65,6 +65,11 @@
%else %else
%bcond_with connectivity_fedora %bcond_with connectivity_fedora
%endif %endif
%if 0%{?rhel}
%bcond_without connectivity_redhat
%else
%bcond_with connectivity_redhat
%endif
%if 0%{?fedora} > 28 || 0%{?rhel} > 7 %if 0%{?fedora} > 28 || 0%{?rhel} > 7
%bcond_without crypto_gnutls %bcond_without crypto_gnutls
%else %else
@ -93,7 +98,7 @@ Name: NetworkManager
Summary: Network connection manager and user applications Summary: Network connection manager and user applications
Epoch: %{epoch_version} Epoch: %{epoch_version}
Version: %{rpm_version} Version: %{rpm_version}
Release: %{release_version}%{?snap}%{?dist}.1 Release: %{release_version}%{?snap}%{?dist}
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/ URL: http://www.gnome.org/projects/NetworkManager/
@ -102,6 +107,7 @@ Source: https://download.gnome.org/sources/NetworkManager/%{real_version_major}/
Source1: NetworkManager.conf Source1: NetworkManager.conf
Source2: 00-server.conf Source2: 00-server.conf
Source3: 20-connectivity-fedora.conf Source3: 20-connectivity-fedora.conf
Source4: 20-connectivity-redhat.conf
#Patch1: 0001-some.patch #Patch1: 0001-some.patch
@ -363,12 +369,27 @@ is the new NetworkManager API. See also NetworkManager-glib-devel.
Summary: NetworkManager config file for connectivity checking via Fedora servers Summary: NetworkManager config file for connectivity checking via Fedora servers
Group: System Environment/Base Group: System Environment/Base
BuildArch: noarch BuildArch: noarch
Provides: NetworkManager-config-connectivity = %{epoch}:%{version}-%{release}
%description config-connectivity-fedora %description config-connectivity-fedora
This adds a NetworkManager configuration file to enable connectivity checking This adds a NetworkManager configuration file to enable connectivity checking
via Fedora infrastructure. via Fedora infrastructure.
%endif %endif
%if %{with connectivity_redhat}
%package config-connectivity-redhat
Summary: NetworkManager config file for connectivity checking via Red Hat servers
Group: System Environment/Base
BuildArch: noarch
Provides: NetworkManager-config-connectivity = %{epoch}:%{version}-%{release}
%description config-connectivity-redhat
This adds a NetworkManager configuration file to enable connectivity checking
via Red Hat infrastructure.
%endif
%package config-server %package config-server
Summary: NetworkManager config file for "server-like" defaults Summary: NetworkManager config file for "server-like" defaults
Group: System Environment/Base Group: System Environment/Base
@ -384,6 +405,7 @@ ethernet devices with no carrier.
This package is intended to be installed by default for server This package is intended to be installed by default for server
deployments. deployments.
%package dispatcher-routing-rules %package dispatcher-routing-rules
Summary: NetworkManager dispatcher file for advanced routing rules Summary: NetworkManager dispatcher file for advanced routing rules
Group: System Environment/Base Group: System Environment/Base
@ -396,6 +418,7 @@ This adds a NetworkManager dispatcher file to support networking
configurations using "/etc/sysconfig/network-scripts/rule-NAME" files configurations using "/etc/sysconfig/network-scripts/rule-NAME" files
(eg, to do policy-based routing). (eg, to do policy-based routing).
%if 0%{with_nmtui} %if 0%{with_nmtui}
%package tui %package tui
Summary: NetworkManager curses-based UI Summary: NetworkManager curses-based UI
@ -409,11 +432,13 @@ NetworkManager, to allow performing some of the operations supported
by nm-connection-editor and nm-applet in a non-graphical environment. by nm-connection-editor and nm-applet in a non-graphical environment.
%endif %endif
%prep %prep
%setup -q -n NetworkManager-%{real_version} %setup -q -n NetworkManager-%{real_version}
#%patch1 -p1 #%patch1 -p1
%build %build
%if %{with regen_docs} %if %{with regen_docs}
gtkdocize gtkdocize
@ -527,6 +552,7 @@ intltoolize --automake --copy --force
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
# install NM # install NM
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
@ -539,6 +565,10 @@ cp %{SOURCE2} %{buildroot}%{nmlibdir}/conf.d/
cp %{SOURCE3} %{buildroot}%{nmlibdir}/conf.d/ cp %{SOURCE3} %{buildroot}%{nmlibdir}/conf.d/
%endif %endif
%if %{with connectivity_redhat}
cp %{SOURCE4} %{buildroot}%{nmlibdir}/conf.d/
%endif
cp examples/dispatcher/10-ifcfg-rh-routes.sh %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d/ cp examples/dispatcher/10-ifcfg-rh-routes.sh %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d/
ln -s ../no-wait.d/10-ifcfg-rh-routes.sh %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/ ln -s ../no-wait.d/10-ifcfg-rh-routes.sh %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/
ln -s ../10-ifcfg-rh-routes.sh %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/ ln -s ../10-ifcfg-rh-routes.sh %{buildroot}%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/
@ -591,6 +621,7 @@ else
--slave %{_sbindir}/ifdown ifdown %{_libexecdir}/nm-ifdown --slave %{_sbindir}/ifdown ifdown %{_libexecdir}/nm-ifdown
fi fi
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
# Package removal, not upgrade # Package removal, not upgrade
@ -603,6 +634,7 @@ if [ $1 -eq 0 ]; then
fi fi
%systemd_preun NetworkManager-wait-online.service NetworkManager-dispatcher.service %systemd_preun NetworkManager-wait-online.service NetworkManager-dispatcher.service
%postun %postun
/usr/bin/udevadm control --reload-rules || : /usr/bin/udevadm control --reload-rules || :
/usr/bin/udevadm trigger --subsystem-match=net || : /usr/bin/udevadm trigger --subsystem-match=net || :
@ -657,6 +689,7 @@ fi
%{_mandir}/man8/* %{_mandir}/man8/*
%dir %{_localstatedir}/lib/NetworkManager %dir %{_localstatedir}/lib/NetworkManager
%dir %{_sysconfdir}/NetworkManager/system-connections %dir %{_sysconfdir}/NetworkManager/system-connections
%dir %{_sysconfdir}/sysconfig/network-scripts
%{_datadir}/dbus-1/system-services/org.freedesktop.NetworkManager.service %{_datadir}/dbus-1/system-services/org.freedesktop.NetworkManager.service
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service %{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
%{_datadir}/polkit-1/actions/*.policy %{_datadir}/polkit-1/actions/*.policy
@ -670,6 +703,7 @@ fi
%doc NEWS AUTHORS README CONTRIBUTING TODO %doc NEWS AUTHORS README CONTRIBUTING TODO
%license COPYING %license COPYING
%if %{with adsl} %if %{with adsl}
%files adsl %files adsl
%{nmplugindir}/libnm-device-plugin-adsl.so %{nmplugindir}/libnm-device-plugin-adsl.so
@ -677,27 +711,32 @@ fi
%exclude %{nmplugindir}/libnm-device-plugin-adsl.so %exclude %{nmplugindir}/libnm-device-plugin-adsl.so
%endif %endif
%if %{with bluetooth} %if %{with bluetooth}
%files bluetooth %files bluetooth
%{nmplugindir}/libnm-device-plugin-bluetooth.so %{nmplugindir}/libnm-device-plugin-bluetooth.so
%endif %endif
%if %{with team} %if %{with team}
%files team %files team
%{nmplugindir}/libnm-device-plugin-team.so %{nmplugindir}/libnm-device-plugin-team.so
%endif %endif
%if %{with wifi} %if %{with wifi}
%files wifi %files wifi
%{nmplugindir}/libnm-device-plugin-wifi.so %{nmplugindir}/libnm-device-plugin-wifi.so
%endif %endif
%if %{with wwan} %if %{with wwan}
%files wwan %files wwan
%{nmplugindir}/libnm-device-plugin-wwan.so %{nmplugindir}/libnm-device-plugin-wwan.so
%{nmplugindir}/libnm-wwan.so %{nmplugindir}/libnm-wwan.so
%endif %endif
%if %{with ovs} %if %{with ovs}
%files ovs %files ovs
%{nmplugindir}/libnm-device-plugin-ovs.so %{nmplugindir}/libnm-device-plugin-ovs.so
@ -705,12 +744,14 @@ fi
%{_mandir}/man7/nm-openvswitch.7* %{_mandir}/man7/nm-openvswitch.7*
%endif %endif
%if %{with ppp} %if %{with ppp}
%files ppp %files ppp
%{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so %{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so
%{nmplugindir}/libnm-ppp-plugin.so %{nmplugindir}/libnm-ppp-plugin.so
%endif %endif
%if %{with libnm_glib} %if %{with libnm_glib}
%files glib -f %{name}.lang %files glib -f %{name}.lang
%{_libdir}/libnm-glib.so.* %{_libdir}/libnm-glib.so.*
@ -720,6 +761,7 @@ fi
%{_libdir}/girepository-1.0/NMClient-1.0.typelib %{_libdir}/girepository-1.0/NMClient-1.0.typelib
%endif %endif
%if %{with libnm_glib} %if %{with libnm_glib}
%files glib-devel %files glib-devel
%doc docs/api/html/* %doc docs/api/html/*
@ -751,10 +793,12 @@ fi
%{_datadir}/vala/vapi/libnm-*.vapi %{_datadir}/vala/vapi/libnm-*.vapi
%endif %endif
%files libnm -f %{name}.lang %files libnm -f %{name}.lang
%{_libdir}/libnm.so.* %{_libdir}/libnm.so.*
%{_libdir}/girepository-1.0/NM-1.0.typelib %{_libdir}/girepository-1.0/NM-1.0.typelib
%files libnm-devel %files libnm-devel
%doc docs/api/html/* %doc docs/api/html/*
%dir %{_includedir}/libnm %dir %{_includedir}/libnm
@ -770,6 +814,7 @@ fi
%{_datadir}/vala/vapi/libnm.vapi %{_datadir}/vala/vapi/libnm.vapi
%{_datadir}/dbus-1/interfaces/*.xml %{_datadir}/dbus-1/interfaces/*.xml
%if %{with connectivity_fedora} %if %{with connectivity_fedora}
%files config-connectivity-fedora %files config-connectivity-fedora
%dir %{nmlibdir} %dir %{nmlibdir}
@ -777,16 +822,27 @@ fi
%{nmlibdir}/conf.d/20-connectivity-fedora.conf %{nmlibdir}/conf.d/20-connectivity-fedora.conf
%endif %endif
%if %{with connectivity_redhat}
%files config-connectivity-redhat
%dir %{nmlibdir}
%dir %{nmlibdir}/conf.d
%{nmlibdir}/conf.d/20-connectivity-redhat.conf
%endif
%files config-server %files config-server
%dir %{nmlibdir} %dir %{nmlibdir}
%dir %{nmlibdir}/conf.d %dir %{nmlibdir}/conf.d
%{nmlibdir}/conf.d/00-server.conf %{nmlibdir}/conf.d/00-server.conf
%files dispatcher-routing-rules %files dispatcher-routing-rules
%{_sysconfdir}/%{name}/dispatcher.d/10-ifcfg-rh-routes.sh %{_sysconfdir}/%{name}/dispatcher.d/10-ifcfg-rh-routes.sh
%{_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
%if %{with nmtui} %if %{with nmtui}
%files tui %files tui
%{_bindir}/nmtui %{_bindir}/nmtui
@ -797,6 +853,9 @@ fi
%endif %endif
%changelog %changelog
* Wed Jul 25 2018 Lubomir Rintel <lkundrak@v3.sk> - 1:1.12.2-2
- Update to 1.12.2 release
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.12.0-1.1 * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.12.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (NetworkManager-1.12.0.tar.xz) = e905f8ccb3a15cf9b3774fcd7b773f83115d1cc16d546368d9be49285f1d2e75a5b34e05c8b3066b464785c3956139b43560359ba77ffae50a47958293626c48 SHA512 (NetworkManager-1.12.2.tar.xz) = cf5dae6ca8b6d3819a79485082f959907213d43413d15c41b79eb7da40edb913a41e7c18586b14bbf84f30ac493e2d9d466f5e66130c636f041ce939aaf49f35