File python-junos-eznc.spec of Package failed_python-junos-eznc
Name: python-junos-eznc
Version: 3.7.2
Release: 1%{?dist}
Summary: Python library for Junos automation
License: Apache-2.0
URL: https://github.com/Juniper/py-junos-eznc
Source0: https://files.pythonhosted.org/packages/source/p/python-junos-eznc/python-junos-eznc-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pytest
BuildRequires: git
BuildRequires: gcc
BuildRequires: rust
BuildRequires: cargo
BuildRequires: libffi-devel
BuildRequires: openssl-devel
BuildRequires: python3-rpm-macros
BuildRequires: apparmor-parser
Requires: python3-rpm-macros
Requires: python3-setuptools
Requires: python3-pytest
%description
Python library for Junos automation
%prep
%autosetup -n python-junos-eznc-%{version}
%build
%pyproject_build
%install
%pyproject_install
%check
python3 -m pytest -q
%files
%license LICENSE
%doc README.rst
%{python3_sitelib}/junos_eznc
%changelog