From eb5fbe00af2a116bb46168682ccf8dc6a25ff118 Mon Sep 17 00:00:00 2001 From: Ana Cabral Date: Tue, 16 Aug 2022 18:51:15 -0300 Subject: [PATCH] Upgrade to 1.40-rc1 (1.39.90) (release candidate) --- .gitignore | 1 + NetworkManager.spec | 72 ++++++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 40 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 820d60e..04808b8 100644 --- a/.gitignore +++ b/.gitignore @@ -416,3 +416,4 @@ network-manager-applet-0.8.1.tar.bz2 /NetworkManager-1.39.8.tar.xz /NetworkManager-1.39.10.tar.xz /NetworkManager-1.39.11.tar.xz +/NetworkManager-1.39.90.tar.xz diff --git a/NetworkManager.spec b/NetworkManager.spec index 7343add..693f1df 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -5,7 +5,7 @@ %global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad) %global epoch_version 1 -%global real_version 1.39.11 +%global real_version 1.39.90 %global rpm_version %{real_version} %global release_version 1 %global snapshot %{nil} @@ -72,12 +72,12 @@ %else %bcond_with connectivity_fedora %endif -%if 0%{?rhel} && 0%{?rhel} > 7 +%if 0%{?rhel} && 0%{?rhel} >= 8 %bcond_without connectivity_redhat %else %bcond_with connectivity_redhat %endif -%if 0%{?fedora} > 28 || 0%{?rhel} > 7 +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 %bcond_without crypto_gnutls %else %bcond_with crypto_gnutls @@ -87,7 +87,7 @@ %else %bcond_without iwd %endif -%if 0%{?fedora} > 31 || 0%{?rhel} > 7 +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8 %bcond_without firewalld_zone %else %bcond_with firewalld_zone @@ -95,7 +95,7 @@ ############################################################################### -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} >= 8 %global dbus_version 1.9.18 %global dbus_sys_dir %{_datadir}/dbus-1/system.d %else @@ -117,15 +117,15 @@ %global with_modem_manager_1 0 %endif -%if 0%{?fedora} >= 31 || 0%{?rhel} > 7 +%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8 %global dhcp_default internal %else %global dhcp_default dhclient %endif -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} >= 8 %global logging_backend_default journal -%if 0%{?fedora} || 0%{?rhel} > 8 +%if 0%{?fedora} || 0%{?rhel} >= 9 %global dns_rc_manager_default auto %else %global dns_rc_manager_default symlink @@ -135,19 +135,19 @@ %global dns_rc_manager_default file %endif -%if 0%{?rhel} > 8 || 0%{?fedora} > 32 +%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9 %global config_plugins_default_ifcfg_rh 0 %else %global config_plugins_default_ifcfg_rh 1 %endif -%if 0%{?rhel} > 9 || 0%{?fedora} > 35 +%if 0%{?fedora} >= 36 || 0%{?rhel} >= 10 %global split_ifcfg_rh 1 %else %global split_ifcfg_rh 0 %endif -%if 0%{?rhel} > 8 || 0%{?fedora} > 35 +%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9 %global ifcfg_warning 1 %else %global ifcfg_warning 0 @@ -191,7 +191,7 @@ Source7: readme-ifcfg-rh.txt #Patch1: 0001-some.patch Requires(post): systemd -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} >= 8 Requires(post): systemd-udev %endif Requires(post): /usr/sbin/update-alternatives @@ -279,7 +279,7 @@ BuildRequires: mobile-broadband-provider-info-devel BuildRequires: newt-devel %endif BuildRequires: /usr/bin/dbus-launch -%if 0%{?fedora} > 27 || 0%{?rhel} > 7 +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 BuildRequires: python3 BuildRequires: python3-gobject-base BuildRequires: python3-dbus @@ -303,7 +303,7 @@ BuildRequires: libubsan BuildRequires: firewalld-filesystem %endif BuildRequires: iproute -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} >= 8 BuildRequires: iproute-tc %endif @@ -392,7 +392,7 @@ Requires: wireless-regdb Requires: crda %endif -%if %{with iwd} && (0%{?fedora} > 24 || 0%{?rhel} > 7) +%if %{with iwd} && (0%{?fedora} >= 25 || 0%{?rhel} >= 8) Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd) Suggests: wpa_supplicant %else @@ -732,8 +732,8 @@ gtkdocize autoreconf --install --force %configure \ --with-runstatedir=%{_rundir} \ - --disable-silent-rules \ - --disable-static \ + --enable-silent-rules=no \ + --enable-static=no \ --with-nft=/usr/sbin/nft \ --with-iptables=/usr/sbin/iptables \ --with-dhclient=yes \ @@ -748,26 +748,26 @@ autoreconf --install --force %if %{with sanitizer} --with-address-sanitizer=exec \ %if 0%{?fedora} || 0%{?rhel} >= 8 - --enable-undefined-sanitizer \ + --enable-undefined-sanitizer=yes \ %else - --disable-undefined-sanitizer \ + --enable-undefined-sanitizer=no \ %endif %else --with-address-sanitizer=no \ - --disable-undefined-sanitizer \ + --enable-undefined-sanitizer=no \ %endif %if %{with debug} - --enable-more-logging \ + --enable-more-logging=yes \ --with-more-asserts=10000 \ %else - --disable-more-logging \ - --without-more-asserts \ + --enable-more-logging=no \ + --with-more-asserts=0 \ %endif - --enable-ld-gc \ + --enable-ld-gc=yes \ %if %{with lto} - --enable-lto \ + --enable-lto=yes \ %else - --disable-lto \ + --enable-lto=no \ %endif --with-libaudit=yes-disabled-by-default \ %if 0%{?with_modem_manager_1} @@ -806,11 +806,11 @@ autoreconf --install --force --with-nm-cloud-setup=no \ %endif --enable-vala=yes \ - --enable-introspection \ + --enable-introspection=yes \ %if %{with regen_docs} - --enable-gtk-doc \ + --enable-gtk-doc=yes \ %else - --disable-gtk-doc \ + --enable-gtk-doc=no \ %endif %if %{with team} --enable-teamdctl=yes \ @@ -825,11 +825,11 @@ autoreconf --install --force --with-selinux=yes \ --enable-polkit=yes \ --enable-modify-system=yes \ - --enable-concheck \ + --enable-concheck=yes \ %if 0%{?fedora} - --with-libpsl \ + --with-libpsl=yes \ %else - --without-libpsl \ + --with-libpsl=no \ %endif --with-ebpf=%{ebpf_enabled} \ --with-session-tracking=systemd \ @@ -850,9 +850,9 @@ autoreconf --install --force --enable-ppp=yes \ %endif %if %{with firewalld_zone} - --enable-firewalld-zone \ + --enable-firewalld-zone=yes \ %else - --disable-firewalld-zone \ + --enable-firewalld-zone=no \ %endif --with-dist-version=%{version}-%{release} \ %if %{?config_plugins_default_ifcfg_rh} @@ -1224,6 +1224,10 @@ fi %changelog +* Tue Aug 16 2022 Ana Cabral - 1:1.39.90-1 +- Upgrade to 1.40-rc1 (1.39.90) (release candidate) +- Upstream sync + * Thu Jul 28 2022 Beniamino Galvani - 1:1.39.11-1 - Update to 1.39.11 release (development) diff --git a/sources b/sources index ca8e327..b872c78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (NetworkManager-1.39.11.tar.xz) = 50537e31e521efccc426842d044141750fe1454a38268deccc3dd3046db3c9d38b21f23d6caf49fbd7672262e6ea468ed5828bcbb09c3ccc34880f22ae37ba48 +SHA512 (NetworkManager-1.39.90.tar.xz) = e21a8fe9862f6a43423dc026bf67255f6030124c3179a2e21cbc9ae422ae0a98b5a13d12ca26fc726a2379c4f643feb7715cfb5f7fc057aa63694f5179d1b8e5