From 49232703f4b0a38bfca74a6ed3efe4437e3ec274 Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Tue, 24 Aug 2021 16:46:55 +0200 Subject: [PATCH] Upgrade to 1.1.1 Signed-off-by: Fernando Fernandez Mancera --- .gitignore | 1 + nispor.spec | 36 +++++++++++++----------------------- sources | 2 +- 3 files changed, 15 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 9cda3e5..0d9b051 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /nispor-0.6.1.tar.gz /nispor-1.0.0.tar.gz /nispor-1.0.1.tar.gz +/nispor-1.1.1.tar.gz diff --git a/nispor.spec b/nispor.spec index 100aa6b..abbc8a8 100644 --- a/nispor.spec +++ b/nispor.spec @@ -2,8 +2,8 @@ %bcond_with check Name: nispor -Version: 1.0.1 -Release: 5%{?dist} +Version: 1.1.1 +Release: 1%{?dist} Summary: Unified interface for Linux network state querying License: ASL 2.0 URL: https://github.com/nispor/nispor @@ -18,13 +18,12 @@ BuildRequires: systemd-rpm-macros BuildRequires: (crate(serde/default) >= 1.0 with crate(serde/default) < 2.0) BuildRequires: (crate(serde_derive/default) >= 1.0 with crate(serde_derive/default) < 2.0) BuildRequires: (crate(serde_json/default) >= 1.0 with crate(serde_json/default) < 2.0) -BuildRequires: (crate(rtnetlink/default) >= 0.5.0 with crate(rtnetlink/default) < 0.6.0) -BuildRequires: (crate(netlink-packet-route/default) >= 0.5.0 with crate(netlink-packet-route/default) < 0.6.0) -BuildRequires: (crate(netlink-packet-utils/default) >= 0.3.0 with crate(netlink-packet-utils/default) < 0.4.0) -BuildRequires: (crate(netlink-sys/default) >= 0.4.0 with crate(netlink-sys/default) < 0.5.0) -BuildRequires: (crate(tokio/macros) >= 0.2.0 with crate(tokio/macros) < 0.3.0) -BuildRequires: (crate(tokio/rt-core) >= 0.2.0 with crate(tokio/rt-core) < 0.3.0) -BuildRequires: (crate(varlink/default) >= 11 with crate(varlink/default) < 12) +BuildRequires: (crate(rtnetlink/default) >= 0.8.0 with crate(rtnetlink/default) < 0.9.0) +BuildRequires: (crate(netlink-packet-route/default) >= 0.7.0 with crate(netlink-packet-route/default) < 0.8.0) +BuildRequires: (crate(netlink-packet-utils/default) >= 0.4.0 with crate(netlink-packet-utils/default) < 0.5.0) +BuildRequires: (crate(netlink-sys/default) >= 0.7.0 with crate(netlink-sys/default) < 0.8.0) +BuildRequires: (crate(tokio/macros) >= 1.10.0 with crate(tokio/macros) < 1.11.0) +BuildRequires: (crate(tokio/rt) >= 1.10.0 with crate(tokio/rt) < 1.11.0) BuildRequires: (crate(libc/default) >= 0.2.74 with crate(libc/default) < 0.3.0) BuildRequires: (crate(clap/default) >= 2.33.3 with crate(clap/default) < 3.0) BuildRequires: (crate(serde_yaml/default) >= 0.8 with crate(serde_yaml/default) < 0.9) @@ -71,7 +70,7 @@ This package contains C binding of %{name}. %autosetup -n %{name}-%{version_no_tilde} -p1 %cargo_prep -for sub_dir in lib cli clib varlink;do +for sub_dir in lib cli clib;do pushd src/$sub_dir %cargo_prep popd @@ -85,7 +84,7 @@ sed -i -e "s/rustflags = \[\(.\+\), \]$/rustflags = [\1, \"$_FLAGS\"]/" \ .cargo/config %build -for sub_dir in lib cli clib varlink;do +for sub_dir in lib cli clib;do pushd src/$sub_dir %cargo_build popd @@ -117,10 +116,7 @@ popd %doc AUTHORS CHANGELOG DEVEL.md README.md %license LICENSE %{_bindir}/npc -%{_bindir}/npd %{_libdir}/libnispor.so.* -%{_unitdir}/nispor.socket -%{_unitdir}/nispor.service %files -n python3-%{name} %license LICENSE @@ -139,16 +135,10 @@ popd %files -n rust-%{name}+default-devel %ghost %{cargo_registry}/%{name}-%{version_no_tilde}/Cargo.toml -%post -%systemd_post nispor.service - -%preun -%systemd_preun nispor.service - -%postun -%systemd_postun_with_restart nispor.service - %changelog +* Fri Sep 10 2021 Fernando Fernandez Mancera - 1.1.1-1 +- Upgrade to 1.1.1 + * Thu Jul 22 2021 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index f1e0412..ea0ba8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nispor-1.0.1.tar.gz) = 11b4ff7a895951bce04c9d03721634d9270985fbf60676d64583c33f8702ff69136c573eaf24a6aebe5ea852278e2271f5fbdfa6823be23699be917a648fc3a3 +SHA512 (nispor-1.1.1.tar.gz) = 052b7fdafc1eb1badb067f270a58e84eb16497bb7bb8c0d60bbd1da803d6d9826c34dc529bc733a3abd72d1aa91ee4814429f4a96d0905cc314ad9c5ba1136be