Upgrade to 2.2.8

Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
Gris Ge 2023-03-12 14:54:42 +08:00
parent 0685232006
commit 59c76c1953
3 changed files with 11 additions and 5 deletions

2
.gitignore vendored
View File

@ -87,3 +87,5 @@
/nmstate-2.2.4.tar.gz.asc /nmstate-2.2.4.tar.gz.asc
/nmstate-2.2.5.tar.gz /nmstate-2.2.5.tar.gz
/nmstate-2.2.5.tar.gz.asc /nmstate-2.2.5.tar.gz.asc
/nmstate-2.2.8.tar.gz
/nmstate-2.2.8.tar.gz.asc

View File

@ -2,7 +2,7 @@
%define libname libnmstate %define libname libnmstate
Name: nmstate Name: nmstate
Version: 2.2.5 Version: 2.2.8
Release: %autorelease Release: %autorelease
Summary: Declarative network manager API Summary: Declarative network manager API
License: LGPLv2+ License: LGPLv2+
@ -29,7 +29,7 @@ BuildRequires: (crate(env_logger/default) >= 0.9 with crate(env_logger/default)
BuildRequires: (crate(ipnet/default) >= 2.5 with crate(ipnet/default) < 3.0) BuildRequires: (crate(ipnet/default) >= 2.5 with crate(ipnet/default) < 3.0)
BuildRequires: (crate(libc/default) >= 0.2 with crate(libc/default) < 0.3) BuildRequires: (crate(libc/default) >= 0.2 with crate(libc/default) < 0.3)
BuildRequires: (crate(log/default) >= 0.4 with crate(log/default) < 0.5) BuildRequires: (crate(log/default) >= 0.4 with crate(log/default) < 0.5)
BuildRequires: (crate(nispor/default) >= 1.2.9 with crate(nispor/default) < 2.0) BuildRequires: (crate(nispor/default) >= 1.2.10 with crate(nispor/default) < 2.0)
BuildRequires: (crate(serde/default) >= 1.0 with crate(serde/default) < 2.0) BuildRequires: (crate(serde/default) >= 1.0 with crate(serde/default) < 2.0)
BuildRequires: (crate(serde/derive) >= 1.0 with crate(serde/derive) < 2.0) BuildRequires: (crate(serde/derive) >= 1.0 with crate(serde/derive) < 2.0)
BuildRequires: (crate(serde_json/default) >= 1.0 with crate(serde_json/default) < 2.0) BuildRequires: (crate(serde_json/default) >= 1.0 with crate(serde_json/default) < 2.0)
@ -164,6 +164,10 @@ pushd rust/src/python
%py3_install %py3_install
popd popd
# cargo_install has problem on detecting library when running in workspace
# due to bug https://pagure.io/fedora-rust/cargo2rpm/issue/5
# Removing the workspace Cargo.toml will workaround this problem.
rm rust/Cargo.toml
pushd rust/src/lib pushd rust/src/lib
%cargo_install %cargo_install
popd popd

View File

@ -1,3 +1,3 @@
SHA512 (nmstate-2.2.5.tar.gz) = d768cb8ef3fcf00d1788cfa5b11b552e5d8516009bb5e8b4333b8a640b890e297f73f79c7a82016b727c9f9fff95451c7fc5b00adf7fddab05d034c8c687bce5 SHA512 (nmstate.gpg) = 91c6b1d8aef4944520d4bdd4e90121bbbbaf772444f5eb6081cee81e17b21b66798437cdc09a117c6fc77c54d798aaa30400857aa090cb2102b47841f45cf6eb
SHA512 (nmstate-2.2.5.tar.gz.asc) = 2b712e932cfea1dd720ef13e9b8e9c44fd4a8b07fa422d4bd3cfe3571ca8bfc7bbcf02f5f9984fde0053bcafd8b83574abf92892327f8ef5032b0d33b932be2a SHA512 (nmstate-2.2.8.tar.gz) = ae13d09001794b002c26bf38892a8502c3b3519f56f0dd15a9d81e7590f3d49d52366b3d2d872dc634c97af2cee8c6866c173dd8f915291702192a487b565213
SHA512 (nmstate.gpg) = b77a72ad4711b9d0c3b3a34520b4a9c4a367ecc4b89fad9221bf9f2963fc8b504dae688213a59e184c95e83e2e8773c6018acea8ecc13fc1ff5bb894c5223760 SHA512 (nmstate-2.2.8.tar.gz.asc) = 1da865d78cf907300c302d3fbb208d29e8139d5d59adc662c0885e7882c396de72b7172df9bee35acb8f71b15e76259edbac5bb5972d7d359abfbee1e9fe437e