|
|
15fe26 |
Name: nispor
|
|
|
ba88b7 |
Version: 1.2.7
|
|
|
03a005 |
Release: 1%{?dist}
|
|
|
15fe26 |
Summary: API for network status querying
|
|
|
15fe26 |
License: ASL 2.0
|
|
|
15fe26 |
URL: https://github.com/nispor/nispor
|
|
|
15fe26 |
Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
ba88b7 |
Source1: https://github.com/nispor/nispor/releases/download/v%{version}/nispor-vendor-%{version}.tar.xz
|
|
|
15fe26 |
BuildRequires: pkg-config
|
|
|
15fe26 |
BuildRequires: python3-devel
|
|
|
15fe26 |
BuildRequires: rust-toolset
|
|
|
15fe26 |
BuildRequires: systemd-rpm-macros
|
|
|
15fe26 |
BuildRequires: systemd-devel
|
|
|
15fe26 |
|
|
|
ba88b7 |
Provides: bundled(crate(aho-corasick)) = 0.7.18
|
|
|
ba88b7 |
Provides: bundled(crate(ansi_term)) = 0.12.1
|
|
|
ba88b7 |
Provides: bundled(crate(anyhow)) = 1.0.56
|
|
|
03a005 |
Provides: bundled(crate(atty)) = 0.2.14
|
|
|
ba88b7 |
Provides: bundled(crate(autocfg)) = 1.1.0
|
|
|
ba88b7 |
Provides: bundled(crate(bitflags)) = 1.3.2
|
|
|
ba88b7 |
Provides: bundled(crate(byteorder)) = 1.4.3
|
|
|
ba88b7 |
Provides: bundled(crate(bytes)) = 1.1.0
|
|
|
ba88b7 |
Provides: bundled(crate(cc)) = 1.0.73
|
|
|
03a005 |
Provides: bundled(crate(cfg-if)) = 1.0.0
|
|
|
ba88b7 |
Provides: bundled(crate(clap)) = 3.1.6
|
|
|
ba88b7 |
Provides: bundled(crate(ctor)) = 0.1.21
|
|
|
ba88b7 |
Provides: bundled(crate(diff)) = 0.1.12
|
|
|
ba88b7 |
Provides: bundled(crate(env_logger)) = 0.9.0
|
|
|
ba88b7 |
Provides: bundled(crate(ethtool)) = 0.2.2
|
|
|
ba88b7 |
Provides: bundled(crate(futures)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-channel)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-core)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-executor)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-io)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-macro)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-sink)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-task)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(futures-util)) = 0.3.21
|
|
|
ba88b7 |
Provides: bundled(crate(genetlink)) = 0.2.1
|
|
|
ba88b7 |
Provides: bundled(crate(hashbrown)) = 0.11.2
|
|
|
ba88b7 |
Provides: bundled(crate(hermit-abi)) = 0.1.19
|
|
|
03a005 |
Provides: bundled(crate(humantime)) = 2.1.0
|
|
|
ba88b7 |
Provides: bundled(crate(indexmap)) = 1.8.0
|
|
|
ba88b7 |
Provides: bundled(crate(itoa)) = 1.0.1
|
|
|
ba88b7 |
Provides: bundled(crate(lazy_static)) = 1.4.0
|
|
|
ba88b7 |
Provides: bundled(crate(libc)) = 0.2.120
|
|
|
ba88b7 |
Provides: bundled(crate(linked-hash-map)) = 0.5.4
|
|
|
03a005 |
Provides: bundled(crate(log)) = 0.4.14
|
|
|
ba88b7 |
Provides: bundled(crate(memchr)) = 2.4.1
|
|
|
ba88b7 |
Provides: bundled(crate(memoffset)) = 0.6.5
|
|
|
ba88b7 |
Provides: bundled(crate(mio)) = 0.8.1
|
|
|
ba88b7 |
Provides: bundled(crate(miow)) = 0.3.7
|
|
|
ba88b7 |
Provides: bundled(crate(netlink-packet-core)) = 0.4.2
|
|
|
ba88b7 |
Provides: bundled(crate(netlink-packet-generic)) = 0.3.0
|
|
|
ba88b7 |
Provides: bundled(crate(netlink-packet-route)) = 0.11.0
|
|
|
ba88b7 |
Provides: bundled(crate(netlink-packet-utils)) = 0.5.1
|
|
|
ba88b7 |
Provides: bundled(crate(netlink-proto)) = 0.9.2
|
|
|
ba88b7 |
Provides: bundled(crate(netlink-sys)) = 0.8.2
|
|
|
ba88b7 |
Provides: bundled(crate(nix)) = 0.22.3
|
|
|
ba88b7 |
Provides: bundled(crate(ntapi)) = 0.3.7
|
|
|
ba88b7 |
Provides: bundled(crate(os_str_bytes)) = 6.0.0
|
|
|
ba88b7 |
Provides: bundled(crate(output_vt100)) = 0.1.3
|
|
|
ba88b7 |
Provides: bundled(crate(paste)) = 1.0.6
|
|
|
ba88b7 |
Provides: bundled(crate(pin-project-lite)) = 0.2.8
|
|
|
03a005 |
Provides: bundled(crate(pin-utils)) = 0.1.0
|
|
|
ba88b7 |
Provides: bundled(crate(pretty_assertions)) = 1.2.0
|
|
|
ba88b7 |
Provides: bundled(crate(proc-macro2)) = 1.0.36
|
|
|
ba88b7 |
Provides: bundled(crate(quote)) = 1.0.15
|
|
|
ba88b7 |
Provides: bundled(crate(regex)) = 1.5.5
|
|
|
ba88b7 |
Provides: bundled(crate(regex-syntax)) = 0.6.25
|
|
|
ba88b7 |
Provides: bundled(crate(rtnetlink)) = 0.9.1
|
|
|
ba88b7 |
Provides: bundled(crate(ryu)) = 1.0.9
|
|
|
ba88b7 |
Provides: bundled(crate(serde)) = 1.0.136
|
|
|
ba88b7 |
Provides: bundled(crate(serde_derive)) = 1.0.136
|
|
|
ba88b7 |
Provides: bundled(crate(serde_json)) = 1.0.79
|
|
|
ba88b7 |
Provides: bundled(crate(serde_yaml)) = 0.8.23
|
|
|
ba88b7 |
Provides: bundled(crate(slab)) = 0.4.5
|
|
|
ba88b7 |
Provides: bundled(crate(socket2)) = 0.4.4
|
|
|
ba88b7 |
Provides: bundled(crate(strsim)) = 0.10.0
|
|
|
ba88b7 |
Provides: bundled(crate(syn)) = 1.0.88
|
|
|
ba88b7 |
Provides: bundled(crate(termcolor)) = 1.1.3
|
|
|
ba88b7 |
Provides: bundled(crate(textwrap)) = 0.15.0
|
|
|
ba88b7 |
Provides: bundled(crate(thiserror)) = 1.0.30
|
|
|
ba88b7 |
Provides: bundled(crate(thiserror-impl)) = 1.0.30
|
|
|
ba88b7 |
Provides: bundled(crate(tokio)) = 1.17.0
|
|
|
ba88b7 |
Provides: bundled(crate(tokio-macros)) = 1.7.0
|
|
|
ba88b7 |
Provides: bundled(crate(unicode-xid)) = 0.2.2
|
|
|
ba88b7 |
Provides: bundled(crate(wasi)) = 0.11.0
|
|
|
03a005 |
Provides: bundled(crate(winapi)) = 0.3.9
|
|
|
03a005 |
Provides: bundled(crate(winapi-i686-pc-windows-gnu)) = 0.4.0
|
|
|
03a005 |
Provides: bundled(crate(winapi-util)) = 0.1.5
|
|
|
03a005 |
Provides: bundled(crate(winapi-x86_64-pc-windows-gnu)) = 0.4.0
|
|
|
ba88b7 |
Provides: bundled(crate(yaml-rust)) = 0.4.5
|
|
|
03a005 |
|
|
|
15fe26 |
%description
|
|
|
15fe26 |
Unified interface for Linux network state querying.
|
|
|
15fe26 |
|
|
|
15fe26 |
%package -n python3-%{name}
|
|
|
15fe26 |
Summary: %{summary}
|
|
|
15fe26 |
Requires: nispor = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
15fe26 |
BuildArch: noarch
|
|
|
15fe26 |
|
|
|
15fe26 |
%description -n python3-%{name}
|
|
|
15fe26 |
|
|
|
15fe26 |
This package contains python3 binding of %{name}.
|
|
|
15fe26 |
|
|
|
15fe26 |
%package devel
|
|
|
15fe26 |
Summary: %{summary}
|
|
|
15fe26 |
Requires: nispor%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
15fe26 |
|
|
|
15fe26 |
%description devel
|
|
|
15fe26 |
|
|
|
15fe26 |
This package contains C binding of %{name}.
|
|
|
15fe26 |
|
|
|
15fe26 |
%prep
|
|
|
15fe26 |
%autosetup -p1
|
|
|
15fe26 |
|
|
|
15fe26 |
# Source1 is vendored dependencies
|
|
|
15fe26 |
%cargo_prep -V 1
|
|
|
15fe26 |
|
|
|
15fe26 |
# The cargo_prep will create `.cargo/config` which take precedence over
|
|
|
15fe26 |
# `.cargo/config.toml` shipped by upstream which fix the SONAME of cdylib.
|
|
|
15fe26 |
# To workaround that, merge upstream rustflags into cargo_prep created one.
|
|
|
15fe26 |
_FLAGS=`sed -ne 's/rustflags = "\(.\+\)"/\1/p' .cargo/config.toml`
|
|
|
15fe26 |
sed -i -e "s/rustflags = \[\(.\+\), \]$/rustflags = [\1, \"$_FLAGS\"]/" \
|
|
|
15fe26 |
.cargo/config
|
|
|
15fe26 |
|
|
|
15fe26 |
%build
|
|
|
15fe26 |
make
|
|
|
15fe26 |
pushd src/python
|
|
|
15fe26 |
%py3_build
|
|
|
15fe26 |
popd
|
|
|
15fe26 |
|
|
|
15fe26 |
%post
|
|
|
15fe26 |
/sbin/ldconfig
|
|
|
15fe26 |
|
|
|
15fe26 |
%postun
|
|
|
15fe26 |
/sbin/ldconfig
|
|
|
15fe26 |
|
|
|
15fe26 |
%install
|
|
|
15fe26 |
env SKIP_PYTHON_INSTALL=1 PREFIX=%{_prefix} LIBDIR=%{_libdir} %make_install
|
|
|
15fe26 |
|
|
|
15fe26 |
pushd src/python
|
|
|
15fe26 |
%py3_install
|
|
|
15fe26 |
popd
|
|
|
15fe26 |
|
|
|
15fe26 |
%files
|
|
|
15fe26 |
%doc AUTHORS CHANGELOG DEVEL.md README.md
|
|
|
15fe26 |
%license LICENSE
|
|
|
15fe26 |
%{_bindir}/npc
|
|
|
15fe26 |
%{_libdir}/libnispor.so.*
|
|
|
15fe26 |
|
|
|
15fe26 |
%files -n python3-%{name}
|
|
|
15fe26 |
%license LICENSE
|
|
|
15fe26 |
%{python3_sitelib}/nispor*
|
|
|
15fe26 |
|
|
|
15fe26 |
%files devel
|
|
|
15fe26 |
%license LICENSE
|
|
|
15fe26 |
%{_libdir}/libnispor.so
|
|
|
15fe26 |
%{_includedir}/nispor.h
|
|
|
15fe26 |
%{_libdir}/pkgconfig/nispor.pc
|
|
|
15fe26 |
|
|
|
15fe26 |
%changelog
|
|
|
ba88b7 |
* Tue Jul 26 2022 Gris Ge <fge@redhat.com> - 1.2.7-1
|
|
|
ba88b7 |
- Upgrade to 1.2.7. RHBZ#2064295
|
|
|
ba88b7 |
|
|
|
ba88b7 |
* Tue Apr 12 2022 Gris Ge <fge@redhat.com> - 1.2.5-1
|
|
|
ba88b7 |
- Upgrade to 1.2.5. RHBZ#2064295
|
|
|
ba88b7 |
|
|
|
ba88b7 |
* Tue Mar 15 2022 Gris Ge <fge@redhat.com> - 1.2.4-1
|
|
|
ba88b7 |
- Upgrade to 1.2.4. RHBZ#2064295
|
|
|
ba88b7 |
|
|
|
790dc5 |
* Thu Jan 13 2022 - 1.2.3-1
|
|
|
790dc5 |
- Update to 1.2.3. RHBZ#1996619
|
|
|
790dc5 |
|
|
|
790dc5 |
* Fri Jan 07 2022 Gris Ge <fge@redhat.com> - 1.2.2-2
|
|
|
790dc5 |
- Fix bridge vlan filtering on i40e. RHBZ#2026621
|
|
|
790dc5 |
|
|
|
790dc5 |
* Tue Nov 30 2021 Gris Ge <fge@redhat.com> - 1.2.2-1
|
|
|
790dc5 |
- Upgrade to 1.2.2. RHBZ#1996619
|
|
|
790dc5 |
|
|
|
790dc5 |
* Thu Nov 25 2021 Gris Ge <fge@redhat.com> - 1.2.1-1
|
|
|
790dc5 |
- Upgrade to 1.2.1. RHBZ#1996619
|
|
|
790dc5 |
|
|
|
790dc5 |
* Wed Nov 24 2021 Gris Ge <fge@redhat.com> - 1.2.0-1
|
|
|
790dc5 |
- Upgrade to 1.2.0. RHBZ#1996619
|
|
|
790dc5 |
|
|
|
03a005 |
* Sat Jun 19 2021 Gris Ge <fge@redhat.com> - 1.1.1-1
|
|
|
03a005 |
- Upgrade to 1.1.1. RHBZ#1942459
|
|
|
03a005 |
|
|
|
03a005 |
* Fri Jun 18 2021 Gris Ge <fge@redhat.com> - 1.1.0-3
|
|
|
03a005 |
- Include SPEC information for bundled rust crates. RHBZ#1927789
|
|
|
03a005 |
|
|
|
03a005 |
* Tue Jun 08 2021 Gris Ge <fge@redhat.com> - 1.1.0-2
|
|
|
03a005 |
- Fix cli output, loopback interface and ethtool features.
|
|
|
03a005 |
|
|
|
03a005 |
* Tue May 25 2021 Wen Liang <wenliang@redhat.com> - 1.1.0-1
|
|
|
03a005 |
- Upgrade to 1.1.0. RHBZ#1942459
|
|
|
03a005 |
|
|
|
15fe26 |
* Thu Feb 18 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.2-4
|
|
|
15fe26 |
- Remove the varlink support. RHBZ#1926941
|
|
|
15fe26 |
|
|
|
15fe26 |
* Tue Feb 02 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.1-3
|
|
|
15fe26 |
- Add support to bond vlan+srcmac tx hashing option. RHBZ#1919986
|
|
|
15fe26 |
|
|
|
15fe26 |
* Fri Nov 13 2020 Gris Ge <fge@redhat.com> - 1.0.1-2
|
|
|
15fe26 |
- Upload new cargo vendor tarbal without crates used for windows platform.
|
|
|
15fe26 |
|
|
|
15fe26 |
* Tue Nov 10 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.1-1
|
|
|
15fe26 |
- Upgrade to 1.0.1
|
|
|
15fe26 |
|
|
|
15fe26 |
* Mon Nov 09 2020 Gris Ge <fge@redhat.com> - 1.0.0-1
|
|
|
15fe26 |
- Upgrade to 1.0.0
|
|
|
15fe26 |
|
|
|
15fe26 |
* Mon Oct 19 2020 Gris Ge <fge@redhat.com> - 0.6.1-2
|
|
|
15fe26 |
- Rebuild to load the compose settings.
|
|
|
15fe26 |
|
|
|
15fe26 |
* Tue Oct 13 2020 Gris Ge <fge@redhat.com> - 0.6.1-1
|
|
|
15fe26 |
- Upgrade to 0.6.1
|
|
|
15fe26 |
|
|
|
15fe26 |
* Fri Oct 09 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.6.0-2
|
|
|
15fe26 |
- VXLAN Python fix incorrect destination port
|
|
|
15fe26 |
|
|
|
15fe26 |
* Fri Oct 09 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.6.0-1
|
|
|
15fe26 |
- Upgrade to 0.6.0
|
|
|
15fe26 |
|
|
|
15fe26 |
* Sun Sep 20 2020 Gris Ge <fge@redhat.com> - 0.5.1-1
|
|
|
15fe26 |
- Upgrade to 0.5.1
|
|
|
15fe26 |
|
|
|
15fe26 |
* Thu Sep 17 2020 Gris Ge <fge@redhat.com> - 0.5.0-3
|
|
|
15fe26 |
- Trigger rebuild for CI gating
|
|
|
15fe26 |
|
|
|
15fe26 |
* Tue Sep 08 2020 Gris Ge <fge@redhat.com> - 0.5.0-2
|
|
|
15fe26 |
- Fix the python3-nispor requirement
|
|
|
15fe26 |
|
|
|
15fe26 |
* Fri Sep 04 2020 Gris Ge <fge@redhat.com> - 0.5.0-1
|
|
|
15fe26 |
- Upgrade to 0.5.0
|
|
|
15fe26 |
|
|
|
15fe26 |
* Sat Aug 29 2020 Gris Ge <fge@redhat.com> - 0.4.0-3
|
|
|
15fe26 |
- Fix the ldconfig
|
|
|
15fe26 |
|
|
|
15fe26 |
* Wed Aug 26 2020 Gris Ge <fge@redhat.com> - 0.4.0-2
|
|
|
15fe26 |
- Add ldconfig to post and postun scripts
|
|
|
15fe26 |
|
|
|
15fe26 |
* Wed Aug 26 2020 Gris Ge <fge@redhat.com> - 0.4.0-1
|
|
|
15fe26 |
- Upgrade to 0.4.0
|
|
|
15fe26 |
|
|
|
15fe26 |
* Mon Aug 17 2020 Gris Ge <fge@redhat.com> - 0.3.0-2
|
|
|
15fe26 |
- Fix python linux bridge vlan filtering
|
|
|
15fe26 |
|
|
|
15fe26 |
* Sun Aug 16 2020 Gris Ge <fge@redhat.com> - 0.3.0-1
|
|
|
15fe26 |
- Upgrade to 0.3.0
|
|
|
15fe26 |
|
|
|
15fe26 |
* Tue Aug 11 2020 Gris Ge <fge@redhat.com> - 0.2.0-1
|
|
|
15fe26 |
- Upgrade to 0.2.0
|
|
|
15fe26 |
|
|
|
15fe26 |
* Thu Jul 09 2020 Gris Ge <fge@redhat.com> - 0.1.1-2
|
|
|
15fe26 |
- Include license and documents
|
|
|
15fe26 |
|
|
|
15fe26 |
* Wed Jul 08 2020 Gris Ge <fge@redhat.com> - 0.1.1-1
|
|
|
15fe26 |
- Initial build.
|