Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9298040a1 | ||
|
|
df8c33523b | ||
|
|
863a794c82 | ||
|
|
5b9ca090b0 |
6 changed files with 23 additions and 85 deletions
45
.gitignore
vendored
45
.gitignore
vendored
|
|
@ -118,54 +118,9 @@
|
|||
/nmstate-2.2.34.tar.gz
|
||||
/nmstate-2.2.34.tar.gz.asc
|
||||
/nmstate-vendor-2.2.34.tar.xz
|
||||
/nmstate-2.2.35.tar.gz
|
||||
/nmstate-2.2.35.tar.gz.asc
|
||||
/nmstate-vendor-2.2.35.tar.xz
|
||||
/nmstate-2.2.39.tar.gz
|
||||
/nmstate-2.2.39.tar.gz.asc
|
||||
/nmstate-vendor-2.2.39.tar.xz
|
||||
/nmstate-2.2.40.tar.gz
|
||||
/nmstate-2.2.40.tar.gz.asc
|
||||
/nmstate-vendor-2.2.40.tar.xz
|
||||
/nmstate-2.2.41.tar.gz
|
||||
/nmstate-2.2.41.tar.gz.asc
|
||||
/nmstate-vendor-2.2.41.tar.xz
|
||||
/nmstate-2.2.42.tar.gz
|
||||
/nmstate-2.2.42.tar.gz.asc
|
||||
/nmstate-vendor-2.2.42.tar.xz
|
||||
/nmstate-2.2.43.tar.gz
|
||||
/nmstate-2.2.43.tar.gz.asc
|
||||
/nmstate-vendor-2.2.43.tar.xz
|
||||
/nmstate-2.2.44.tar.gz
|
||||
/nmstate-2.2.44.tar.gz.asc
|
||||
/nmstate-vendor-2.2.44.tar.xz
|
||||
/nmstate-2.2.45.tar.gz
|
||||
/nmstate-2.2.45.tar.gz.asc
|
||||
/nmstate-vendor-2.2.45.tar.xz
|
||||
/nmstate-2.2.46.tar.gz
|
||||
/nmstate-2.2.46.tar.gz.asc
|
||||
/nmstate-vendor-2.2.46.tar.xz
|
||||
/nmstate-2.2.47.tar.gz
|
||||
/nmstate-2.2.47.tar.gz.asc
|
||||
/nmstate-vendor-2.2.47.tar.xz
|
||||
/nmstate-2.2.48.tar.gz
|
||||
/nmstate-2.2.48.tar.gz.asc
|
||||
/nmstate-vendor-2.2.48.tar.xz
|
||||
/nmstate-2.2.49.tar.gz
|
||||
/nmstate-2.2.49.tar.gz.asc
|
||||
/nmstate-vendor-2.2.49.tar.xz
|
||||
/nmstate-2.2.50.tar.gz
|
||||
/nmstate-2.2.50.tar.gz.asc
|
||||
/nmstate-vendor-2.2.50.tar.xz
|
||||
/nmstate-2.2.52.tar.gz
|
||||
/nmstate-2.2.52.tar.gz.asc
|
||||
/nmstate-vendor-2.2.52.tar.xz
|
||||
/nmstate-2.2.54.tar.gz
|
||||
/nmstate-2.2.54.tar.gz.asc
|
||||
/nmstate-vendor-2.2.54.tar.xz
|
||||
/nmstate-2.2.55.tar.gz
|
||||
/nmstate-2.2.55.tar.gz.asc
|
||||
/nmstate-vendor-2.2.55.tar.xz
|
||||
/nmstate-2.2.57.tar.gz
|
||||
/nmstate-2.2.57.tar.gz.asc
|
||||
/nmstate-vendor-2.2.57.tar.xz
|
||||
|
|
|
|||
|
|
@ -1,10 +1,3 @@
|
|||
# nmstate
|
||||
|
||||
The nmstate package
|
||||
|
||||
## Bundle update with rust-netlink and nispor
|
||||
|
||||
When certain nmstate update requires new release of rust-netlink or nispor,
|
||||
please check this document on correct procedure:
|
||||
|
||||
https://docs.fedoraproject.org/en-US/package-maintainers/Package_Update_Guide/#multiple_packages
|
||||
The nmstate package
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.12.0.post1.dev13+gd51655c23.
|
||||
The file was generated using packit 0.106.0.post1.dev8+g521f1e1d.
|
||||
|
|
|
|||
38
nmstate.spec
38
nmstate.spec
|
|
@ -2,7 +2,7 @@
|
|||
%define libname libnmstate
|
||||
|
||||
Name: nmstate
|
||||
Version: 2.2.57
|
||||
Version: 2.2.40
|
||||
Release: %autorelease
|
||||
Summary: Declarative network manager API
|
||||
License: Apache-2.0 AND LGPL-2.1-or-later
|
||||
|
|
@ -15,6 +15,7 @@ Source3: %{url}/releases/download/v%{version}/%{srcname}-vendor-%{version
|
|||
# https://issues.redhat.com/browse/RHEL-52890
|
||||
Requires: (nmstate-libs%{?_isa} = %{version}-%{release} if nmstate-libs)
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
|
@ -24,36 +25,27 @@ BuildRequires: rust-toolset
|
|||
BuildRequires: rust-packaging
|
||||
BuildRequires: (crate(clap/cargo) >= 3.1 with crate(clap/cargo) < 4.0)
|
||||
BuildRequires: (crate(clap/default) >= 3.1 with crate(clap/default) < 4.0)
|
||||
BuildRequires: (crate(time/std) >= 0.3 with crate(time/std) < 0.4)
|
||||
BuildRequires: (crate(time/formatting) >= 0.3 with crate(time/formatting) < 0.4)
|
||||
BuildRequires: (crate(time/parsing) >= 0.3 with crate(time/parsing) < 0.4)
|
||||
BuildRequires: (crate(env_logger/default) >= 0.11 with crate(env_logger/default) < 0.12)
|
||||
BuildRequires: (crate(chrono/default) >= 0.4 with crate(chrono/default) < 0.5)
|
||||
BuildRequires: (crate(env_logger/default) >= 0.10 with crate(env_logger/default) < 0.11)
|
||||
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(nispor/default) >= 1.2.27 with crate(nispor/default) < 2.0)
|
||||
BuildRequires: (crate(nispor/default) >= 1.2.17 with crate(nispor/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_json/default) >= 1.0 with crate(serde_json/default) < 2.0)
|
||||
BuildRequires: (crate(serde_yaml/default) >= 0.9 with crate(serde_yaml/default) < 1.0)
|
||||
BuildRequires: (crate(uuid/v4) >= 1.1 with crate(uuid/v4) < 2.0)
|
||||
BuildRequires: (crate(uuid/v5) >= 1.1 with crate(uuid/v5) < 2.0)
|
||||
BuildRequires: (crate(zbus/default) >= 5.1 with crate(zbus/default) < 6.0)
|
||||
BuildRequires: (crate(zvariant/default) >= 5.1 with crate(zvariant/default) < 6.0)
|
||||
BuildRequires: (crate(nix/default) >= 0.30 with crate(nix/default) < 0.31)
|
||||
BuildRequires: (crate(toml/default) >= 0.9 with crate(toml/default) < 1.0)
|
||||
BuildRequires: (crate(zbus/default) >= 1.9 with crate(zbus/default) < 2.0)
|
||||
BuildRequires: (crate(zvariant/default) >= 2.10 with crate(zvariant/default) < 3.0)
|
||||
BuildRequires: (crate(nix/default) >= 0.26 with crate(nix/default) < 0.27)
|
||||
BuildRequires: (crate(toml/default) >= 0.8 with crate(toml/default) < 0.9)
|
||||
BuildRequires: (crate(tokio/default) >= 1.3 with crate(tokio/default) < 2.0)
|
||||
BuildRequires: (crate(tokio/net) >= 1.3 with crate(tokio/net) < 2.0)
|
||||
BuildRequires: (crate(tokio/rt) >= 1.3 with crate(tokio/rt) < 2.0)
|
||||
BuildRequires: (crate(tokio/signal) >= 1.3 with crate(tokio/signal) < 2.0)
|
||||
BuildRequires: (crate(tokio/time) >= 1.3 with crate(tokio/time) < 2.0)
|
||||
BuildRequires: (crate(once_cell/default) >= 1.12 with crate(once_cell/default) < 2.0)
|
||||
%endif
|
||||
|
||||
%generate_buildrequires
|
||||
pushd rust/src/python >/dev/null
|
||||
%pyproject_buildrequires
|
||||
popd >/dev/null
|
||||
|
||||
%description
|
||||
Nmstate is a library with an accompanying command line tool that manages host
|
||||
networking settings in a declarative manner and aimed to satisfy enterprise
|
||||
|
|
@ -144,9 +136,9 @@ Summary: Rust crate of nmstate with query_apply feature
|
|||
BuildArch: noarch
|
||||
License: Apache-2.0
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2161128
|
||||
Requires: (crate(nispor/default) >= 1.2.17 with crate(nispor/default) < 2.0)
|
||||
Requires: (crate(nix/default) >= 0.26 with crate(nix/default) < 0.27)
|
||||
Requires: (crate(zbus/default) >= 5.1 with crate(zbus/default) < 6.0)
|
||||
Requires: (crate(nispor/default) >= 1.2.12 with crate(nispor/default) < 2.0)
|
||||
Requires: (crate(nix/default) >= 0.24 with crate(nix/default) < 0.25)
|
||||
Requires: (crate(zbus/default) >= 1.9 with crate(zbus/default) < 2.0)
|
||||
|
||||
%description -n rust-%{name}+query_apply-devel
|
||||
This package contains library source intended for building other packages
|
||||
|
|
@ -189,7 +181,7 @@ pushd rust
|
|||
popd
|
||||
|
||||
pushd rust/src/python
|
||||
%pyproject_wheel
|
||||
%py3_build
|
||||
popd
|
||||
|
||||
%install
|
||||
|
|
@ -200,7 +192,7 @@ env SKIP_PYTHON_INSTALL=1 \
|
|||
%make_install
|
||||
|
||||
pushd rust/src/python
|
||||
%pyproject_install
|
||||
%py3_install
|
||||
popd
|
||||
|
||||
%if ! 0%{?rhel}
|
||||
|
|
@ -246,7 +238,7 @@ popd
|
|||
%files -n python3-%{libname}
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{libname}
|
||||
%{python3_sitelib}/%{srcname}-*.dist-info/
|
||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
|
||||
%files static
|
||||
%{_libdir}/libnmstate.a
|
||||
|
|
|
|||
8
sources
8
sources
|
|
@ -1,4 +1,4 @@
|
|||
SHA512 (nmstate-2.2.57.tar.gz) = b203455ce70e8c2f0e0d67d0b57ded8da1a8a6492bc636412b4682d15453cdb694cf33b1c84498ab50e3a42a79d3a763ef3316943b356ccab5f858df03fd0a63
|
||||
SHA512 (nmstate-2.2.57.tar.gz.asc) = 972de00f4b4e18410c5aa6a6d23606ceda496c18747f7ba95e6602f21f24f8b3eaffe1d3e82aaf3e529592989f12ce1198b40c8b83abb6b7d108666b56ec7359
|
||||
SHA512 (nmstate.gpg) = e465239bc2a037457c5cb105f69cb033c092708285689f906b5e40cae01e12629bec1cdee7eb6aa3a327e4fc93dfd5ce0e006b295fe5ced8df039f9098cef0bc
|
||||
SHA512 (nmstate-vendor-2.2.57.tar.xz) = 88c69f1f20367acd858b25bb0e834ae7b21b4291d90b0ed62dd33c9a427f845b98fa56ba6b8d4228bc6c807f2293d77f4cd6ed7a568e6ceff19c875ef3bea6dd
|
||||
SHA512 (nmstate-2.2.40.tar.gz) = 513258ee5d8e03665c6f7a070e02e0ee1e7c4b6a2f28c92d1963edc9e31507af0b028c5c2214e44965aa25e11a167bf06b09013331a24ea95ac659e1682d55a2
|
||||
SHA512 (nmstate-2.2.40.tar.gz.asc) = 65dd897817a0326f6ed5bd1d014530100dd597826c12329acb8a50e7cb1c29cc29ef9abef1834bc3afc6852b25964af957e0afaea49290ffdac701e2a52c58bf
|
||||
SHA512 (nmstate.gpg) = bfbf3620045f3c1f15eaf6877fd7407834a75d2650976f2327abd02ddb910aa34500f07a774dd17023c43dcba42a0ffc66f23cd6816fd9694acad2c5eed9e8d3
|
||||
SHA512 (nmstate-vendor-2.2.40.tar.xz) = 757b21c10d5b6a401cebaa132db0df200977a7793ceb60e1f90cfd687ad3d138c0125ed59aa4749d03c9ea733a6f05bbb574ddd034e848c7a0fabb8ef091c939
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
TMP_FILE=$(mktemp /tmp/nmstate.XXXXXX.yaml)
|
||||
|
||||
nmstatectl show > $TMP_FILE
|
||||
nmstatectl show > $TMP_FILE 2>/dev/null
|
||||
|
||||
cat $TMP_FILE
|
||||
|
||||
nmstatectl set $TMP_FILE 2>&1
|
||||
nmstatectl set $TMP_FILE 2>/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue