Blame SPECS/nispor.spec

571257
Name:           nispor
00a3a0
Version:        1.2.10
afa7b3
Release:        1%{?dist}
571257
Summary:        API for network status querying
571257
License:        ASL 2.0
571257
URL:            https://github.com/nispor/nispor
571257
Source:         https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
09dbfa
Source1:        https://github.com/nispor/nispor/releases/download/v%{version}/nispor-vendor-%{version}.tar.xz
571257
BuildRequires:  pkg-config
571257
BuildRequires:  python3-devel
571257
BuildRequires:  rust-toolset
571257
BuildRequires:  systemd-rpm-macros
571257
BuildRequires:  systemd-devel
571257
09dbfa
Provides: bundled(crate(aho-corasick)) = 0.7.18
09dbfa
Provides: bundled(crate(ansi_term)) = 0.12.1
e8cd94
Provides: bundled(crate(anyhow)) = 1.0.58
afa7b3
Provides: bundled(crate(atty)) = 0.2.14
09dbfa
Provides: bundled(crate(autocfg)) = 1.1.0
09dbfa
Provides: bundled(crate(bitflags)) = 1.3.2
09dbfa
Provides: bundled(crate(byteorder)) = 1.4.3
09dbfa
Provides: bundled(crate(bytes)) = 1.1.0
afa7b3
Provides: bundled(crate(cfg-if)) = 1.0.0
e8cd94
Provides: bundled(crate(clap)) = 3.2.6
e8cd94
Provides: bundled(crate(clap_lex)) = 0.2.3
e8cd94
Provides: bundled(crate(ctor)) = 0.1.22
09dbfa
Provides: bundled(crate(diff)) = 0.1.12
09dbfa
Provides: bundled(crate(env_logger)) = 0.9.0
e8cd94
Provides: bundled(crate(ethtool)) = 0.2.3
09dbfa
Provides: bundled(crate(futures)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-channel)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-core)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-executor)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-io)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-macro)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-sink)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-task)) = 0.3.21
09dbfa
Provides: bundled(crate(futures-util)) = 0.3.21
e8cd94
Provides: bundled(crate(genetlink)) = 0.2.3
e8cd94
Provides: bundled(crate(hashbrown)) = 0.12.1
09dbfa
Provides: bundled(crate(hermit-abi)) = 0.1.19
afa7b3
Provides: bundled(crate(humantime)) = 2.1.0
e8cd94
Provides: bundled(crate(indexmap)) = 1.9.1
e8cd94
Provides: bundled(crate(itoa)) = 1.0.2
e8cd94
Provides: bundled(crate(libc)) = 0.2.126
09dbfa
Provides: bundled(crate(linked-hash-map)) = 0.5.4
e8cd94
Provides: bundled(crate(log)) = 0.4.17
e8cd94
Provides: bundled(crate(memchr)) = 2.5.0
e8cd94
Provides: bundled(crate(mio)) = 0.8.4
e8cd94
Provides: bundled(crate(mptcp-pm)) = 0.1.1
09dbfa
Provides: bundled(crate(netlink-packet-core)) = 0.4.2
e8cd94
Provides: bundled(crate(netlink-packet-generic)) = 0.3.1
e8cd94
Provides: bundled(crate(netlink-packet-route)) = 0.12.0
09dbfa
Provides: bundled(crate(netlink-packet-utils)) = 0.5.1
e8cd94
Provides: bundled(crate(netlink-proto)) = 0.10.0
e8cd94
Provides: bundled(crate(netlink-sys)) = 0.8.3
e8cd94
Provides: bundled(crate(nix)) = 0.24.1
e8cd94
Provides: bundled(crate(once_cell)) = 1.12.0
e8cd94
Provides: bundled(crate(os_str_bytes)) = 6.1.0
09dbfa
Provides: bundled(crate(output_vt100)) = 0.1.3
e8cd94
Provides: bundled(crate(paste)) = 1.0.7
e8cd94
Provides: bundled(crate(pin-project-lite)) = 0.2.9
afa7b3
Provides: bundled(crate(pin-utils)) = 0.1.0
e8cd94
Provides: bundled(crate(pretty_assertions)) = 1.2.1
e8cd94
Provides: bundled(crate(proc-macro2)) = 1.0.40
e8cd94
Provides: bundled(crate(quote)) = 1.0.20
e8cd94
Provides: bundled(crate(regex)) = 1.5.6
e8cd94
Provides: bundled(crate(regex-syntax)) = 0.6.26
e8cd94
Provides: bundled(crate(rtnetlink)) = 0.10.1
e8cd94
Provides: bundled(crate(ryu)) = 1.0.10
e8cd94
Provides: bundled(crate(serde)) = 1.0.137
e8cd94
Provides: bundled(crate(serde_derive)) = 1.0.137
e8cd94
Provides: bundled(crate(serde_json)) = 1.0.81
e8cd94
Provides: bundled(crate(serde_yaml)) = 0.8.24
e8cd94
Provides: bundled(crate(slab)) = 0.4.6
09dbfa
Provides: bundled(crate(socket2)) = 0.4.4
09dbfa
Provides: bundled(crate(strsim)) = 0.10.0
e8cd94
Provides: bundled(crate(syn)) = 1.0.98
09dbfa
Provides: bundled(crate(termcolor)) = 1.1.3
09dbfa
Provides: bundled(crate(textwrap)) = 0.15.0
e8cd94
Provides: bundled(crate(thiserror)) = 1.0.31
e8cd94
Provides: bundled(crate(thiserror-impl)) = 1.0.31
e8cd94
Provides: bundled(crate(tokio)) = 1.19.2
e8cd94
Provides: bundled(crate(tokio-macros)) = 1.8.0
e8cd94
Provides: bundled(crate(unicode-ident)) = 1.0.1
09dbfa
Provides: bundled(crate(wasi)) = 0.11.0
afa7b3
Provides: bundled(crate(winapi)) = 0.3.9
afa7b3
Provides: bundled(crate(winapi-i686-pc-windows-gnu)) = 0.4.0
afa7b3
Provides: bundled(crate(winapi-util)) = 0.1.5
afa7b3
Provides: bundled(crate(winapi-x86_64-pc-windows-gnu)) = 0.4.0
e8cd94
Provides: bundled(crate(windows-sys)) = 0.36.1
e8cd94
Provides: bundled(crate(windows_aarch64_msvc)) = 0.36.1
e8cd94
Provides: bundled(crate(windows_i686_gnu)) = 0.36.1
e8cd94
Provides: bundled(crate(windows_i686_msvc)) = 0.36.1
e8cd94
Provides: bundled(crate(windows_x86_64_gnu)) = 0.36.1
e8cd94
Provides: bundled(crate(windows_x86_64_msvc)) = 0.36.1
09dbfa
Provides: bundled(crate(yaml-rust)) = 0.4.5
afa7b3
571257
%description
571257
Unified interface for Linux network state querying.
571257
571257
%package -n     python3-%{name}
571257
Summary:        %{summary}
571257
Requires:       nispor = %{?epoch:%{epoch}:}%{version}-%{release}
571257
BuildArch:      noarch
571257
571257
%description -n python3-%{name}
571257
571257
This package contains python3 binding of %{name}.
571257
571257
%package        devel
571257
Summary:        %{summary}
571257
Requires:       nispor%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
571257
571257
%description devel
571257
571257
This package contains C binding of %{name}.
571257
571257
%prep
571257
%autosetup -p1
571257
571257
# Source1 is vendored dependencies
571257
%cargo_prep -V 1
571257
571257
# The cargo_prep will create `.cargo/config` which take precedence over
571257
# `.cargo/config.toml` shipped by upstream which fix the SONAME of cdylib.
571257
# To workaround that, merge upstream rustflags into cargo_prep created one.
571257
_FLAGS=`sed -ne 's/rustflags = "\(.\+\)"/\1/p' .cargo/config.toml`
571257
sed -i -e "s/rustflags = \[\(.\+\), \]$/rustflags = [\1, \"$_FLAGS\"]/" \
571257
    .cargo/config
571257
571257
%build
571257
make
571257
pushd src/python
571257
%py3_build
571257
popd
571257
571257
%post
571257
/sbin/ldconfig
571257
571257
%postun
571257
/sbin/ldconfig
571257
571257
%install
571257
env SKIP_PYTHON_INSTALL=1 PREFIX=%{_prefix} LIBDIR=%{_libdir} %make_install
571257
571257
pushd src/python
571257
%py3_install
571257
popd
571257
571257
%files
571257
%doc AUTHORS CHANGELOG DEVEL.md README.md
571257
%license LICENSE
571257
%{_bindir}/npc
571257
%{_libdir}/libnispor.so.*
571257
571257
%files -n       python3-%{name}
571257
%license LICENSE
571257
%{python3_sitelib}/nispor*
571257
571257
%files devel
571257
%license LICENSE
571257
%{_libdir}/libnispor.so
571257
%{_includedir}/nispor.h
d15622
%{_libdir}/pkgconfig/nispor.pc
571257
571257
%changelog
00a3a0
* Thu Feb 16 2023 Gris Ge <fge@redhat.com> - 1.2.10-1
00a3a0
- Upgrade to 1.2.10. RHBZ#2153166
00a3a0
e8cd94
* Thu Dec 15 2022 Gris Ge <fge@redhat.com> - 1.2.9-1
e8cd94
- Upgrade to 1.2.9. RHBZ#2153166
e8cd94
09dbfa
* Tue Jul 26 2022 Gris Ge <fge@redhat.com> - 1.2.7-1
09dbfa
- Upgrade to 1.2.7. RHBZ#2064295
09dbfa
09dbfa
* Tue Apr 12 2022 Gris Ge <fge@redhat.com> - 1.2.5-1
09dbfa
- Upgrade to 1.2.5. RHBZ#2064295
09dbfa
09dbfa
* Tue Mar 15 2022 Gris Ge <fge@redhat.com> - 1.2.4-1
09dbfa
- Upgrade to 1.2.4. RHBZ#2064295
09dbfa
0f9589
* Thu Jan 13 2022  - 1.2.3-1
0f9589
- Update to 1.2.3. RHBZ#1996619
0f9589
0f9589
* Fri Jan 07 2022 Gris Ge <fge@redhat.com> - 1.2.2-2
0f9589
- Fix bridge vlan filtering on i40e. RHBZ#2026621
0f9589
f2818b
* Tue Nov 30 2021 Gris Ge <fge@redhat.com> - 1.2.2-1
f2818b
- Upgrade to 1.2.2. RHBZ#1996619
f2818b
f2818b
* Thu Nov 25 2021 Gris Ge <fge@redhat.com> - 1.2.1-1
f2818b
- Upgrade to 1.2.1. RHBZ#1996619
f2818b
f2818b
* Wed Nov 24 2021 Gris Ge <fge@redhat.com> - 1.2.0-1
f2818b
- Upgrade to 1.2.0. RHBZ#1996619
f2818b
afa7b3
* Sat Jun 19 2021 Gris Ge <fge@redhat.com> - 1.1.1-1
afa7b3
- Upgrade to 1.1.1. RHBZ#1942459
afa7b3
afa7b3
* Fri Jun 18 2021 Gris Ge <fge@redhat.com> - 1.1.0-3
afa7b3
- Include SPEC information for bundled rust crates. RHBZ#1927789
afa7b3
8f0e8e
* Tue Jun 08 2021 Gris Ge <fge@redhat.com> - 1.1.0-2
8f0e8e
- Fix cli output, loopback interface and ethtool features.
8f0e8e
553378
* Tue May 25 2021 Wen Liang <wenliang@redhat.com> - 1.1.0-1
553378
- Upgrade to 1.1.0. RHBZ#1942459
553378
bb9fc5
* Thu Feb 18 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.2-4
bb9fc5
- Remove the varlink support. RHBZ#1926941
bb9fc5
e7993d
* Tue Feb 02 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.1-3
e7993d
- Add support to bond vlan+srcmac tx hashing option. RHBZ#1919986
e7993d
b468f1
* Fri Nov 13 2020 Gris Ge <fge@redhat.com> - 1.0.1-2
b468f1
- Upload new cargo vendor tarbal without crates used for windows platform.
b468f1
b468f1
* Tue Nov 10 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.1-1
b468f1
- Upgrade to 1.0.1
b468f1
d15622
* Mon Nov 09 2020 Gris Ge <fge@redhat.com> - 1.0.0-1
d15622
- Upgrade to 1.0.0
d15622
e58b2a
* Mon Oct 19 2020 Gris Ge <fge@redhat.com> - 0.6.1-2
e58b2a
- Rebuild to load the compose settings.
e58b2a
571257
* Tue Oct 13 2020 Gris Ge <fge@redhat.com> - 0.6.1-1
571257
- Upgrade to 0.6.1
571257
571257
* Fri Oct 09 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.6.0-2
571257
- VXLAN Python fix incorrect destination port
571257
571257
* Fri Oct 09 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.6.0-1
571257
- Upgrade to 0.6.0
571257
571257
* Sun Sep 20 2020 Gris Ge <fge@redhat.com> - 0.5.1-1
571257
- Upgrade to 0.5.1
571257
571257
* Thu Sep 17 2020 Gris Ge <fge@redhat.com> - 0.5.0-3
571257
- Trigger rebuild for CI gating
571257
571257
* Tue Sep 08 2020 Gris Ge <fge@redhat.com> - 0.5.0-2
571257
- Fix the python3-nispor requirement
571257
571257
* Fri Sep 04 2020 Gris Ge <fge@redhat.com> - 0.5.0-1
571257
- Upgrade to 0.5.0
571257
571257
* Sat Aug 29 2020 Gris Ge <fge@redhat.com> - 0.4.0-3
571257
- Fix the ldconfig
571257
571257
* Wed Aug 26 2020 Gris Ge <fge@redhat.com> - 0.4.0-2
571257
- Add ldconfig to post and postun scripts
571257
571257
* Wed Aug 26 2020 Gris Ge <fge@redhat.com> - 0.4.0-1
571257
- Upgrade to 0.4.0
571257
571257
* Mon Aug 17 2020 Gris Ge <fge@redhat.com> - 0.3.0-2
571257
- Fix python linux bridge vlan filtering
571257
571257
* Sun Aug 16 2020 Gris Ge <fge@redhat.com> - 0.3.0-1
571257
- Upgrade to 0.3.0
571257
571257
* Tue Aug 11 2020 Gris Ge <fge@redhat.com> - 0.2.0-1
571257
- Upgrade to 0.2.0
571257
571257
* Thu Jul 09 2020 Gris Ge <fge@redhat.com> - 0.1.1-2
571257
- Include license and documents
571257
571257
* Wed Jul 08 2020 Gris Ge <fge@redhat.com> - 0.1.1-1
571257
- Initial build.