|
 |
5ebd242 |
# Created by pyp2rpm-3.2.2
|
|
 |
5ebd242 |
%global pypi_name network-runner
|
|
 |
5ebd242 |
%global ansible_role network-runner
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
Name: python-%{pypi_name}
|
|
 |
ad9efad |
Version: 0.3.6
|
|
 |
994cdc8 |
Release: 8%{?dist}
|
|
 |
5ebd242 |
Summary: Abstraction and Python API for Ansible Networking
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
License: ASL 2.0
|
|
 |
5ebd242 |
URL: https://github.com/ansible-network/%{pypi_name}
|
|
 |
5ebd242 |
Source0: https://github.com/ansible-network/%{pypi_name}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
 |
5ebd242 |
BuildArch: noarch
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
BuildRequires: ansible >= 2.6
|
|
 |
5ebd242 |
BuildRequires: python3-devel
|
|
 |
5ebd242 |
BuildRequires: python3dist(ansible-runner)
|
|
 |
03701e3 |
BuildRequires: python3dist(mock)
|
|
 |
03701e3 |
BuildRequires: python3dist(pytest)
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%description
|
|
 |
5ebd242 |
Network Runner is a set of ansible roles and python library that
|
|
 |
5ebd242 |
abstracts Ansible Networking operations. It interfaces
|
|
 |
5ebd242 |
programatically through ansible-runner.
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%package -n python3-%{pypi_name}
|
|
 |
5ebd242 |
Summary: %{summary}
|
|
 |
5ebd242 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
Requires: python3dist(ansible-runner)
|
|
 |
5ebd242 |
# Python code cannot work without the ansible roles
|
|
 |
5ebd242 |
Requires: ansible-role-%{ansible_role} = %{version}-%{release}
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%description -n python3-%{pypi_name}
|
|
 |
5ebd242 |
Network Runner is a set of ansible roles and python library that
|
|
 |
5ebd242 |
abstracts Ansible Networking operations. It interfaces
|
|
 |
5ebd242 |
programatically through ansible-runner.
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%package -n ansible-role-%{ansible_role}
|
|
 |
5ebd242 |
Summary: Role for Python Network Runner Library
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
Requires: ansible >= 2.6
|
|
 |
5ebd242 |
# No cross sub-package dependency.
|
|
 |
5ebd242 |
# Can be installed and used without python package.
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%description -n ansible-role-%{ansible_role}
|
|
 |
5ebd242 |
Role for Python Network Runner Library
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%prep
|
|
 |
5ebd242 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%build
|
|
 |
5ebd242 |
%py3_build
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%install
|
|
 |
5ebd242 |
%py3_install
|
|
 |
5ebd242 |
|
|
 |
03701e3 |
%check
|
|
 |
03701e3 |
LANG=C.utf-8 %{__python3} -m pytest --ignore=build
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%files -n python3-%{pypi_name}
|
|
 |
5ebd242 |
%license LICENSE
|
|
 |
5ebd242 |
%doc README.rst
|
|
 |
5ebd242 |
%{python3_sitelib}/network_runner
|
|
 |
db75172 |
%{python3_sitelib}/network_runner-%{version}-py%{python3_version}.egg-info
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%files -n ansible-role-%{ansible_role}
|
|
 |
5ebd242 |
%license LICENSE
|
|
 |
5ebd242 |
%doc %{_sysconfdir}/ansible/roles/%{ansible_role}/README.md
|
|
 |
5ebd242 |
%{_sysconfdir}/ansible/roles/%{ansible_role}/
|
|
 |
5ebd242 |
|
|
 |
5ebd242 |
%changelog
|
|
 |
994cdc8 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-8
|
|
 |
994cdc8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
994cdc8 |
|
|
 |
0e91979 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-7
|
|
 |
0e91979 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
0e91979 |
|
|
 |
7e600ed |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 0.3.6-6
|
|
 |
7e600ed |
- Rebuilt for Python 3.11
|
|
 |
7e600ed |
|
|
 |
e8fa72f |
* Tue Feb 08 2022 Dan Radez <dradez@redhat.com> - 0.3.6-5
|
|
 |
e8fa72f |
- Don't remove egginfo
|
|
 |
e8fa72f |
|
|
 |
b93be6c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-4
|
|
 |
b93be6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
b93be6c |
|
|
 |
36361df |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-3
|
|
 |
36361df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
36361df |
|
|
 |
ad9efad |
* Wed Jun 16 2021 Dan Radez <dradez@redhat.com> - 0.3.6-1
|
|
 |
ad9efad |
- updating to 0.3.6
|
|
 |
ad9efad |
|
|
 |
416d834 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.4-2
|
|
 |
416d834 |
- Rebuilt for Python 3.10
|
|
 |
416d834 |
|
|
 |
e66f1d3 |
* Fri Apr 30 2021 Dan Radez <dradez@redhat.com> - 0.3.4-1
|
|
 |
e66f1d3 |
- update to 0.3.4
|
|
 |
e66f1d3 |
|
|
 |
9f8bc1b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
|
|
 |
9f8bc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
9f8bc1b |
|
|
 |
9222d02 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
 |
9222d02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
9222d02 |
|
|
 |
a7c377c |
* Fri Jun 26 2020 Dan Radez <dradez@redhat.com> - 0.2.2-1
|
|
 |
a7c377c |
- update to 0.2.2
|
|
 |
a7c377c |
|
|
 |
48f103d |
* Tue May 26 2020 Yatin Karel <ykarel@redhat.com> - 0.2.1-3
|
|
 |
48f103d |
- Fix 0.2.1 sources and cleanup old sources
|
|
 |
48f103d |
|
|
 |
d1a5e9f |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
|
|
 |
d1a5e9f |
- Rebuilt for Python 3.9
|
|
 |
d1a5e9f |
|
|
 |
da7678b |
* Tue Mar 24 2020 Dan Radez <dradez@redhat.com> - 0.2.1-1
|
|
 |
da7678b |
- Updated to 0.2.1
|
|
 |
da7678b |
|
|
 |
80d6444 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-4
|
|
 |
80d6444 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
80d6444 |
|
|
 |
62dc322 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-3
|
|
 |
62dc322 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
62dc322 |
|
|
 |
e4fb6ee |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-2
|
|
 |
e4fb6ee |
- Rebuilt for Python 3.8
|
|
 |
e4fb6ee |
|
|
 |
e30846a |
* Mon Aug 19 2019 Dan Radez <dradez@redhat.com> - 0.1.7-1
|
|
 |
e30846a |
- Updated to 0.1.7
|
|
 |
e30846a |
|
|
 |
2d46a2c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.6-3
|
|
 |
2d46a2c |
- Rebuilt for Python 3.8
|
|
 |
2d46a2c |
|
|
 |
ddc28fb |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-2
|
|
 |
ddc28fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
ddc28fb |
|
|
 |
537e940 |
* Tue May 07 2019 Dan Radez <dradez@redhat.com> - 0.1.6-1
|
|
 |
537e940 |
- Updated to 0.1.6
|
|
 |
537e940 |
|
|
 |
537e940 |
* Tue Apr 02 2019 Dan Radez <dradez@redhat.com> - 0.1.5-1
|
|
 |
03701e3 |
- Updated to 0.1.5
|
|
 |
03701e3 |
- added %check
|
|
 |
537e940 |
|
|
 |
5ebd242 |
* Wed Mar 20 2019 Dan Radez <dradez@redhat.com> - 0.1.1-1
|
|
 |
5ebd242 |
- Initial package.
|