Auto sync2gitlab import of nmstate-1.4.0-1.el8.src.rpm

This commit is contained in:
CentOS Sources 2022-12-14 18:13:05 +00:00
parent 573d9d5426
commit 95dfe07427
6 changed files with 60 additions and 22 deletions

2
.gitignore vendored
View File

@ -18,3 +18,5 @@
/nmstate-vendor-1.3.4-alpha-20221118.tar.xz
/nmstate-1.4.0-alpha-20221201.tar.gz
/nmstate-vendor-1.4.0-alpha-20221201.tar.xz
/nmstate-1.4.0.tar.gz
/nmstate-vendor-1.4.0.tar.xz

View File

@ -0,0 +1,31 @@
From 248cd0bff6e3d030ee72b62a8a8b0e37e9f2ef80 Mon Sep 17 00:00:00 2001
From: Fernando Fernandez Mancera <ffmancera@riseup.net>
Date: Tue, 29 Nov 2022 23:56:13 +0100
Subject: [PATCH] nm: reverse IPv6 order before adding them to setting
This is a downstream patch that needs to be applied before any other
patch. Please check:
https://github.com/nmstate/nmstate/commit/2d0cfd5ad8e049f30cad10d977a5fae8bc4e6b64
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
---
libnmstate/nm/ipv6.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libnmstate/nm/ipv6.py b/libnmstate/nm/ipv6.py
index 8e01fd70..7eb3196c 100644
--- a/libnmstate/nm/ipv6.py
+++ b/libnmstate/nm/ipv6.py
@@ -157,7 +157,7 @@ def _set_dynamic(setting_ip, is_dhcp, is_autoconf):
def _set_static(setting_ip, ip_addresses):
- for address in ip_addresses:
+ for address in reversed(ip_addresses):
if iplib.is_ipv6_link_local_addr(
address[InterfaceIPv6.ADDRESS_IP],
address[InterfaceIPv6.ADDRESS_PREFIX_LENGTH],
--
2.38.1

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEp8FHY3kob374NLnbC2uFMiiFSboFAmOIeVoACgkQC2uFMiiF
SbogbQ/8CwJt8RQmpVNkcYPbL86kiGYdNvab9lnuYrr2xMxz1MuTRPM8v5IAYqZn
IL/UGo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ObnnL09vbzWFyNmi9DqLDm9uWsiCudYBioacLXRYBhXSQO8ZOSt/6
vxJHSFTjcA2adDzN0T9tlrNq83Srk8fJ0hkcYraYaVhYH/EXAoRvMhmo2QjJTV9t
BJKyiodwVlMG4V6biq4KG53GKrcw2CxHGiTPg7qHalA6/M5KIDmi9nP0ePc9Nx09
vXVrymUKhcs8xvWcyEFEgPQ4fp0PDgguiIVFHwxpqQeMMm/DlnEvafvM+ylp8UWk
UndgsBnDFW2H6q15OOzMlqj6r0fddTOWFLlLjNgaQKPqq4VuO/i4Xkd/LBBImenn
s9x689KIhW5rvSCF9NBTtvw3V4Krre6wHB1S+El9L9VF3C4WFbRWKALs2E1I9waT
oflbEKRwxqKBNMojY/T5yUNJDOv4elBHH1wIxmd8+8gzK1jDGYM=
=lpDz
-----END PGP SIGNATURE-----

View File

@ -4,14 +4,16 @@
Name: nmstate
Version: 1.4.0
Release: 0.alpha.20221201%{?dist}
Release: 1%{?dist}
Summary: Declarative network manager API
License: LGPLv2+
URL: https://github.com/%{srcname}/%{srcname}
Source0: %{url}/releases/download/v%{version}/%{srcname}-%{version}-alpha-20221201.tar.gz
Source1: %{url}/releases/download/v%{version}/%{srcname}-%{version}-alpha-20221201.tar.gz.asc
Source0: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
Source1: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
Source2: https://www.nmstate.io/nmstate.gpg
Source3: %{url}/releases/download/v%{version}/%{srcname}-vendor-%{version}-alpha-20221201.tar.xz
Source3: %{url}/releases/download/v%{version}/%{srcname}-vendor-%{version}.tar.xz
# Patches 0X are reserved to downstream only
Patch0: BZ_2132570-nm-reverse-IPv6-order-before-adding-them-to-setting.patch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: gnupg2
@ -146,6 +148,9 @@ popd
/sbin/ldconfig
%changelog
* Wed Dec 14 2022 Gris Ge <fge@redhat.com> - 1.4.0-1
- Upgrade to nmstate-1.4.0
* Thu Dec 01 2022 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.4.0.alpha.20221201
- Upgrade to nmstate-1.4.0.alpha.20221201

View File

@ -1,2 +1,2 @@
SHA512 (nmstate-1.4.0-alpha-20221201.tar.gz) = d6d17cb8a00827fca724344f0adc572ca2d873c9c46ff777f55878f2b304f76ed4f61f2e66754c564c9d52c4447bb97f40107a93578cdf0633ea9b515fd48bd6
SHA512 (nmstate-vendor-1.4.0-alpha-20221201.tar.xz) = d3bddbc254431563be2628944926d08c94f963cabe86043cd5c7eb0a89abb2b5c89b1d5cb53c78ecec50a126afdaff0df999a37d030e8c7a4bbc637faee46201
SHA512 (nmstate-1.4.0.tar.gz) = 37c31fd70dd22c7564e8779b471110e152012e7a5411e325b299316ffc682b39ff92573d3b406b34fe050837b60fad83ac50822fdbf5dcf5d2da74666e53fb18
SHA512 (nmstate-vendor-1.4.0.tar.xz) = 7e7eac3daf1e24d0699cfe4327b2175e524f351e81f4ea10e433c7647092a8fa35d96d14b6eb309fbedb011131392bc0b1848d96c972acb11cb15e527804972b