Upgrade to 1.1.1
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
2f3023a588
commit
49232703f4
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
/nispor-0.6.1.tar.gz
|
/nispor-0.6.1.tar.gz
|
||||||
/nispor-1.0.0.tar.gz
|
/nispor-1.0.0.tar.gz
|
||||||
/nispor-1.0.1.tar.gz
|
/nispor-1.0.1.tar.gz
|
||||||
|
/nispor-1.1.1.tar.gz
|
||||||
|
36
nispor.spec
36
nispor.spec
@ -2,8 +2,8 @@
|
|||||||
%bcond_with check
|
%bcond_with check
|
||||||
|
|
||||||
Name: nispor
|
Name: nispor
|
||||||
Version: 1.0.1
|
Version: 1.1.1
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Unified interface for Linux network state querying
|
Summary: Unified interface for Linux network state querying
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/nispor/nispor
|
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/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_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(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(rtnetlink/default) >= 0.8.0 with crate(rtnetlink/default) < 0.9.0)
|
||||||
BuildRequires: (crate(netlink-packet-route/default) >= 0.5.0 with crate(netlink-packet-route/default) < 0.6.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.3.0 with crate(netlink-packet-utils/default) < 0.4.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.4.0 with crate(netlink-sys/default) < 0.5.0)
|
BuildRequires: (crate(netlink-sys/default) >= 0.7.0 with crate(netlink-sys/default) < 0.8.0)
|
||||||
BuildRequires: (crate(tokio/macros) >= 0.2.0 with crate(tokio/macros) < 0.3.0)
|
BuildRequires: (crate(tokio/macros) >= 1.10.0 with crate(tokio/macros) < 1.11.0)
|
||||||
BuildRequires: (crate(tokio/rt-core) >= 0.2.0 with crate(tokio/rt-core) < 0.3.0)
|
BuildRequires: (crate(tokio/rt) >= 1.10.0 with crate(tokio/rt) < 1.11.0)
|
||||||
BuildRequires: (crate(varlink/default) >= 11 with crate(varlink/default) < 12)
|
|
||||||
BuildRequires: (crate(libc/default) >= 0.2.74 with crate(libc/default) < 0.3.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(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)
|
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
|
%autosetup -n %{name}-%{version_no_tilde} -p1
|
||||||
|
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
for sub_dir in lib cli clib varlink;do
|
for sub_dir in lib cli clib;do
|
||||||
pushd src/$sub_dir
|
pushd src/$sub_dir
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
popd
|
popd
|
||||||
@ -85,7 +84,7 @@ sed -i -e "s/rustflags = \[\(.\+\), \]$/rustflags = [\1, \"$_FLAGS\"]/" \
|
|||||||
.cargo/config
|
.cargo/config
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for sub_dir in lib cli clib varlink;do
|
for sub_dir in lib cli clib;do
|
||||||
pushd src/$sub_dir
|
pushd src/$sub_dir
|
||||||
%cargo_build
|
%cargo_build
|
||||||
popd
|
popd
|
||||||
@ -117,10 +116,7 @@ popd
|
|||||||
%doc AUTHORS CHANGELOG DEVEL.md README.md
|
%doc AUTHORS CHANGELOG DEVEL.md README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/npc
|
%{_bindir}/npc
|
||||||
%{_bindir}/npd
|
|
||||||
%{_libdir}/libnispor.so.*
|
%{_libdir}/libnispor.so.*
|
||||||
%{_unitdir}/nispor.socket
|
|
||||||
%{_unitdir}/nispor.service
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -139,16 +135,10 @@ popd
|
|||||||
%files -n rust-%{name}+default-devel
|
%files -n rust-%{name}+default-devel
|
||||||
%ghost %{cargo_registry}/%{name}-%{version_no_tilde}/Cargo.toml
|
%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
|
%changelog
|
||||||
|
* Fri Sep 10 2021 Fernando Fernandez Mancera <ffmancera@riseup.net> - 1.1.1-1
|
||||||
|
- Upgrade to 1.1.1
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (nispor-1.0.1.tar.gz) = 11b4ff7a895951bce04c9d03721634d9270985fbf60676d64583c33f8702ff69136c573eaf24a6aebe5ea852278e2271f5fbdfa6823be23699be917a648fc3a3
|
SHA512 (nispor-1.1.1.tar.gz) = 052b7fdafc1eb1badb067f270a58e84eb16497bb7bb8c0d60bbd1da803d6d9826c34dc529bc733a3abd72d1aa91ee4814429f4a96d0905cc314ad9c5ba1136be
|
||||||
|
Loading…
Reference in New Issue
Block a user